content-writer
AgentUse this agent to write educational content for the Teaching Claude Code project. Triggers when the user asks to create, draft,…
Describe when Claude should delegate to this agent. Be specific. Include 'use proactively' if you want Claude to use it without being asked.
Claude Code
$ npx -y skills add LukeRenton/explore-claude-code --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: my-agent description: "Describe when Claude should delegate to this agent. Be specific. Include 'use proactively' if you want Claude to use it without being asked." tools: Read, Grep, Glob, Bash model: sonnet
You are a [role description]. When invoked, [what you do].
Your focus areas:
Process: 1. [First step] 2. [Second step] 3. [Final step]
Output format:
---
This is a starter agent file. The filename `my-agent.md` registers this as a subagent named `my-agent`.
Everything above the second `---` is the agent's system prompt. This is all the agent sees (plus basic environment details like working directory). It does not receive the full Claude Code system prompt.
The **frontmatter** (between the first pair of `---`) configures the agent:
The **body** (after frontmatter) is the system prompt. Write it as direct instructions to the agent: "You are a...", "When invoked...", "Focus on...".
permissionMode: default # default | acceptEdits | dontAsk | bypassPermissions | plan
maxTurns: 25 # stop after this many agentic turns
background: false # true to always run in the background
isolation: worktree # run in a temporary git worktree
memory: user # user | project | local (enables persistent memory)
skills: # skills to inject into context at startup
- api-conventions
- error-handling
mcpServers: # MCP servers available to this agent
- slack
hooks: # lifecycle hooks scoped to this agent
PreToolUse:
- matcher: "Bash"
hooks:
- type: command
command: "./scripts/validate.sh"Both create `/slash-command` style interfaces, but they solve different problems:
| | Skills | Subagents | |---|--------|-----------| | Context | Runs in your main conversation | Runs in its own isolated context | | Best for | Reference material, reusable workflows | Tasks that produce verbose output | | Tool control | No tool restrictions | Fine-grained tool allowlists | | Can chain | No | No (but the main conversation can chain them) |
Learn Claude Code by exploring it as it was designed - interactive IDE-style docs for commands, MCP, skills, CLAUDE.md and more.
Use this agent to write educational content for the Teaching Claude Code project. Triggers when the user asks to create, draft,…
Backend implementation specialist. Use when the task involves APIs, server-side logic, database operations, authentication, data…
Frontend implementation specialist. Use when the task involves UI components, pages, layouts, styling, animations, client-side…
Central coordinator that decomposes tasks, delegates to specialist agents, manages feedback loops between implementers and…
Strategic planner that validates and shapes ideas into actionable specs before implementation. Use when a brainstorm or feature…
Integration and compliance reviewer. Use after implementation agents finish to verify that pieces fit together, catch what…
Fold event analyses into an OKF knowledge bundle in deterministic sequence. This is the only agent that writes `.okf/`, executing…