agentleFS
mp-web3mp-web3/claude-starter-kit/skills/create-skill/SKILL.md

create-skill

Skill108 starsChanged 9 months agoMITView on GitHub

Create a new Claude Code skill. Use when the user wants to build a new slash-command skill, extend Claude with a specialized workflow, or asks to create/add a skill. Handles scaffolding, SKILL.md authoring, and validation.

154 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cost-reducer, migrate-to-skills 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.
  • huyvpSkill

    cost-reducer

    Reduce cloud, infrastructure, and operational costs while maintaining performance. Use when writing database queries, configuring cloud resources, optimizing bundles, setting up caching, choosing between services, sizing instances, configuring CDN, managing storage, or reviewing code for cost inefficiencies. Covers AWS/GCP/Vercel pricing, database optimization, serverless tuning, image pipelines, observability costs, and FinOps practices.

    Also in 11 projects that use this

  • 32103210Skill

    migrate-to-skills

    Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.

    Also in 7 projects that use this

  • 32103210Skill

    update-cursor-settings

    Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.

    Also in 7 projects that use this

  • PandelisZSkill

    update-cli-config

    View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.

    Also in 6 projects that use this

  • yawningwhaleAISkill

    build-premium-website

    Build a premium, animated marketing website (React + Vite + Tailwind + GSAP) for any industry. Use when the user asks to "build a website", "make a landing page for [business]", "build a marketing site", or wants a high-end animated company website. Adapts color, copy, services, and signature animation to the industry.

    Also in 8 projects that use this

  • yawningwhaleAISkill

    instantly-campaign

    Create a new Instantly cold-email campaign in the proven 5-email structure of the user's top-performing campaign (~16% reply rate). Use when the user wants to launch a new outbound campaign, write a cold email sequence, create an Instantly campaign, draft outreach for a new service or niche, or set up a sales sequence.

    Also in 7 projects that use this

  • +3 more from yawningwhaleAI

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 143 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    First: Read LEARNINGS.md in this skill's directory.

    line 13
  2. Very specific:

    If $ARGUMENTS provides a skill name and description, proceed.

    line 21
  3. Distinctive:

    When should it trigger? (what would the user say/do?)

    line 24
  4. Distinctive:

    Keep questions to one message.

    line 27
  5. Distinctive:

    Run the init script:

    line 31
  6. Distinctive:

    Start with "Read LEARNINGS.md" instruction

    line 54
  7. Very specific:

    Use $ARGUMENTS placeholder for user input

    line 55
  8. Very specific:

    Keep under 500 lines. Split longer content into references/ files.

    line 57
  9. Distinctive:

    Start with an empty learnings file.

    line 80
  10. Distinctive:

    Delete any empty dirs the init script created that aren't needed.

    line 94
  11. Distinctive:

    Add the new skill to the CLAUDE.md Available Skills section.

    line 108
  12. Very specific:

    No hardcoded absolute paths except ~/claude-assistant/ and ~/.

    line 115
  13. Distinctive:

    Test the skill by running it once before reporting done.

    line 116

“Common” is measured: kept by at least 6 in 10 of the 143 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

/create-skill — Skill Builder

First: Read LEARNINGS.md in this skill's directory.

Arguments: $ARGUMENTS

Process

Step 1: Understand

If $ARGUMENTS provides a skill name and description, proceed. Otherwise ask:

  1. What should this skill do? (one sentence)
  2. When should it trigger? (what would the user say/do?)
  3. What resources does it need? (scripts, reference docs, templates?)

Keep questions to one message. Don't over-interview.

Step 2: Scaffold

Run the init script:

python3 .claude/skills/create-skill/scripts/init_skill.py <skill-name> --path .claude/skills

This creates the directory with template files. If --path is omitted, defaults to .claude/skills in the current workspace.

Step 3: Write SKILL.md

Replace the template content. Follow these rules:

Frontmatter (required):

  • name: kebab-case, max 64 chars. Becomes the /slash-command.
  • description: Comprehensive. This is how Claude decides when to activate. Include trigger phrases, contexts, use cases.

Frontmatter (optional, add only when needed):

  • allowed-tools: Restrict tool access (e.g., Read, Grep, Glob, Bash)
  • argument-hint: Autocomplete hint (e.g., [filename], [--dry-run])
  • fork: true: Run as sub-agent (use for data-heavy skills that would bloat main context)
  • disable-model-invocation: true: Manual /name only, no auto-trigger

Body rules:

  • Start with "Read LEARNINGS.md" instruction
  • Use $ARGUMENTS placeholder for user input
  • Imperative form ("Run the script", not "You should run the script")
  • Keep under 500 lines. Split longer content into references/ files.
  • Reference bundled resources with relative paths + describe when to read them
  • Match freedom to fragility: exact scripts for brittle ops, text guidance for flexible tasks

Body structure (adapt as needed):

# /name -- One-Line Summary

**First:** Read `LEARNINGS.md` in this skill's directory.
**Arguments:** `$ARGUMENTS`

## Step 1: [Name]
[What to do, expected outcome]

## Step 2: [Name]
[What to do, expected outcome]

## Rules
[Constraints, gotchas, things to never do]

Step 4: Write LEARNINGS.md

Start with an empty learnings file. It will accumulate as the skill runs.

# <Skill Name> - Learnings

<!-- Lessons learned from running this skill. Read at start of every invocation. -->

Step 5: Write Supporting Files (if needed)

  • scripts/ — For operations that need deterministic reliability or get rewritten repeatedly. Python preferred.
  • references/ — On-demand docs SKILL.md tells Claude when to read. For detailed workflows, schemas, examples that would bloat SKILL.md.
  • assets/ — Templates, images, boilerplate used in output (not loaded into context).

Delete any empty dirs the init script created that aren't needed.

Step 6: Validate

Check the result:

python3 .claude/skills/create-skill/scripts/validate_skill.py .claude/skills/<skill-name>

Fix any issues reported.

Step 7: Update Index

Add the new skill to the CLAUDE.md Available Skills section.

Rules

  • One skill = one concern. Don't bundle unrelated workflows.
  • Description is the trigger — if it's vague, the skill won't activate when needed.
  • SKILL.md is for another Claude instance. Include what's non-obvious, skip what any model already knows.
  • No hardcoded absolute paths except ~/claude-assistant/ and ~/. Use relative paths within the skill dir.
  • Test the skill by running it once before reporting done.

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.