agentleFS
claude-worldclaude-world/claude-agent/.claude/skills/skill-creator/SKILL.md

skill-creator

Skill4 starsChanged 9 months agoMITView on GitHub

Create new Claude Code SKILL.md files from user descriptions. Generates correct frontmatter, command documentation, usage examples, and rules. Validates format and writes to .claude/skills/. Use when user says "create a skill for", "add new skill", "make a skill that", or "scaffold a skill".

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 9 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

  • 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

  • ArogyaReddySkill

    raffle-winner-picker

    Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests. Ensures fair, unbiased selection with transparency.

    Also in 20 projects that use this

  • +2 more from ArogyaReddy

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 9 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 9

    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:

    No external CLI needed. Uses Read, Write, Edit, Grep, and Glob tools.

    line 32
  2. Very specific:

    Every SKILL.md must follow this structure:

    line 36
  3. Very specific:

    Use Read tool on relevant examples (e.g., apple-notes/SKILL.md, github-ops/SKILL.md).

    line 96
  4. Very specific:

    Use Write tool to create .claude/skills/<skill-name>/SKILL.md.

    line 122
  5. Distinctive:

    After writing, re-read the file and verify:

    line 126
  6. Distinctive:

    Always read 2+ existing skills as format reference before generating

    line 159
  7. Distinctive:

    Never create a skill that duplicates an existing one — check first with Glob

    line 160
  8. Distinctive:

    If user provides a vague description, ask 3 clarifying questions before generating:

    line 162
  9. Distinctive:

    Should it be haiku (fast/simple) or sonnet (reasoning required)?

    line 165
  10. Distinctive:

    After writing, always re-read the file to confirm it was written correctly

    line 166
  11. Distinctive:

    If the skill requires env vars, always include a "Set up" section in Prerequisites

    line 168
  12. Distinctive:

    Keep the Rules section actionable — each rule should be a single clear directive

    line 169

“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

Generate well-structured SKILL.md files for Claude Code skills. Reads existing skills as reference, generates correct format, validates, and writes to .claude/skills/.

Prerequisites

No external CLI needed. Uses Read, Write, Edit, Grep, and Glob tools.

SKILL.md Format Reference

Every SKILL.md must follow this structure:

---
name: skill-name                    # kebab-case, matches directory name
description: >                      # Single paragraph, mentions trigger phrases
  What the skill does and when to use it.
allowed-tools:                      # Only tools actually needed
  - Bash
  - Read
  - Write
model: haiku|sonnet|opus            # haiku for simple, sonnet for complex
user-invocable: true                # Always true for user-facing skills
when_to_use: >                      # Explicit trigger phrases
  When to invoke. Triggers: "phrase 1", "phrase 2".
argument-hint: "<args>"             # CLI-style hint shown in autocomplete
---

# Title

Brief one-line description.

## Prerequisites

Install command or "No install needed."

## Commands

Key CLI commands in a table or code blocks.

## Usage Examples

Realistic examples with bash code blocks.

## Rules

- Bullet list of behavioral rules
- Check if CLI installed first
- Handle missing env vars gracefully
- Keep responses concise

Workflow

Step 1: Gather Requirements

From user input, extract:

  • Skill name: kebab-case identifier (e.g., my-skill)
  • CLI tool(s): what commands power it
  • Purpose: what task it accomplishes
  • Trigger phrases: natural language patterns that should invoke it
  • Model: haiku (simple/fast) or sonnet (complex/reasoning)

Step 2: Read Reference Skills

# Read 2-3 similar existing skills for pattern reference
ls /path/to/.claude/skills/

Use Read tool on relevant examples (e.g., apple-notes/SKILL.md, github-ops/SKILL.md).

Step 3: Check for Conflicts

# Check if skill already exists
ls .claude/skills/ | grep "<skill-name>"

Step 4: Generate SKILL.md

Generate the full SKILL.md content following the format reference above. Key rules:

  • name field must match the directory name exactly
  • description must include trigger phrases ("Use when user says...")
  • when_to_use must list explicit trigger phrases after "Triggers:"
  • allowed-tools must only include tools the skill actually uses
  • Prerequisites section must include exact install commands
  • Rules section must include: check CLI installed, handle missing env vars, keep output concise

Step 5: Create and Write

# Create the skill directory
mkdir -p .claude/skills/<skill-name>

Use Write tool to create .claude/skills/<skill-name>/SKILL.md.

Step 6: Validate

After writing, re-read the file and verify:

  • Frontmatter is valid YAML (no syntax errors)
  • name matches directory name
  • description is non-empty and mentions triggers
  • when_to_use has explicit trigger phrases
  • allowed-tools list is accurate
  • model is one of: haiku, sonnet, opus
  • argument-hint is present
  • Has all required sections: Prerequisites, Commands, Usage Examples, Rules
  • Rules include CLI-installed check and concise-output guidance

Usage Examples

Create a skill from description:

User: "create a skill for managing Docker containers — list, start, stop, exec"
→ Reads docker-related reference skills
→ Generates skill-name: docker-control
→ Creates .claude/skills/docker-control/SKILL.md
→ Validates format
→ Reports: "Created .claude/skills/docker-control/SKILL.md"

Create a skill with API key:

User: "create a skill for sending SMS via Twilio"
→ skill-name: twilio-sms
→ Includes TWILIO_ACCOUNT_SID + TWILIO_AUTH_TOKEN + TWILIO_FROM env vars
→ Creates .claude/skills/twilio-sms/SKILL.md

Rules

  • Always read 2+ existing skills as format reference before generating
  • Never create a skill that duplicates an existing one — check first with Glob
  • Skill directory name must match the name frontmatter field exactly
  • If user provides a vague description, ask 3 clarifying questions before generating:
    1. What CLI tool(s) power this skill?
    2. What are the 3 most common user requests?
    3. Should it be haiku (fast/simple) or sonnet (reasoning required)?
  • After writing, always re-read the file to confirm it was written correctly
  • Report the created file path in the final response
  • If the skill requires env vars, always include a "Set up" section in Prerequisites
  • Keep the Rules section actionable — each rule should be a single clear directive

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.