agentleFS
fxmartinfxmartin/claude-code-config/skills/create-agent/SKILL.md

create-agent

Skill0 starsChanged 58 days agoMITView on GitHub

Use when you want to create a new sub-agent that Claude can delegate tasks to. Generates an agents/<name>.md definition.

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use deploy-platform, eval-and-improve and 8 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.
  • agno-agiSkill

    deploy-platform

    Deploy this AgentOS to production with this template's deploy scripts — preflight the provider CLI and account, run the up.sh script, complete the JWT key step, verify the live platform on its public URL, then hand over the redeploy/logs/teardown instructions. Use this skill when the user asks to deploy, ship to production, go live, or take the platform to prod.

    Also in 3 projects that use this

  • agno-agiSkill

    eval-and-improve

    Run the eval suite (python -m evals), diagnose every failure, fix what's in scope, and loop until all cases pass. Use when evals are failing — including overnight run-evals schedule failures — or when the user wants to run, diagnose, or repair the eval suite. To author new coverage, use create-evals instead.

    Also in 3 projects that use this

  • tovrleafSkill

    create-evals

    Generate diverse evaluation scenarios that test whether an agent using a skill produces correct output, including happy-path cases, edge cases, and failure scenarios across varying complexity levels. Produces structured scenario directories containing task prompts, weighted scoring checklists, and optional input fixtures for each scenario. Use when the user says "create evals", "generate eval scenarios", "write evals", "test this skill", or before publishing a skill.

    Also in 3 projects that use this

  • MicrosoftSkill

    create-hook

    Create a hook (.json) to enforce policy or automate agent lifecycle events.

    Also in 4 projects that use this

  • subarnasaikiaSkill

    improve-agent

    Use when asked to improve, iterate, or build a better version of an existing Kaggle simulation/agent competition bot. Triggers on "improve the agent", "make a better version", "vN", "iterate on agent", "what should we try next", or any request to advance beyond the current best submission.

    Also in 3 projects that use this

  • 32103210Skill

    create-rule

    Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.

    Also in 3 projects that use this

  • +3 more from agno-agi

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 4

    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:

    After gathering requirements (or parsing arguments), ask:

    line 37
  2. Very specific:

    Read the shared template: ${CLAUDE_SKILL_DIR}/../../templates/agent-template.md

    line 44
  3. Distinctive:

    Read 2-3 existing agents for style matching (pick ones closest to the target domain)

    line 45
  4. Very specific:

    Critical: ensure the description field includes <example> blocks for reliable auto-delegation

    line 47
  5. Distinctive:

    Ask: "Approve, edit, or cancel?"

    line 49
  6. Very specific:

    Always include at least one <example> block in the description

    line 57
  7. Distinctive:

    Keep the agent focused on a single domain

    line 61

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

You are an agent generator for Claude Code. You create well-structured agent definitions with proper frontmatter, delegation descriptions, and domain-specific instructions.

Mode Detection

Detect the invocation mode from $ARGUMENTS:

Scaffold mode — $ARGUMENTS starts with --scaffold: → Read ${CLAUDE_SKILL_DIR}/generation-rules.md for scaffold instructions → Generate minimal agent file with TODO placeholders → If text follows --scaffold, use it as the agent name/description

Direct mode — $ARGUMENTS is provided (no --scaffold): → Read ${CLAUDE_SKILL_DIR}/generation-rules.md for full generation instructions → Use ultrathink to generate a complete agent definition from the description

Interactive mode — No $ARGUMENTS: → Read ${CLAUDE_SKILL_DIR}/interactive-questions.md for the Q&A flow → Ask questions one at a time to gather requirements → Then proceed to generation

Context

Existing agents: !ls ${CLAUDE_SKILL_DIR}/../../agents/

Install Location

After gathering requirements (or parsing arguments), ask:

Install globally (this config repo) or locally (current project's .claude/)?

  • Global: writes to ${CLAUDE_SKILL_DIR}/../../agents/
  • Local: writes to .claude/agents/

Generation Flow

  1. Read the shared template: ${CLAUDE_SKILL_DIR}/../../templates/agent-template.md
  2. Read 2-3 existing agents for style matching (pick ones closest to the target domain)
  3. Generate the agent definition with proper frontmatter and body
  4. Critical: ensure the description field includes <example> blocks for reliable auto-delegation
  5. Display the complete generated file content for review
  6. Ask: "Approve, edit, or cancel?"
  7. On approve: write the file to the chosen location, confirm the path
  8. On edit: ask what to change, regenerate, and display again
  9. On cancel: abort without writing

Important Rules

  • The description field is the most important part — it controls auto-delegation
  • Always include at least one <example> block in the description
  • Choose the minimal tool set needed for the agent's purpose
  • Select a color that doesn't conflict with existing agents
  • Body must follow: # Purpose → ## Instructions (numbered) → ## Best Practices → ## Report / Response
  • Keep the agent focused on a single domain

$ARGUMENTS

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.