一键导入
level-8-the-summoners-circle
Claude Code Hero Level 8: The Summoner's Circle -- create an agent at .claude/agents/hero-agent.md
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Claude Code Hero Level 8: The Summoner's Circle -- create an agent at .claude/agents/hero-agent.md
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Claude Code Hero Level 1: The Map Room -- explore the project's .claude/ directory and document what lives there
Claude Code Hero Level 2: The Tome of First Instructions -- create .claude/CLAUDE.md with real personal instructions
Claude Code Hero Level 0: The Threshold -- learn the basics of talking to Claude Code before entering the dungeon
Claude Code Hero Level 9: The Artificer's Workshop -- create a minimal Claude Code plugin (capstone)
Claude Code Hero progress report -- shows the learner's quest log with completed, current, and locked quests
Claude Code Hero Level 3: The Goblin Lair of Commands -- create a custom slash command in .claude/commands/
| name | level-8-the-summoners-circle |
| description | Claude Code Hero Level 8: The Summoner's Circle -- create an agent at .claude/agents/hero-agent.md |
Create an agent at .claude/agents/hero-agent.md with agent frontmatter and a system prompt body.
Skills are knowledge. Agents are beings. An agent is an autonomous subprocess with its own system prompt, its own tool access, and its own purpose. When Claude encounters a task that matches an agent's description, it can delegate to that agent entirely -- spawning a focused subprocess that works independently and returns with results.
Agents are how Claude Code scales. Instead of one conversation doing everything, you dispatch specialists. A code reviewer that only looks at diffs. A test writer that only touches test files. A documentation agent that reads code and produces docs. Each one scoped, focused, and safe.
A circular chamber. Runes etched into the floor in concentric rings. At the center, an empty space. This is a summoning circle. Whatever you inscribe here will have a life of its own. Every summoned being needs a true name. Yours is hero-agent.
You've built spells, voices, tripwires, and knowledge tomes. Now summon a companion -- an autonomous being that can act on its own.
Agents live as .md files. They can go in a project's .claude/agents/ directory, in ~/.claude/agents/ for global access, or in a plugin's agents/ directory. Each one follows the pattern you've seen before: YAML frontmatter on top, content below. But the frontmatter carries more weight here.
Your task:
.claude/agents/hero-agent.mdname, description, color, model, and toolsdescription, include at least one <example> block showing a user prompt that should trigger this agentcolor for your agent's badge: blue, cyan, green, yellow, magenta, or red. This is the color that appears in the UI when your agent is activemodel to haiku -- agents don't always need the biggest model. Haiku is fast and cheap, good for focused tasks. Other options: sonnet, opus, or inherit (match the parent session)tools to limit what the agent can do. A read-only agent uses Read, Glob, and Grep. An agent that can't write files or run commands is an agent you can trust to only observe. This is the principle of least privilege applied to agentsThe description with <example> blocks is how Claude decides when to dispatch your agent. Without examples, Claude has to guess. With them, it knows.
First, run /reload-plugins so Claude picks up the new agent file. Then type @hero-agent followed by a task in its domain. The @agent-name syntax dispatches the agent as a subprocess -- it works with its own system prompt, completes the task, and returns the result to you.
You can also launch it as a standalone session: claude --agent hero-agent. That starts a fresh Claude session with your agent's system prompt loaded.
To test auto-dispatch: ask Claude something that matches one of your <example> prompts without using @. If Claude spawns the agent on its own, your description and examples are working.
An agent is a .md file in an agents/ directory. Create yours at .claude/agents/hero-agent.md. The filename (minus .md) becomes how you reference the agent -- so this becomes hero-agent.
.claude/agents/
hero-agent.md
The frontmatter needs name, description, color, model, and tools:
---
name: hero-agent
description: |
What your agent does, in one or two lines.
<example>
a user prompt that should trigger this agent
</example>
color: green
model: haiku
tools: Read, Glob, Grep
---
Your system prompt here -- the agent's personality, purpose, and instructions.
When you're ready, run /verify to check your work.
.claude/agents/hero-agent.mdtest -f .claude/agents/hero-agent.md && echo "exists" || echo "missing"--- delimiters at the top)name, description, color, model, and tools fieldsdescription includes at least one <example> blockThe circle glows. Something stirs inside it -- your creation. It has a name, a purpose, and the autonomy to act on both.
The guide leading you through these quests? That's an agent. dungeon-master.md. You've been talking to one this entire time. Same frontmatter. Same markdown body. Same pattern.
Now count the artifacts on your belt. A command (hero-spell). A rule (hero-protocol). A hook that connects them. A skill (hero-knowledge). And now an agent (hero-agent). Five components. Each one a different kind of power.
What if you could bind them all together into a single artifact? A package that anyone could install and use?
One final quest remains.