agent-creator
Skill4 starsChanged 14 days agoMITView on GitHub
Create or update Claude Code subagent definitions in .claude/agents/, including prompts, tools, model inheritance and permissions. Use for agent configuration or Claude Code delegation mechanics, not routine delegation in another host.
26 other projects use a version of this.
Adopted by
Most recently taken up by
- Arcanea-Labs/Starlight-Intelligence-Systemtheir own version, first seen Nov 8, 2026
- krzysztofsurdy/code-virtuosotheir own version, first seen Nov 1, 2026
- 10CG/aria-plugintheir own version, first seen Oct 20, 2026
- Ronnasayd/aipptheir own version, first seen Oct 20, 2026
- AllanSantos-DV/skill-kittheir own version, first seen Oct 15, 2026
- fabioc-aloha/Alex_ACT_Editiontheir own version, first seen Oct 13, 2026
Used with
Projects with it also use security, skill-creator and 2 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.
0xSeroSkillsecurity
Also in 4 projects that use this
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 10 projects that use this
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 5 projects that use this
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- OpenHands/extensions★ 167same name
- 9thLevelSoftware/legion★ 76same name
- DGouron/review-flow★ 42same name
- monaccode/astromesh★ 39same name
- krzysztofsurdy/code-virtuoso★ 36same name
- different-ai/openwork-hub★ 35same name
- HashLips/agent-skills★ 29same name
- mhylle/claude-skills-collection★ 20same name
- WalletConnect/skills★ 14same name
- Arcanea-Labs/Starlight-Intelligence-System★ 10same name
16 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apexSkill
- audio-loopSkill
- award-designSkill
- brand-voiceSkill
- claude-mdSkill
- code-ultrareviewSkill
- design-systemSkill
- download-mediaSkill
- forgeSkill
- frontend-devSkill
- humanize-enSkill
- markitdownSkill
- notionSkill
- oneshotSkill
- scaffoldSkill
- suno-produceSkill
- ultrapexSkill
- video-loopSkill
- write-clear-readmeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 10 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Every sentence changes the reader's understanding.
- Distinctive: line 22
Use concrete language and lists when they improve comparison or sequence.
- Distinctive: line 24
No marketing words: powerful, robust, seamlessly, leverage, unlock, comprehensive, delightful.
- Distinctive: line 25
No AI tells: delve, tapestry, intricate, pivotal, testament, underscore, crucial, garner, showcase, additionally, moreover, furthermore, …
- Very specific: line 47
Create a Markdown definition directly.
- Very specific: line 48
Use project-level (.claude/agents/) or user-level (~/.claude/agents/) scope matching the request.
- Distinctive: line 51
description: When should this agent be used?
- Distinctive: line 54
Write the system prompt (the agent's instructions)
- Distinctive: line 90
When names conflict, higher priority wins.
- Very specific: line 122
If both set: disallowedTools applied first, then tools resolved against remainder
- Very specific: line 124
Plugin agents: do not support hooks, mcpServers, or permissionMode (ignored for security).
- Distinctive: line 134
Write the system prompt as the markdown body after frontmatter.
- Distinctive: line 140
Structure is flexible: Use markdown headings, XML tags, or a combination — whatever is clearest.
- Very specific: line 144
Use the active Agent tool schema.
- Very specific: line 158
Resuming: Use SendMessage with the agent's ID to resume with full context preserved.
- Very specific: line 174
Creation and edits: Ask Claude to author the definition or edit the file directly.
- Distinctive: line 197
Plugin fields may be ignored: Use project/user scope or applicable external enforcement when hooks, MCP configuration or permission mode …
“Common” is measured: kept by at least 6 in 10 of the 24 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.
Files
Agent Creator
<!-- canonical:writing-rules:start -->Important — Writing rules
Apply these rules to emitted prose: docs, comments, commit messages, PR bodies, and release notes.
- Match surrounding punctuation, capitalization, and formatting.
- Every sentence changes the reader's understanding. Cut it otherwise.
- Lead with the action or outcome.
- Use concrete language and lists when they improve comparison or sequence.
- Assert positively. Reserve negation for real constraints (
NEVER commit secrets). - No marketing words: powerful, robust, seamlessly, leverage, unlock, comprehensive, delightful.
- No AI tells: delve, tapestry, intricate, pivotal, testament, underscore, crucial, garner, showcase, additionally, moreover, furthermore, indeed.
- For substantive English prose, use
/humanize-enif installed with the existing scope and authorization. It adds no approval stage; skip redundant passes over short status text.
<!-- canonical:writing-rules:end -->Subagents are specialized Claude instances that run in isolated contexts with focused roles and limited tool access. This skill covers how to create effective subagents, write strong system prompts, configure tool access, and orchestrate multi-agent workflows.
Delegate bounded independent tasks and verify the returned artifact. Interaction and nesting depend on the host's active tools and execution mode.
Capture Intent
Resolve the four contract questions from the brief. Ask only for missing decisions that materially affect the result, using an available interaction tool or the lead:
- What should this agent do? — the specific task and role (e.g., "review TypeScript PRs for security regressions"), not a generic description.
- When should it be invoked? — trigger conditions, keywords, file patterns. Goes into the
descriptionfield for routing. - Which tools does it need? — least-privilege allowlist. Read-only analysis vs write-capable.
- What's the expected output format? — structured report, file edits, list of findings, etc.
The description field carries triggers; the system prompt body carries workflow + output format. Both are derived from these answers.
Quick Start
- Inspect the installed version and official subagent documentation for supported fields.
- Create a Markdown definition directly; the
/agentscreation wizard was removed in v2.1.198. - Use project-level (
.claude/agents/) or user-level (~/.claude/agents/) scope matching the request. - Define the agent:
- name: lowercase-with-hyphens
- description: When should this agent be used?
- tools: Optional comma-separated list (inherits all if omitted)
- model: Optional; inherit the user's selection unless a supported override was requested.
- Write the system prompt (the agent's instructions)
Example:
---
name: code-reviewer
description: Review a supplied code diff for correctness and security defects when a code review is requested.
tools: Read, Grep, Glob
model: inherit
---
You are a senior code reviewer focused on quality, security, and best practices.
## Focus Areas
- Code quality and maintainability
- Security vulnerabilities
- Performance issues
- Best practices adherence
## Output
Provide specific, actionable feedback with file:line references.Scope and Priority
| Priority | Location | Scope |
| 1 (highest) | Managed settings | Organization-wide |
| 2 | --agents CLI flag | Current session |
| 3 | .claude/agents/ | Current project (git-shared) |
| 4 | ~/.claude/agents/ | All your projects |
| 5 (lowest) | Plugin's agents/ dir | Where plugin is enabled |
When names conflict, higher priority wins. Project agents override user-level agents.
Configuration
Common YAML frontmatter fields. Only name and description are required; verify version-sensitive fields against the target CLI.
| Field | Required | Description |
name | Yes | Unique identifier, lowercase letters and hyphens |
description | Yes | When Claude should delegate to this agent. Write clear trigger conditions |
tools | No | Comma-separated allowlist. Inherits all tools if omitted |
disallowedTools | No | Comma-separated denylist, removed from inherited tools |
model | No | inherit by default; current aliases include fable, sonnet, opus, haiku, or a supported full model ID |
permissionMode | No | default, acceptEdits, auto, dontAsk, bypassPermissions, or plan |
maxTurns | No | Maximum agentic turns before auto-stop |
skills | No | Skills to load into agent context at startup (full content injected) |
mcpServers | No | MCP servers: string references or inline definitions |
hooks | No | Lifecycle hooks scoped to this agent |
memory | No | Persistent memory scope: user, project, or local |
background | No | Requests background execution; defaults and availability depend on the current execution mode |
effort | No | Model-dependent override; current values include low, medium, high, xhigh, max |
isolation | No | worktree to run in a temporary git worktree |
color | No | Display color: red, blue, green, yellow, purple, orange, pink, cyan |
initialPrompt | No | Auto-submitted first user turn when agent runs as main session (via --agent) |
Model resolution order since v2.1.251: invocation override > frontmatter > CLAUDE_CODE_SUBAGENT_MODEL > main model. v2.1.257+ supports CLAUDE_CODE_SUBAGENT_MODEL_FORCE for an explicit environment override. Inspect the installed version when diagnosing older behavior.
Tool restriction patterns:
tools: Read, Grep, Glob— read-only analysisdisallowedTools: Write, Edit— inherit all except writestools: Agent(worker, researcher), Read— restrict delegated agent types where the host exposes nesting- If both set:
disallowedToolsapplied first, thentoolsresolved against remainder
Plugin agents do not support hooks, mcpServers, or permissionMode (ignored for security).
Execution Model
Inspect the actual tool pool. Ordinary Claude Code subagents cannot use AskUserQuestion; fork mode retains the parent's exact tools. Route missing user-owned decisions through the lead when direct interaction is unavailable.
Claude Code supports nested subagents, defaulting to three levels below main since v2.1.219. Installed settings, depth and tools govern availability. Other hosts can differ; do not infer their capabilities from a model name. Intermediate visibility also depends on the host.
System Prompt Guidelines
Write the system prompt as the markdown body after frontmatter. The agent receives only this prompt (plus environment details), not the full Claude Code system prompt.
- Be specific: Define exactly what the agent does. "You are a React performance optimizer specializing in hooks and memoization" not "You are a helpful coding assistant".
- Define completion: Accepted outcome, relevant inputs, observable checks and failure reporting.
- Set constraints: State scope and permission boundaries plainly; keep implementation detail proportional.
- Define output format: Specify expected deliverable structure.
- Structure is flexible: Use markdown headings, XML tags, or a combination — whatever is clearest. The official docs show agents with standard markdown headings.
Background Execution
Use the active Agent tool schema. Current background defaults differ from older releases; fork mode may omit run_in_background. Set that field only when exposed and needed. Preserve the returned agent identifier.
Retrieving results: The main conversation is automatically notified when background agents complete.
Parallel pattern: Launch multiple independent agents in a single message, then collect results:
Agent 1: code-reviewer (background)
Agent 2: security-scanner (background)
Agent 3: test-analyzer (background)
-> All run in parallel
-> Results collected when each completesResuming: Use SendMessage with the agent's ID to resume with full context preserved.
When to use background:
- Long-running analysis (security audits, full-codebase reviews)
- Multiple independent tasks that can parallelize
- Research tasks that take significant time
When NOT to use:
- Operations a direct local tool call can complete more simply
- Sequential dependencies between tasks
- Tasks where immediate results are needed for next step
Management
- Creation and edits: Ask Claude to author the definition or edit the file directly; do not rely on the removed
/agentswizard - CLI listing:
claude agentsto list all configured agents from the command line - Manual editing: Edit files directly in
.claude/agents/or~/.claude/agents/ - Session-only: Pass
--agents '{...}'JSON for temporary agents that aren't saved to disk
Reference
Core references:
- Agent configuration and usage: references/subagents.md — file format, storage locations, tool security, model selection, orchestration strategies, background execution, complete examples
- Writing effective prompts: references/writing-subagent-prompts.md — specificity, clarity, constraints, description field optimization, anti-patterns, examples
Advanced topics:
- references/orchestration-patterns.md — sequential, parallel, hierarchical, coordinator patterns
- references/evaluation-and-testing.md — evaluation metrics, testing strategies
- references/error-handling-and-recovery.md — failure modes, recovery strategies
- references/context-management.md — memory architecture, context strategies
- references/debugging-agents.md — logging, tracing, diagnostic procedures
Gotchas
tools+disallowedToolsresolution is counterintuitive when both are set. Per § Configuration,disallowedToolsapplies first, thentoolsresolves against the remainder. Settingtools: Read, Write+disallowedTools: Writeyields an agent with onlyRead; Write is denied before the allowlist sees it. Fix: use one mechanism, not both; prefer the allowlist for fine-grained control.- Plugin fields may be ignored. Use project/user scope or applicable external enforcement when hooks, MCP configuration or permission mode are required. Prompt text cannot replace a deterministic hook.
- Nesting is bounded. Schedule within actual depth and concurrency limits; flatten ownership when the host cannot nest.
- Model precedence is version-sensitive. Inspect the selected model, invocation, definition and applicable environment overrides; inherit by default instead of imposing a generic tier matrix.
Success Criteria
A well-configured agent has:
- Valid YAML frontmatter (name matches file, description includes triggers)
- Clear role definition in system prompt
- Appropriate tool restrictions (least privilege)
- Structured prompt with workflow and constraints
- Description field optimized for automatic routing
- Model selection appropriate for task complexity
- Successfully tested on representative tasks
See also
/claude-md— author and optimizeCLAUDE.md/.claude/rules/*.md. Project-wide instructions pair naturally with.claude/agents/*.mddefinitions; use this skill for the agent specs and/claude-mdfor the surrounding project memory.
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
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.

