skill-creator
它能做什么
这个技能帮助你构建和改进 AI 智能体的技能,技能就是一组说明文件夹。适用于想把重复工作流程变成可复用技能的人。
适用场景
- ✓当你想把重复的工作流程变成可复用的技能时。
- ✓当现有技能从不触发或触发太频繁时。
- ✓当你想在分享技能之前检查技能文件夹时。
技能链接
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/skill-creator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我创建一个技能,让我的智能体根据我的笔记撰写每周进度报告。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先确定使用场景、触发用语和步骤,然后编写说明文件以及所需的辅助文件。它会让主文件保持简短,只在需要时才加载额外文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Skill Creator
A skill is a folder that teaches an agent how to handle a specific task or workflow:
your-skill-name/
├── SKILL.md # Required — YAML frontmatter + Markdown instructions
├── scripts/ # Optional — executable code (Python, Bash, ...)
├── references/ # Optional — docs loaded only when needed
└── assets/ # Optional — templates, fonts, icons used in output
Skills rely on progressive disclosure: the frontmatter is always in context (so it decides when the skill loads), the SKILL.md body loads when relevant, and linked files load only on demand. Keep each level as small as it can be.
Workflow: Creating a New Skill
Step 1: Define 2-3 concrete use cases
Before writing anything, pin down with the user:
- What does the user want to accomplish? (outcome, not feature)
- What triggers it? Collect literal phrases users would say.
- What steps does the workflow require, in order?
- Which tools are needed (built-in, scripts, MCP servers)?
- What domain knowledge or best practices must be embedded?
Write each use case as: Trigger → Steps → Result. If the user is vague, propose use cases and confirm rather than guessing silently.
Identify the category — it shapes the structure:
- Document & asset creation — embed style guides, templates, quality checklists.
- Workflow automation — step-by-step process with validation gates.
- MCP enhancement — orchestrate MCP tool calls in sequence with domain expertise.
Step 2: Plan the folder structure
- Folder name: kebab-case only (
my-skill— no spaces, capitals, or underscores) and it should match the frontmattername. SKILL.mdmust be named exactly that, case-sensitive.- Never put a
README.mdinside the skill folder. - Keep SKILL.md under ~5,000 words; move detail to
references/and link to it. - For critical validations, prefer a bundled script over prose — code is deterministic, language interpretation isn't.
Step 3: Write the frontmatter
The frontmatter is the single most important part — it alone decides whether the skill ever loads.
---
name: your-skill-name
description: [What it does] + [When to use it, with literal trigger phrases] + [negative triggers if needed]
---
Rules (hard requirements):
descriptionMUST state both WHAT the skill does and WHEN to use it, under 1024 characters.- Include specific phrases users would actually say, and file types if relevant.
- No XML angle brackets anywhere in frontmatter (it is injected into the system prompt).
namemust not use reserved prefixes ("claude", "anthropic").
Weak: description: Helps with projects.
Strong: description: Manages Linear sprint workflows including planning, task creation, and status tracking. Use when the user mentions "sprint", "Linear tasks", or asks to "create tickets".
Optional disable-model-invocation: true makes the skill user-only: the agent never sees it (no skill catalog entry, no skill_search hit, and the skill tool refuses it), while /skill-name still works for the user. Use it for a long or interrupting workflow whose timing the user should control — a multi-phase orchestration, a deploy, anything with side effects. Leave it off by default; a skill the agent cannot see is a skill it cannot offer. Keep the "only when the user asks" rule in the description and body as well, so the skill still behaves if the flag is ever removed.
For all optional fields (license, compatibility, metadata, allowed-tools) and more good/bad examples, read references/frontmatter.md.
Step 4: Write the instructions
Recommended body structure:
# Skill Name
## Instructions
### Step 1: [First major step]
Exact commands / tool calls, with expected output described.
## Examples
User says X → actions → result.
## Troubleshooting
Error → cause → fix.
Best practices:
- Be specific and actionable: give exact commands with flags and expected output, not vibes ("validate the data").
- Put critical instructions at the top; use
## Importantheaders for must-not-skip rules. - Include error handling for the failures users will actually hit.
- Reference bundled resources explicitly ("Before writing queries, read the API-patterns file in references/").
- Number steps that must happen in order; state data dependencies between steps.
For proven structural patterns (sequential orchestration, multi-MCP coordination, iterative refinement, context-aware tool selection, domai
常见问题
技能文件夹里有什么?
技能文件夹包含一个 SKILL.md 说明文件,还可以有可选的脚本、参考文件和素材。
它可以用于一般的提示词编写吗?
不可以。该技能说明不要把它用于一般的提示词编写。
技能如何知道什么时候加载?
它的简短描述和触发用语决定智能体何时加载它。
详情
作者的原始描述
Interactive guide for creating, reviewing, and improving agent skills (SKILL.md folders). Use when the user wants to build a new skill ('create a skill', 'make a skill for X', 'write a SKILL.md', 'turn this workflow into a skill'), review or improve an existing skill, fix a skill that never triggers or triggers too often, or validate a skill folder before sharing it. Do NOT use for general prompt writing, MCP server development, or editing arbitrary markdown files.
repo: XiaomiMiMo/MiMo-Code
热度
- GitHub 星标
- 14k
- 排名
- #11369
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
effect
14k帮你的智能体通过查看源代码和文档来回答关于 Effect TypeScript 框架的问题,而不是依赖记忆。
arxiv
14k帮你的智能体在 arXiv 上搜索、阅读、引用和跟踪学术论文,包括摘要、BibTeX 引用、PDF 下载和引用关系。
claude-code
14k帮你的智能体把编程任务交给 Claude Code 命令行工具,可以是一次性运行、交互式会话或后台任务。
codex
14k帮你的智能体在没有聊天窗口的情况下运行 OpenAI Codex 命令行工具,用于编程任务、脚本和自动化流程。