agentleFS
pobstetapobsteta/aigora/.claude/skills/skill-creator/SKILL.md

skill-creator

Skill0 starsChanged 2 months agoMITView on GitHub

Create or update a skill that packages a workflow into a self-contained SKILL.md with scripts, references, and assets. Use when user says "create a skill", "make a new skill", "crystallize this workflow", "turn this into a skill", or asks to build a reusable process.

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, 11 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create self-contained skills that package workflows into portable, discoverable units.

    line 9
  2. Distinctive:

    Ask the user to describe the workflow.

    line 15
  3. Distinctive:

    If the workflow was just completed manually, reverse-engineer it: "Let me crystallize exactly what we just did into a reusable skill."

    line 23
  4. Distinctive:

    Every script has ONE job. If it does multiple things, split it.

    line 39
  5. Very specific:

    If 2+ skills would reference it, it goes in context/ not references/.

    line 40
  6. Distinctive:

    Default to Python for deterministic work.

    line 41
  7. Distinctive:

    Run the init script:

    line 45
  8. Distinctive:

    Use imperative SOP format:

    line 81
  9. Distinctive:

    Every script command includes full path from project root.

    line 109
  10. Very specific:

    Write Python scripts in scripts/.

    line 114
  11. Distinctive:

    Functional test: Run 4-5 times with different inputs.

    line 127
  12. Distinctive:

    After real usage, refine:

    line 132
  13. Distinctive:

    Add edge cases discovered in production

    line 134

“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

Create self-contained skills that package workflows into portable, discoverable units.

Creation Process

Step 1: Understand the Workflow

Ask the user to describe the workflow. Identify:

  • What triggers this workflow (user request, event, schedule)
  • What inputs it needs (URLs, files, API keys, config)
  • What steps it follows (in order, with dependencies)
  • What outputs it produces (files, API calls, messages, data)
  • What can go wrong (rate limits, auth failures, missing data)

If the workflow was just completed manually, reverse-engineer it: "Let me crystallize exactly what we just did into a reusable skill."

Step 2: Plan the Skill Contents

For each step, decide the execution method:

QuestionMaps To
Needs deterministic code?scripts/ — Python script
Needs an external service?MCP tool — reference by name in the step
Needs Claude's judgment?Instructions only — no script, no tool
Needs reference docs?references/ — Markdown file
Needs templates or assets?assets/ — Files consumed by scripts
Shared business knowledge?context/ (project root, NOT in the skill)

Rules:

  • Every script has ONE job. If it does multiple things, split it.
  • If 2+ skills would reference it, it goes in context/ not references/.
  • Default to Python for deterministic work. MCP adds token overhead.

Step 3: Scaffold the Skill

Run the init script:

python3 .claude/skills/skill-creator/scripts/init_skill.py SKILL_NAME

This creates the directory structure with placeholders. Then populate.

Step 4: Write the Frontmatter

---
name: kebab-case-name
description: What it does. Use when user says "trigger 1", "trigger 2", or asks to do X.
model: sonnet
context: fork
allowed-tools: Bash(python3 .claude/skills/SKILL_NAME/scripts/*)
---

Frontmatter decisions:

FieldWhen to Use
model: sonnetMost automated pipelines (default)
model: opusComplex reasoning, creative work
model: haikuSimple tasks, fast lookups
context: forkSkill runs as isolated subagent (recommended for pipelines)
allowed-toolsRestrict to scripts and/or MCP tools
user-invocable: trueCan be triggered via /name slash command
disable-model-invocation: trueManual-only (for destructive operations)

See references/frontmatter-guide.md for detailed examples.

Step 5: Write the SKILL.md Body

Use imperative SOP format:

# Skill Title

## Objective
One sentence: what this skill achieves.

## Inputs Required
- List all inputs, credentials, config needed

## Execution Steps

### Step 1: Name of Step
\`\`\`bash
python3 .claude/skills/SKILL_NAME/scripts/script_name.py --flag value
\`\`\`
**Input**: What the script takes
**Output**: What the script produces (JSON structure)

## Edge Cases & Error Handling
### Scenario Name
- What goes wrong
- How to handle it

Body rules:

  • Under 500 lines. Move detailed docs to references/.
  • Every script command includes full path from project root.
  • Include expected output JSON structures for each script.

Step 6: Implement Scripts

Write Python scripts in scripts/. Each script:

  • Has ONE job
  • Accepts input via CLI args
  • Returns JSON to stdout on success
  • Returns JSON error to stderr on failure
  • Handles its own errors

Step 7: Test the Skill

Three tests:

  1. Trigger test: Fresh session. Ask naturally without naming the skill. Does Claude find it?
  2. Functional test: Run 4-5 times with different inputs. Consistent output?
  3. Value test: Compare output WITH vs WITHOUT the skill. Measurable improvement?

Step 8: Iterate

After real usage, refine:

  • Tighten instructions where Claude improvised incorrectly
  • Add edge cases discovered in production
  • Move sections to references/ if SKILL.md exceeds 500 lines

Skill Anatomy

.claude/skills/skill-name/
├── SKILL.md              # Process definition (<500 lines)
├── scripts/              # Python scripts (one job each)
├── references/           # Skill-specific docs
└── assets/               # Templates, fonts, icons

What does NOT go in the skill:

  • Business knowledge used by multiple skills → context/
  • Runtime behavior settings → config/
  • Persistent data → data/
  • Temporary files → .tmp/

Design Patterns

See references/patterns.md for detailed pattern documentation:

  • Sequential — Steps in strict order with dependencies
  • Iterative refinement — Generate → validate → fix → repeat
  • Multi-MCP coordination — Cross-service workflows
  • Context-aware branching — Different paths based on input type
  • Domain-specific — Embedded business rules and compliance

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.