agentleFS
GeekFamilyCorpGeekFamilyCorp/TricorderKit/skills/skill-creator/SKILL.md

skill-creator

Skill32 starsChanged 15 days agoMITView on GitHub

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

189 other projects use a version of this, 60 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, mermaid-diagram-generator and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • shalombSkill

    mermaid-diagram-generator

    Guide on creating and editing Mermaid charts safely. Use when asked to draw a diagram, flowchart, or architecture chart. Triggers on: 'mermaid', 'diagram', 'flowchart', 'visualize'.

    Also in 5 projects that use this

  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • Liang-MHSkill

    stock_analysis

    获取 A 股、基金和港股的实时行情和技术分析数据

    Also in 5 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • +6 more from naman10parikh

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 13 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write a draft of the skill

    line 13
  2. Distinctive:

    Create a few test prompts and run claude-with-access-to-the-skill on them

    line 14
  3. Very specific:

    Use the eval-viewer/generate_review.py script to show the user the results, and also let them look at the quantitative metrics

    line 17
  4. Distinctive:

    When should this skill trigger?

    line 48
  5. Distinctive:

    Should we set up test cases to verify the skill works?

    line 50
  6. Very specific:

    Keep SKILL.md under 500 lines

    line 88
  7. Distinctive:

    Run each through Claude with the skill active

    line 107
  8. Distinctive:

    Check against success criteria programmatically where possible

    line 108
  9. Distinctive:

    Ask them to rate or rank

    line 115
  10. Distinctive:

    Update the skill accordingly

    line 117
  11. Distinctive:

    After the skill body is stable, run the description optimizer to improve triggering accuracy:

    line 123
  12. Distinctive:

    Test triggering rate on both sets

    line 127
  13. Distinctive:

    When the user provides an existing skill to improve:

    line 139
  14. Very specific:

    Read the current SKILL.md

    line 141
  15. Distinctive:

    Run evals on the specific failure modes

    line 144
  16. Distinctive:

    Update the changelog section

    line 146

“Common” is measured: kept by at least 6 in 10 of the 185 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Creator

A skill for creating new skills and iteratively improving them.

At a high level, the process of creating a skill goes like this:

  • Decide what you want the skill to do and roughly how it should do it
  • Write a draft of the skill
  • Create a few test prompts and run claude-with-access-to-the-skill on them
  • Help the user evaluate the results both qualitatively and quantitatively
    • While the runs happen in the background, draft some quantitative evals if there aren't any. Then explain them to the user.
    • Use the eval-viewer/generate_review.py script to show the user the results, and also let them look at the quantitative metrics
  • Rewrite the skill based on feedback from the user's evaluation of the results
  • Repeat until you're satisfied
  • Expand the test set and try again at larger scale

Your job when using this skill is to figure out where the user is in this process and then jump in and help them progress through these stages.

Of course, you should always be flexible and if the user is like "I don't need to run a bunch of evaluations, just vibe with me", you can do that instead.

Then after the skill is done, you can also run the skill description improver, which we have a whole separate script for, to optimize the triggering of the skill.


Communicating with the user

The skill creator is liable to be used by people across a wide range of familiarity with coding jargon. Pay attention to context cues to understand how to phrase your communication. In the default case:

  • "evaluation" and "benchmark" are borderline, but OK
  • for "JSON" and "assertion" you want to see serious cues from the user that they know what those things are before using them without explaining them

It's OK to briefly explain terms if you're in doubt.


Creating a skill

Capture Intent

Start by understanding the user's intent. The current conversation might already contain a workflow the user wants to capture (e.g., they say "turn this into a skill"). If so, extract answers from the conversation history first. The user may need to fill the gaps, and should confirm before proceeding.

  1. What should this skill enable Claude to do?
  2. When should this skill trigger? (what user phrases/contexts)
  3. What's the expected output format?
  4. Should we set up test cases to verify the skill works?

Interview and Research

Proactively ask questions about edge cases, input/output formats, example files, success criteria, and dependencies. Wait to write test prompts until you've got this part ironed out.

Write the SKILL.md

Based on the user interview, fill in these components:

  • name: Skill identifier
  • description: When to trigger, what it does. Include both what the skill does AND specific contexts for when to use it. Make descriptions a little "pushy" to combat undertriggering — e.g., "Make sure to use this skill whenever the user mentions X, even if they don't explicitly ask for it."
  • compatibility: Required tools, dependencies (optional, rarely needed)
  • the rest of the skill

Skill Writing Guide

Anatomy of a Skill

skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter (name, description required)
│   └── Markdown instructions
└── Bundled Resources (optional)
    ├── scripts/    - Executable code for deterministic/repetitive tasks
    ├── references/ - Docs loaded into context as needed
    └── assets/     - Files used in output (templates, icons, fonts)

Progressive Disclosure

Skills use a three-level loading system:

  1. Metadata (name + description) - Always in context (~100 words)
  2. SKILL.md body - In context whenever skill triggers (<500 lines ideal)
  3. Bundled resources - As needed (unlimited, scripts can execute without loading)

Key patterns:

  • Keep SKILL.md under 500 lines
  • Reference files clearly from SKILL.md with guidance on when to read them
  • For large reference files (>300 lines), include a table of contents

Running Evaluations

Test Prompt Structure

Each test case needs:

  • input: The user message that should trigger the skill
  • expected_behavior: What the skill should do (not exact wording)
  • success_criteria: Measurable checks (contains X, length Y, structure Z)

Quantitative Evals

For skills with verifiable outputs:

  1. Define 5-10 test prompts covering happy path + edge cases
  2. Run each through Claude with the skill active
  3. Check against success criteria programmatically where possible
  4. Track pass rate across iterations

Qualitative Review

For subjective outputs (writing style, tone, creativity):

  1. Show the user 3-5 examples side by side
  2. Ask them to rate or rank
  3. Identify patterns in what they prefer
  4. Update the skill accordingly

Skill Description Optimizer

After the skill body is stable, run the description optimizer to improve triggering accuracy:

  1. Generate 20 prompts that SHOULD trigger the skill
  2. Generate 20 prompts that should NOT trigger it
  3. Test triggering rate on both sets
  4. Iterate on the description until you hit >90% correct trigger rate

Focus on:

  • Specificity: broad descriptions cause false positives
  • Completeness: missing triggers cause false negatives
  • Exclusions: "Ne pas activer si" clauses prevent conflicts

Iterating on Existing Skills

When the user provides an existing skill to improve:

  1. Read the current SKILL.md
  2. Identify the main failure mode(s): undertriggering, overtriggering, wrong output, missing edge cases
  3. Propose targeted fixes — don't rewrite everything at once
  4. Run evals on the specific failure modes
  5. Validate the fix didn't break existing passing cases
  6. Update the changelog section

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.