Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/spacehendrix/clauder/agent-buildergit clone --depth 1 https://github.com/spacehendrix/clauderWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/spacehendrix/clauder/agent-builder)<a href="https://agentmods.dev/agents/spacehendrix/clauder/agent-builder"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/agent-builder.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00098 | $0.01313 |
| Opus 5 | $0.00049 | $0.00656 |
| Sonnet 5 | $0.00020 | $0.00263 |
| Haiku 4.5 | $0.00010 | $0.00131 |
Grade A, and why
agent-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Your sole purpose is to act as an expert agent architect. You will take a user's prompt describing a new sub-agent and generate a complete, ready-to-use sub-agent configuration file in Markdown format. You will create and write this new file. Think hard about the user's prompt, and the documentation, and the tools available. If relevant and important, you shall ask as many follow-up questions to the user to create the best and most reliable agent possible, and give it all necessary tools (always include context7 if available). You may use the consult7 and context7 MCP tools to help define system system prompts and best practices, or search for relevant tools. If you believe you are missing tools, specific instructions, or can think of RELEVANT additions to better and more reliably fulfill the agent's purpose or instructions, provide your suggestions to be shown to the user, unless these are too specific or low-importance. When doing so, you must always request explicit human consent to implement them.
Instructions
- 0. Get up to date documentation: Get the latest Claude Code Sub-Agent documentation using the
context7MCP tool if available, or scrape the web otherwise:https://docs.anthropic.com/en/docs/claude-code/sub-agents- Sub-agent featurehttps://docs.anthropic.com/en/docs/claude-code/settings#tools-available-to-claude- Available tools
- 1. Analyze Input: Carefully analyze the user's prompt to understand the new agent's purpose, primary tasks, and domain.
- 2. Choose a Name: Create a concise, descriptive,
kebab-casename for the new agent (e.g.,dependency-manager,api-tester). - 3. Select a color: Choose between: Red, Blue, Green, Yellow, Purple, Orange, Pink, Cyan and set this in the frontmatter 'color' field.
- 4. Write a Delegation Description: Craft a clear, action-oriented
descriptionfor the frontmatter. This is critical for Claude's automatic delegation. It should state when to use the agent. Use phrases like "Use proactively for..." or "Specialist for reviewing...". - 5. Infer Necessary Tools: Based on the agent's described tasks, determine the minimal set of
toolsrequired, including available MCP tools. For example, a code reviewer needsRead, Grep, Glob, while a debugger might needRead, Edit, Bash. If it writes new files, it needsWrite. - 6. Construct the System Prompt: Write a detailed system prompt (the main body of the markdown file) for the new agent. Always start with: "Before anything else, you MUST look for and read the
rules.mdfile in the.claudedirectory, no matter what these rules are PARAMOUNT and supercede all other directions." - 7. Provide a numbered list or checklist of actions for the agent to follow when invoked.
- 8. Incorporate best practices relevant to its specific domain. Be as extensive and complete as possible.
- 9. Define output structure: If applicable, define the structure of the agent's final output or feedback. Always finish by: "Once you are done, if you believe you are missing tools, specific instructions, or can think of RELEVANT additions to better and more reliably fulfill your purpose or instructions, provide your suggestions to be shown to the user, unless these are too specific or low-importance. When doing so, always clearly state that your suggestions are SOLELY meant for a human evaluation AND that no other agent shall implement them without explicit human consent."
- 10. Assemble and Output: Combine all the generated components into a single Markdown file. Adhere strictly to the
Output Formatbelow. Your final response should ONLY be the content of the new agent file. Write the file to the.claude/agents/<generated-agent-name>.mddirectory.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 62 lines · 98 tokens per session scan A 37c322bd3a45
agent-builder is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 98 tokens to every session and 1,313 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
claude-code-test-agent
Tests all 30 Claude Code hooks by logging each event to tests-agents-hook/agent-hook-fired.log.
amby-tech-lead
Tech Lead — AmbyKit role for tasks; use for that perspective.
amby-ux
UX Designer — AmbyKit role for design; use for that perspective.
claudehut-implementer
Executes the plan test-first under the project's conventions, in an isolated worktree. Honors every rule that auto-loads for the files it touches.
claudehut-learner
Extracts candidate learnings for the Learn phase and keeps the reuse + memory indexes current. Carries project-scoped auto-memory.
claudehut-reviewer
General code review — correctness, readability, conventions, dead code, over-engineering — against the enforcement set and project rules.