agentleFS
drinkspillerdrinkspiller/skills/skill-creator/SKILL.md

skill-creator

Skill1 starsChanged 2 months agoUnlicenseView on GitHub

Creates new AI agent skills, modifies and improves existing ones, and iterates on skill quality through structured evaluation. Use when creating a skill from scratch, improving an existing skill's instructions or triggering, running ablation tests to measure skill value (with-vs-without skill), reviewing skills, or diagnosing why a skill doesn't trigger or produces wrong output. Also use when capturing a recurring workflow as a reusable skill. Don't use for general code changes outside skill directories.

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use context7-efficient, skill-share 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.
  • hfzarslanSkill

    context7-efficient

    Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

    Also in 5 projects that use this

  • ArogyaReddySkill

    skill-share

    A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

    Also in 20 projects that use this

  • bkootazSkill

    artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 39 projects that use this

  • seedprodSkill

    goplaces

    Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.

    Also in 5 projects that use this

  • seedprodSkill

    things-mac

    Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks OpenClaw to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

    Also in 5 projects that use this

  • JetBrainsSkill

    slack-gif-creator

    Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.

    Also in 93 projects that use this

  • +1 more from seedprod

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 10

    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. Very specific:

    If you find yourself writing ALWAYS or NEVER in caps, pause and ask if you can explain the causal rationale instead.

    line 43
  2. Distinctive:

    Every line in a skill must earn its place in the context window.

    line 46
  3. Distinctive:

    Every instruction should lead to a verifiable state.

    line 66
  4. Distinctive:

    If the agent independently writes similar helper scripts or code snippets across multiple runs, that is a strong signal the skill should …

    line 69
  5. Distinctive:

    Check for duplicates: Ensure a similar skill doesn't already exist in your workspace or organization catalog.

    line 78
  6. Distinctive:

    Run through the representative prompts manually or have the base agent attempt them without the skill.

    line 83
  7. Distinctive:

    Create the directory structure for your skill:

    line 89
  8. Distinctive:

    Write the Body: Use imperative phrasing ("Run the validator", not "You should run...").

    line 98
  9. Very specific:

    Keep it modular: If the skill requires large schemas or extensive reference tables, place them in references/ and link to them directly …

    line 99
  10. Distinctive:

    Test the skill by running the representative prompts again with the skill enabled.

    line 102
  11. Very specific:

    Diagnose failures: If the agent ignores the skill, refine the frontmatter description.

    line 104
  12. Distinctive:

    Third-Person Capability Statement: Start with what the skill does (e.g., *"Analyzes Dockerfiles and optimizes build caching..."*).

    line 114
  13. Distinctive:

    Avoid Internal Jargon: Use general domain concepts so the model recognizes the relevance even if the user rephrases their prompt.

    line 117

“Common” is measured: kept by at least 6 in 10 of the 179 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 generalized guide and workflow for creating and iteratively improving AI agent skills.

What Skills Are

Agent skills are opinionated cheatsheets. They encode what the agent gets wrong without help — the gotchas, the exact commands, the conditional logic, and the "do this, not that" decisions that turn an unreliable agent into a reliable one.

A skill's value is the delta between the agent with the skill and the agent without it. If the agent already handles a task well out-of-the-box, a skill adds noise without value. If the agent consistently fails without specific guidance, that guidance is the skill.

Skills are NOT:

  • Documentation or tutorials — leave general explanatory text to standard project documentation.
  • Full applications or libraries — complex code bases belong in standard application repositories.
  • One-off scripts — the agent can write ephemeral scripts itself.

Create a skill when the agent fails reliably without one, the workflow recurs, and consistency matters. Don't create one for one-off tasks, things the agent already handles well, or workflows that change frequently.


Core Principles

1. Experience Before Theory

Try the task before writing the skill. Run typical user prompts yourself without any skill loaded and observe where the failures occur. The actual roadblocks and gotchas you discover are the true content of the skill. Speculation about what might go wrong produces noise; real experience produces signal.

2. Explain the Why

AI models comply better with understood intent than with rigid, unexplained directives. When you explain why an instruction exists, the model can generalize the rule to edge cases that the instruction doesn't literally cover.

  • ❌ Always use ripgrep (rg) instead of grep.
  • ✅ Use ripgrep (rg) instead of grep — ripgrep respects .gitignore by default and avoids searching large dependency directories like node_modules.

If you find yourself writing ALWAYS or NEVER in caps, pause and ask if you can explain the causal rationale instead.

3. Signal, Not Noise

Every line in a skill must earn its place in the context window.

Signal (keep):

  • Gotchas from real failure modes.
  • Exact command patterns with concrete flags and values.
  • Domain-specific business logic and branching workflows.
  • Anti-patterns the agent defaults to without warning.

Noise (remove):

  • Boilerplate the agent already knows (e.g., "always validate your output").
  • Verbose explanations of basic concepts the model understands from base training.
  • Redundant restatements of the same instruction.

4. One Job Well

Each skill should do one focused job. If describing a skill requires "and" between unrelated capabilities, split it into separate skills. Broad skills trigger unreliably because their descriptions cannot be specific enough to match diverse user intents accurately.

5. Generalize, Don't Overfit

You will test your skill against a few specific cases, but it will eventually run on hundreds of diverse prompts. After adding a rule or fix, ask: "Will this help on a prompt I haven't seen yet, or did I just hardcode a workaround for my specific test case?"

6. Verify, Don't Trust

Every instruction should lead to a verifiable state. Include runnable validation commands, expected output patterns, or concrete success criteria so the agent can self-correct if it makes a mistake.

7. Bundle What Repeats

If the agent independently writes similar helper scripts or code snippets across multiple runs, that is a strong signal the skill should bundle that code. Place reusable utilities in a scripts/ subdirectory to save future invocations from reinventing the wheel.


The Creation Lifecycle

Creating a skill is an iterative product development process: Understand → Experience → Draft → Evaluate → Improve.

Phase 1: Understand

  1. Check for duplicates: Ensure a similar skill doesn't already exist in your workspace or organization catalog.
  2. Collect representative prompts: Gather 2–5 realistic user requests that this skill should handle.
  3. Define success criteria: Clearly define what verifiable state indicates the task was completed successfully.

Phase 2: Experience

Run through the representative prompts manually or have the base agent attempt them without the skill. Note:

  • Where did the agent get stuck or hallucinate flags?
  • What secondary tools or command-line flags were required to fix errors?
  • What fallback strategies worked when primary methods failed?

Phase 3: Draft

Create the directory structure for your skill:

my_skill/
├── SKILL.md              # Main metadata and instructions
├── scripts/              # Optional helper scripts for deterministic tasks
└── references/           # Optional detailed docs loaded on demand
  1. Write the YAML Frontmatter: Craft a precise name and description (see rules below).
  2. Write the Body: Use imperative phrasing ("Run the validator", not "You should run..."). Provide concrete input-to-output examples.
  3. Keep it modular: If the skill requires large schemas or extensive reference tables, place them in references/ and link to them directly from SKILL.md.

Phase 4: Evaluate & Improve

Test the skill by running the representative prompts again with the skill enabled.

  • Compare performance: Does the agent complete the task faster, cheaper, or more reliably than without the skill?
  • Diagnose failures: If the agent ignores the skill, refine the frontmatter description. If it follows the skill but fails, refine the instructions in the body.
  • Iterate: Strip out instructions that don't change behavior, and refine the ones that do.

Crafting the Frontmatter Description

The description field in the YAML frontmatter is critical — it is the only text the agent reads when deciding whether to trigger and load the full skill.

Rules for Descriptions

  1. Third-Person Capability Statement: Start with what the skill does (e.g., "Analyzes Dockerfiles and optimizes build caching..."). Avoid first/second person ("I can help you").
  2. Include Triggers: Explicitly state "Use when..." followed by typical user intents.
  3. Include Negative Triggers: State "Don't use for..." to prevent false-positive triggering on related but distinct tasks.
  4. Avoid Internal Jargon: Use general domain concepts so the model recognizes the relevance even if the user rephrases their prompt.

Example

❌ Bad (Vague, lacks triggers):

description: >-
  Helper tools for working with databases and queries.

✅ Good (Specific, includes positive and negative triggers):

description: >-
  Analyzes PostgreSQL query plans and optimizes slow SQL joins and indexes. 
  Use when debugging high database latency, inspecting EXPLAIN ANALYZE output, 
  or resolving table lock contention. Don't use for general schema migrations 
  or database setup tasks.

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.