create-subagent
Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific agents, configure code reviewers, debuggers, or domain-specific assistants with custom prompts.
npx skills add majiayu000/claude-skill-registry --skill create-subagent-darthlinuxer-agentic-skills-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Creating Custom Subagents This skill guides you through creating custom subagents for this platform. Subagents are specialized AI assistants that run in isolated contexts with custom system prompts. ## When to Use Subagents Subagents help you: - **Preserve context** by isolating exploration from your main conversation - **Specialize behavior** with focused system prompts for specific domains - **Reuse configurations** across projects with user-level subagents ### Inferring from Context If you have previous conversation context, infer the subagent's purpose and behavior from what was discussed. Create the subagent based on specialized tasks or workflows that emerged in the conversation. ## Subagent Locations | Location | Scope | Priority | |----------|-------|----------| | Workspace agents directory | Current project | Higher | | User agents directory | All your projects | Lower | When multiple subagents share the same name, the higher-priority location wins. **Project subagents** (workspace-level): Ideal for codebase-specific agents. Check into version control to share with your team. **User subagents** (user-level): Personal agents available across all your projects. ## Subagent
- When to Use Subagents
- Inferring from Context
- Subagent Locations
- Subagent File Format
- Required Fields
- Writing Effective Descriptions
- Example Subagents
- Code Reviewer
- Debugger
- Data Scientist
- Subagent Creation Workflow
- Step 1: Decide the Scope
- Step 2: Create the File
- Step 3: Define Configuration
For project-level (this platform) mkdir -p .claude/agents touch .claude/agents/my-agent.md For user-level (platform-specific user directory) mkdir -p ~/.claude/agents touch ~/.claude/agents/my-agent.md
What does the create-subagent skill do?
Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific agents, configure code reviewers, debuggers, or domain-specific assistants with custom prompts.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill create-subagent-darthlinuxer-agentic-skills-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
