Agent skill

Agent Skill Creator

by XiaomiMiMo in XiaomiMiMo/MiMo-Code

Interactive guide for creating, reviewing and fixing agent skills (SKILL.md folders), covering structure, frontmatter rules, trigger phrases and validation before sharing.

MITAuto-check passedAgent Workflows

Install Agent Skill Creator

skills CLI
$ npx skills add XiaomiMiMo/MiMo-Code --skill skill-creator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install XiaomiMiMo/MiMo-Code skill-creator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/cli/src/skill/builtin/.bundle/skill-creator .claude/skills/skill-creator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
skill-creator
GitHub stars
14k
Token cost
~1.9k tokens
SKILL.md length
892 words
Files
5 (incl. scripts, references)
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Interactive guide for creating, reviewing and fixing agent skills (SKILL.md folders), covering structure, frontmatter rules, trigger phrases and validation before sharing.

  • Works in 6 steps: Define 2-3 concrete use cases → Plan the folder structure → Write the frontmatter → …
  • Building a new skill from a workflow you repeat
  • SKILL.md covers Workflow: Creating a New Skill, Workflow: Reviewing an… and Quick Checklist
  • Runs Python scripts from its folder; calls python

What it does

An interactive guide for building, reviewing and fixing agent skills, meaning folders with a SKILL.md file. It explains progressive disclosure: the frontmatter is always in context and decides when a skill loads, the body loads when relevant, and linked files load on demand, so each level should stay small. Creation starts by pinning down 2-3 concrete use cases with you, each written as trigger, steps and result, and sorting them into document and asset creation, workflow automation or MCP enhancement.

Folder rules are kebab-case names matching the frontmatter name, a file named exactly SKILL.md, no README inside the skill, and SKILL.md kept under about 5,000 words with detail moved to `references/`. Critical checks should be a bundled script rather than prose. The frontmatter description must say what the skill does and when to use it, with literal trigger phrases, under 1024 characters and with no XML angle brackets. Reference files cover frontmatter, patterns and testing, and `scripts/validate_skill.py` validates a folder before sharing. It is not for general prompt writing, MCP server development or editing arbitrary markdown.

When your agent uses it

  • Building a new skill from a workflow you repeat
  • Fixing a skill that never triggers or triggers too often
  • Validating a skill folder before sharing it

Example prompts

  • “Turn my release checklist into a skill.”
  • “My skill for PDF forms never triggers. Review its description and fix it.”
  • “Validate the skill folder in ./skills/csv-cleaner before I publish it.”

Requirements

  • Python, for the bundled validation script

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Define 2-3 concrete use cases
  2. Plan the folder structure
  3. Write the frontmatter
  4. Write the instructions
  5. Validate
  6. Test and iterate

What it can do on your machine

Read from SKILL.md and the folder at commit 6babeb0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent Skill Creator loads about 1.9k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 121 tokens; SKILL.md has 892 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~121
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from XiaomiMiMo/MiMo-Code at commit 6babeb0, republished under its MIT licence (© XiaomiMiMo). 892 words, ~1,923 tokens.

Download SKILL.mdSave it as .claude/skills/skill-creator/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
skill-creator
description
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.
version
1.0.0
license
MIT
platforms
linux, macos, windows

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:

  1. Document & asset creation — embed style guides, templates, quality checklists.
  2. Workflow automation — step-by-step process with validation gates.
  3. 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 frontmatter name.
  • SKILL.md must be named exactly that, case-sensitive.
  • Never put a README.md inside 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.

yaml
---
name: your-skill-name
description: [What it does] + [When to use it, with literal trigger phrases] + [negative triggers if needed]
---

Rules (hard requirements):

  • description MUST 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).
  • name must 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:

markdown
# 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 ## Important headers 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, domain-specific intelligence), read references/patterns.md.

Show full SKILL.md (336 more words)Show less
Step 5: Validate

Run the bundled validator on the skill folder:

bash
python scripts/validate_skill.py /path/to/your-skill-name

It checks naming, frontmatter format and length, forbidden content, missing linked files, and body size. Fix every ERROR; treat WARNINGs as review prompts. Expected output on success: PASS with 0 errors.

Step 6: Test and iterate

Iterate on a single challenging task until it succeeds, then extract the winning approach into the skill — this gives faster signal than broad testing. Then cover:

  1. Triggering: obvious phrasing loads it, paraphrases load it, unrelated queries don't.
  2. Function: outputs correct, tool calls succeed, edge cases handled.
  3. Baseline comparison: fewer corrections / tool calls / tokens than without the skill.

Debugging trick: ask the agent "When would you use the [name] skill?" — it will paraphrase the description back; fix what's missing.

Full test-case templates and iteration signals are in references/testing.md.

Workflow: Reviewing an Existing Skill

When asked to review or improve a skill:

  1. Read its SKILL.md and run python scripts/validate_skill.py <folder>.
  2. Diagnose against the common failure modes:
    • Never triggers → description too generic or missing user-facing trigger phrases. Rewrite with literal phrases and keywords.
    • Triggers too often → add negative triggers ("Do NOT use for...") and narrow the scope.
    • Loads but instructions ignored → instructions too verbose, buried, or ambiguous. Move critical rules to the top, replace prose validations with a script.
    • Slow / degraded responses → SKILL.md too large; move detail into references/.
  3. Propose concrete edits (before/after for the description), not general advice.
  4. If the user brings failure examples from real sessions, encode the fix as an explicit instruction or troubleshooting entry — that is the highest-value iteration loop.

Quick Checklist

Before delivering a skill, verify:

  • Folder is kebab-case and matches frontmatter name
  • SKILL.md exact filename; no README.md inside the folder
  • Frontmatter has --- delimiters, name, and a WHAT+WHEN description under 1024 chars
  • No XML angle brackets in frontmatter
  • Instructions specific and actionable, with examples and error handling
  • Every referenced scripts/, references/, assets/ file actually exists
  • validate_skill.py passes with 0 errors
  • Triggering tested: fires on target phrasings, silent on unrelated ones

© XiaomiMiMo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in packages/cli/src/skill/builtin/.bundle/skill-creator of XiaomiMiMo/MiMo-Code.

  • SKILL.md
  • references/frontmatter.md
  • references/patterns.md
  • references/testing.md
  • scripts/validate_skill.py

Open the folder on GitHubat commit 6babeb0

Compare with similar skills

Agent Skill Creator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent Skill Creator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Skill Creator this skillXiaomiMiMo/MiMo-Code14k—~1.9kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79489 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k10 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official37k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official37k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    794 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 10 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    37k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    37k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    65k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from XiaomiMiMo/MiMo-Code

All 22 skills in this repo
  • Paper Research on arXiv

    XiaomiMiMo/MiMo-Code

    Searches arXiv, fetches metadata, generates BibTeX, downloads PDFs and finds citations and related papers using a bundled Python script.

    14k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • DOCX Toolkit

    XiaomiMiMo/MiMo-Code

    Produces, edits and reads Microsoft Word files through python-docx and lxml, with a decision table for picking the lightest workflow for a given task.

    14k GitHub stars~2.4k tokensUpdated 4 days ago
    Auto-check passed
  • Drive MiMo Code

    XiaomiMiMo/MiMo-Code

    Lets one MiMoCode process drive another, headless with JSON events or interactively through tmux, to test behavior and visual regressions with parseable evidence.

    14k GitHub stars~3.9k tokensUpdated 4 days ago
    Auto-check passed
  • PDF Toolkit

    XiaomiMiMo/MiMo-Code

    Reads, transforms, composes and fills PDFs with Python scripts for extraction, merging, watermarking, encryption, OCR and form filling.

    14k GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed
  • XLSX Spreadsheet Toolkit

    XiaomiMiMo/MiMo-Code

    Builds, edits, cleans, recalculates and reads Excel workbooks and CSV files with openpyxl and pandas, plus LibreOffice for recalculation and PDF export.

    14k GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check passed
  • Claude Code Delegation

    XiaomiMiMo/MiMo-Code

    Hands coding work to the Claude Code CLI from the terminal in print, interactive tmux or background mode, only when you explicitly ask for Claude Code.

    14k GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Agent Skill Creator

What does Agent Skill Creator do?

Interactive guide for creating, reviewing and fixing agent skills (SKILL.md folders), covering structure, frontmatter rules, trigger phrases and validation before sharing. md file. It explains progressive disclosure: the frontmatter is always in context and decides when a skill loads, the body loads when relevant, and linked files load on demand, so each level should stay small.

When should I use Agent Skill Creator?

Agent Skill Creator fits situations like: building a new skill from a workflow you repeat; fixing a skill that never triggers or triggers too often; validating a skill folder before sharing it.

How do I install Agent Skill Creator in Claude Code?

Run `npx skills add XiaomiMiMo/MiMo-Code --skill skill-creator -a claude-code`. Or copy the skill folder (packages/cli/src/skill/builtin/.bundle/skill-creator in XiaomiMiMo/MiMo-Code) into .claude/skills/skill-creator in your project. Claude Code loads it when a task matches its description.

How do I install Agent Skill Creator in Codex?

Run `npx skills add XiaomiMiMo/MiMo-Code --skill skill-creator -a codex`. Or copy the skill folder (packages/cli/src/skill/builtin/.bundle/skill-creator in XiaomiMiMo/MiMo-Code) into .agents/skills/skill-creator in your project. Codex loads it when a task matches its description.

Can I use Agent Skill Creator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add XiaomiMiMo/MiMo-Code --skill skill-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-creator, .gemini/skills/skill-creator, .github/skills/skill-creator and .opencode/skills/skill-creator in your project.

What does Agent Skill Creator need to run?

Going by SKILL.md and its folder, Agent Skill Creator needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python, for the bundled validation script.

Does Agent Skill Creator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agent Skill Creator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Agent Skill Creator use?

Agent Skill Creator is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent Skill Creator use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to Agent Skill Creator?

Skills that share tags, products or a category with Agent Skill Creator: Skill Creator (Azure/azqr, 794 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 37k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Skill Creator?

XiaomiMiMo (a GitHub organization) maintains it in XiaomiMiMo/MiMo-Code, which has 13,601 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 3, 2026.

Source: XiaomiMiMo/MiMo-Code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.