agentleFS
realjaymesrealjaymes/marketingagentskills/skills/agent-skill-builder/SKILL.md

agent-skill-builder

Skill63 starsChanged 7 months agoMITView on GitHub

Quickly creates new Claude Code skills or translates ChatGPT projects into Claude Code skills. Handles skill scaffolding, frontmatter, directory structure, and ChatGPT-to-Claude migration. Use when the user wants to 'create a skill,' 'make a new slash command,' 'convert a ChatGPT project,' 'translate a GPT to Claude,' or 'migrate prompts to Claude Code.' For full eval/testing/benchmarking workflows, use skill-creator instead.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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. Distinctive:

    Ask the user (skip what's already clear from context):

    line 27
  2. Very specific:

    Write SKILL.md following this template:

    line 48
  3. Distinctive:

    Check that the skill triggers when expected and stays silent when not relevant

    line 91
  4. Very specific:

    Only name and description are required.

    line 143
  5. Very specific:

    Progressive disclosure: Keep SKILL.md under 500 lines.

    line 178
  6. Very specific:

    No extraneous files: No README.md, CHANGELOG.md, INSTALLATION_GUIDE.md.

    line 182
  7. Very specific:

    Forward slashes only: Use scripts/helper.py, never scripts\helper.py.

    line 183

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Agent Skill Builder

Quickly scaffolds new Claude Code skills or translates ChatGPT projects into Claude Code format. This skill focuses on fast creation and correct structure. For iterative testing, benchmarking, and description optimization, use /skill-creator.

Two Modes

Mode 1: Create New Skill (/agent-skill-builder new [name])

Scaffolds a fresh Claude Code skill with proper structure and best practices.

Mode 2: Translate ChatGPT Project (/agent-skill-builder translate [name])

Converts an existing ChatGPT project into a Claude Code skill.


Create New Skill

Step 1: Gather Intent

Ask the user (skip what's already clear from context):

  1. Skill name: What should the /slash-command be called?
  2. Purpose: What does this skill do?
  3. Examples: How would this skill be used in practice?
  4. Triggers: What would a user say that should invoke this skill?

Step 2: Plan Resources

Analyze each example to identify what should be bundled:

  • Scripts (scripts/): Code rewritten repeatedly or needing deterministic reliability. Execute without loading into context.
  • References (references/): Documentation Claude should consult while working. Loaded on demand.
  • Assets (assets/): Files used in output (templates, images, fonts). Not loaded into context.

Step 3: Create Directory and SKILL.md

mkdir -p ~/.claude/skills/[skill-name]

Write SKILL.md following this template:

---
name: skill-name
description: "Describes what the skill does and specific triggers for when to use it. Write in third person. Include keywords users would say. Max 1024 characters. This is the PRIMARY triggering mechanism."
---

# Skill Name

[1-2 sentence description]

## Instructions

[Step-by-step guidance — use imperative form]

## Output Format

[Expected output structure]

## Constraints

[Limitations and rules]

Step 4: Add Reference Files (if needed)

For skills with multiple domains or variants, keep SKILL.md lean and split into references:

skill-name/
├── SKILL.md (overview + navigation, under 500 lines)
└── references/
    ├── variant-a.md
    └── variant-b.md

Reference from SKILL.md with clear guidance on when to read each file. Keep references one level deep.

Step 5: Test

  1. Invoke directly: /skill-name
  2. Let Claude auto-invoke by matching description keywords
  3. Check that the skill triggers when expected and stays silent when not relevant

Translate ChatGPT Project to Claude Skill

Step 1: Extract ChatGPT Components

Request from user:

  • System prompt/instructions
  • Knowledge files (PDFs, docs)
  • Conversation starters (optional)
  • Actions/API configurations (if any)

Step 2: Map Components

ChatGPT ComponentClaude Code EquivalentLocation
Namename in frontmatterSKILL.md
Descriptiondescription in frontmatterSKILL.md
InstructionsMain markdown bodySKILL.md
Knowledge filesreferences/ folder (convert to .md)Subdirectory
Conversation startersDocument in Examples section or omitSKILL.md
Actions (APIs)MCP servers~/.claude/mcp.json
Code InterpreterNative tools: Bash, Read, Write, Edit, Glob, GrepBuilt-in
MemoryNo direct equivalent. Use context files or skill background sectionsVarious

Step 3: Convert Instructions

ChatGPT PatternClaude Equivalent
"You are a [role]..."Role section or integrate into instructions
"Your task is to..."Instructions section
"Always/Never..."Constraints section
"Output format..."Output Format section
Input placeholders [text]Keep as-is or use $ARGUMENTS

Step 4: Convert Knowledge Files

  1. Convert PDFs/docs to Markdown and place in references/
  2. For large files (>10k words), include grep search patterns in SKILL.md
  3. For files >100 lines, add a table of contents at the top
  4. Templates and assets go in assets/

Step 5: Write Frontmatter

The description field is the primary triggering mechanism. Write in third person and include both what the skill does and when to use it. Be slightly "pushy" with triggers to combat undertriggering.


Frontmatter Reference

Only name and description are required. Additional fields are Claude Code-specific extensions:

FieldRequiredDescription
nameYesMax 64 chars, lowercase letters/numbers/hyphens only
descriptionYesMax 1024 chars. What + When. Third person. Primary trigger mechanism
argument-hintNoHint shown in autocomplete (e.g., "[issue-number]")
disable-model-invocationNotrue = user-only invocation (no auto-trigger)
user-invocableNofalse = Claude-only (hidden from slash command menu)
contextNofork = run in isolated subagent
agentNoSubagent type: Explore, Plan, general-purpose
allowed-toolsNoRestrict available tools: Read, Grep, Glob
modelNoOverride model for this skill

String Substitutions

VariableDescription
$ARGUMENTSEverything after /skill-name
${CLAUDE_SESSION_ID}Current session ID
!`command`Dynamic injection (runs before skill loads)

Skill Locations

LocationPathScope
Personal~/.claude/skills/[name]/All projects
Project.claude/skills/[name]/This project only

Writing Best Practices

These come from Anthropic's official skill authoring guide:

  • Concise is key. Claude is already smart. Only add context Claude doesn't already have. Prefer concise examples over verbose explanations.
  • Description is everything. Claude reads descriptions to decide which skill to use from potentially 100+ available skills. Be specific, include trigger keywords, write in third person.
  • Progressive disclosure. Keep SKILL.md under 500 lines. Move detailed references to separate files. Claude loads them only when needed.
  • Match freedom to fragility. High freedom (text instructions) for flexible tasks, low freedom (specific scripts) for fragile operations.
  • Explain the why. Explain reasoning behind instructions rather than using heavy-handed MUSTs. Claude responds better to understanding motivation than rigid rules.
  • Consistent terminology. Pick one term and use it throughout. Don't mix "API endpoint" / "URL" / "API route" / "path".
  • No extraneous files. No README.md, CHANGELOG.md, INSTALLATION_GUIDE.md. Skills contain only what an AI agent needs to do the job.
  • Forward slashes only. Use scripts/helper.py, never scripts\helper.py.

After Creation Checklist

  • SKILL.md created with name and description in frontmatter
  • Description includes what AND when (triggers), written in third person
  • SKILL.md under 500 lines
  • Knowledge files converted to Markdown in references/
  • References are one level deep from SKILL.md
  • Large reference files (>100 lines) have table of contents
  • Skill tested with /skill-name and auto-invocation
  • No extraneous documentation files

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.