skills_creator
- Repo stars 254
- Author updated Live
- Author repo akg
- Domain
- AI
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @mindspore-ai · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: skills_creator
description: | 当用户完成复杂的、有价值的任务后,这些经验通常只存在于对话历史中。下次遇到类似问题时,需要重新探索,浪费时间和精力。需要将对话中的知识提取为可复用的 skill。 当以下任一条件满足时,调…
category: ai
runtime: no special runtime
---
# skills_creator output preview
## PART A: Task fit
- Use case: | 当用户完成复杂的、有价值的任务后,这些经验通常只存在于对话历史中。下次遇到类似问题时,需要重新探索,浪费时间和精力。需要将对话中的知识提取为可复用的 skill。 当以下任一条件满足时,调用此技能: 创建符合 OpenCode 规范的 SKILL.md 文件: <精确描述,包括:(1) 具体用例,(2) 触发条件如具体错误信息或症状, runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Problem / Context / Trigger Conditions / Solution” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “| 当用户完成复杂的、有价值的任务后,这些经验通常只存在于对话历史中。下次遇到类似问题时,需要重新探索,浪费时间和精力。需要将对话中的知识提取为可复用的 skill。 当以下任一条件满足时,调用此技能: 创建符合 OpenCode 规范的 SKILL.md 文件: <精确描述,包括:(1) 具体用例,(2) 触发条件如具体错误信息或症状, runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “Problem / Context / Trigger Conditions / Solution” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “Problem / Context / Trigger Conditions / Solution”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: skills_creator
description: | 当用户完成复杂的、有价值的任务后,这些经验通常只存在于对话历史中。下次遇到类似问题时,需要重新探索,浪费时间和精力。需要将对话中的知识提取为可复用的 skill。 当以下任一条件满足时,调…
category: ai
source: mindspore-ai/akg
---
# skills_creator
## When to use
- | 当用户完成复杂的、有价值的任务后,这些经验通常只存在于对话历史中。下次遇到类似问题时,需要重新探索,浪费时间和精力。需要将对话中的知识提取为可复用的 skill。 当以下任一条件满足时,调用此技能: 创建符合 OpenCode 规范…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Problem / Context / Trigger Conditions / Solution” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "skills_creator" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Problem / Context / Trigger Conditions / Solution
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Skills 创建器
Problem
当用户完成复杂的、有价值的任务后,这些经验通常只存在于对话历史中。下次遇到类似问题时,需要重新探索,浪费时间和精力。需要将对话中的知识提取为可复用的 skill。
Context / Trigger Conditions
当以下任一条件满足时,调用此技能:
- 用户明确要求"凝练当前上下文"、"总结上下文为skills"或"skills summary"
- 用户说"任务成功"并希望保存经验
- 用户询问 "available skills" 后希望创建新技能
- 完成了复杂的调试任务,发现了非显而易见的解决方案
- 通过试错发现了有效的解决方案
Solution
Step 1: 分析对话
从对话历史中提取以下信息:
- 原始目标:用户最初希望完成什么任务
- 核心挑战:任务中的关键难点和决策点
- 解决步骤:抽象出可泛化的行动序列
- 避坑指南:常见的错误或陷阱
- 所需工具:完成任务需要的工具或资源
Step 2: 评估知识价值
在创建 skill 前验证:
- 可复用性:这个知识对未来任务有帮助吗?(不仅是当前案例)
- 非平凡性:这个知识需要发现,而不是简单的文档查阅?
- 具体性:能否描述具体的触发条件和解决方案?
- 已验证:解决方案是否真正有效?(不仅是理论上的)
Step 3: 生成技能文档
创建符合 OpenCode 规范的 SKILL.md 文件:
---
name: <技能名称>
description: |
<精确描述,包括:(1) 具体用例,(2) 触发条件如具体错误信息或症状,
(3) 解决的问题。足够具体以便语义匹配能准确检索
(4) 限制字符长度为1-1024>
version: 1.0.0
date: <YYYY-MM-DD>
---
# <技能名称>
## Problem
<该技能解决的问题清晰描述>
## Context / Trigger Conditions
<何时使用此技能?包含具体的错误信息、症状或场景>
## Solution
<逐步解决方案或要应用的知识>
## Verification
<如何验证解决方案有效>
## Example
<应用此技能的具体示例>
## Notes
<任何注意事项、边缘情况或相关考虑>
## References
<可选:链接到官方文档、文章或参考资料>
Step 4: 保存技能
将新技能保存到适当位置:
- 项目级技能:
.opencode/skills/[skill-name]/SKILL.md - 用户级技能:
~/.opencode/skills/[skill-name]/SKILL.md
Verification
创建 skill 后,确认以下检查项:
- Description 包含具体的触发条件
- Solution 已验证有效
- 内容足够具体以便可执行
- 内容足够通用以便可复用
- 不包含敏感信息(凭证、内部 URL 等)
- 不重复现有文档或技能
Notes
- 技能名称格式:仅使用小写字母、数字、连字符(kebab-case)
- description 是关键字段,要包含具体症状和上下文标记
- 不是每个任务都需要创建 skill,只提取真正有价值的知识
- 建议使用中文编写内容(除非用户指定其他语言)
Decide Fit First
Design Intent
How To Use It
Boundaries And Review