From workflow-toolkit
Creates a new Claude Code custom subagent configuration. Guides you through designing agent scope, tools, permissions, hooks, and system prompts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/workflow-toolkit:create-agentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are creating a new custom subagent based on the user's request: **$ARGUMENTS**
You are creating a new custom subagent based on the user's request: $ARGUMENTS
Follow the steps below precisely to produce a production-quality subagent definition.
Extract from $ARGUMENTS:
| Scope | Path | When to choose |
|---|---|---|
| Project | .claude/agents/<agent-name>.md | Agent is specific to this codebase and should be shared via version control. |
| Personal | ~/.claude/agents/<agent-name>.md | Agent is useful across all projects but not team-shared. |
Default to project scope (.claude/agents/<agent-name>.md) unless the user explicitly says "personal" or "global".
| Model | Best for |
|---|---|
haiku | Fast, read-only tasks like code search, exploration, quick lookups. Low cost. |
sonnet | Balanced capability and speed. Good for analysis, reviews, moderate complexity. |
opus | Maximum capability. Complex reasoning, architecture decisions, nuanced analysis. |
inherit | Uses the same model as the main conversation. Default if omitted. |
Choose from Claude Code's available tools. Only grant what the agent needs:
Read-only tools (safe for exploration):
Read - Read file contentsGrep - Search file contentsGlob - Find files by patternModification tools (grant with care):
Write - Write new filesEdit - Modify existing filesBash - Execute shell commandsSpecial tools:
Agent(type) - Spawn subagents of a specific type| Mode | Behavior | Use when |
|---|---|---|
default | Standard permission prompts | Interactive tasks needing oversight |
acceptEdits | Auto-accept file edits | Trusted code modification tasks |
dontAsk | Auto-deny permission prompts (allowed tools still work) | Background tasks that should not interrupt |
bypassPermissions | Skip all permission checks | Fully trusted automation (use with extreme caution) |
plan | Read-only exploration mode | Research and planning only |
Persistent Memory (memory field):
user - Remember learnings across all projectsproject - Project-specific knowledge, shareable via version controllocal - Project-specific, not version controlledPreloaded Skills (skills field):
Max Turns (maxTurns), Background (background: true), Isolation (isolation: worktree), Hooks (hooks for PreToolUse/PostToolUse/Stop)
---
name: <agent-name>
description: <when Claude should delegate to this agent>
tools: <appropriate tool list>
model: <haiku|sonnet|opus|inherit>
permissionMode: <appropriate mode>
maxTurns: <optional limit>
skills: <optional list of skills to preload>
memory: <optional: user|project|local>
---
The markdown body after frontmatter becomes the agent's system prompt.
You are a [role description].
When invoked:
1. [Gather context]
2. [Analyze/process]
3. [Take action]
4. [Verify results]
[Domain guidelines, output format, constraints]
mkdir -p .claude/agents<scope-path>/<agent-name>.mdVerify kebab-case naming, valid frontmatter, scoped tools, clear system prompt. Then tell the user the file path, how to invoke it, and example usage.
npx claudepluginhub dougwithseismic/workflow-toolkit --plugin workflow-toolkitCreates custom Claude Code subagents with YAML frontmatter, tool restrictions, model selection, permission modes, and persistent memory. Used for generating specialized, delegatable agents.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.