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 skills/rockielab/rockie-codex/agent-buildernpx skills add Rockielab/rockie-codex --skill agent-buildergit clone --depth 1 https://github.com/Rockielab/rockie-codexWrote 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/skills/rockielab/rockie-codex/agent-builder)<a href="https://agentmods.dev/skills/rockielab/rockie-codex/agent-builder"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-codex/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.00159 | $0.03821 |
| Opus 5 | $0.00079 | $0.01911 |
| Sonnet 5 | $0.00032 | $0.00764 |
| Haiku 4.5 | $0.00016 | $0.00382 |
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 5d ago.
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.
This is a copy
100% identical to agent-builder — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 251 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agent-builder — build any goal-declared agent
This skill is the meta-system that generalizes the proven diligence agent ("Atlas") into a reusable pipeline: declare a goal, and out comes a portable, self-hardening, publishable agent. Atlas shipped to prod using the patterns this skill reuses; agent-builder turns those patterns from "build one diligence agent" into "build any agent". You build the builder, not the agent's output.
Explicit goal
Take a user's declared goal ("an agent that does X") and produce a portable git
repo on the OpenClaw/Claude-Code harness that achieves it, ships its own
adversarial safeguards by default, survives a fresh no-memory publish gauntlet
twice with zero CRITICALs before it is allowed to ship, and serializes to a .af
agent-file for handover. Refuse to declare an agent publishable until the gate
says so.
Lifecycle
[1] DECLARE — resolve the goal to ONE testable sentence. Ask 2-3 clarifying Qs
only if it is too vague to test. Write it to agent.config.json.
[2] CHOOSE — pick runtime/model/tools + write policies/hooks/safeguards.
The decision table below drives every choice from the goal.
[3] SCAFFOLD — scripts/scaffold_agent.py emits the portable repo (CLAUDE.md,
.claude/skills/ incl. the self-adversarial critic BY DEFAULT,
.claude/hooks/, .mcp.json, policies/, tests/, manifest).
[4] BUILD — flesh out the domain skills/prompts so it achieves the goal;
keep the self-critic wired.
[5] RUN — exercise the agent; produce a sample deliverable.
[6] GATE — scripts/publish_gate.py: a fresh no-memory adversarial gauntlet.
quality sublayer ALWAYS; ai-detection sublayer when opted in.
Counter resets on any failed round.
[7] ITERATE — apply the cited fixes; re-run. One pass never unlocks.
[8] PUBLISH — ONLY after two consecutive zero-CRITICAL rounds (publishable:true).
[9] EXPORT — scripts/af_export.py emits the .af handover artifact.
What ships with it
38 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 749 B
- examples/agent.config.json 755 B
- examples/release-notes-writer.af 19 KB
- examples/release-notes-writer.bundle/monitoring.json 676 B
- examples/release-notes-writer.bundle/MONITORING.md 490 B
- examples/release-notes-writer.bundle/OUTPUTS_MANIFEST.json 3.3 KB
- examples/release-notes-writer.bundle/policies-bundle/.claude/hooks/policy_gate.py 1.6 KB runs code
- examples/release-notes-writer.bundle/policies-bundle/policies/policy-01.md 385 B
- examples/release-notes-writer.bundle/policies-bundle/policies/policy-02.md 333 B
- examples/release-notes-writer.bundle/policies-bundle/policies/policy-03.md 379 B
- examples/release-notes-writer.bundle/release-notes-writer.af 19 KB
- examples/release-notes-writer.bundle/release-notes-writer.pptx.emit-args.json 2.2 KB
- examples/release-notes-writer.bundle/release-notes-writer.pptx.request.json 1.7 KB
- examples/release-notes-writer.bundle/release-notes-writer.repo.tar.gz 7.0 KB
- examples/release-notes-writer.bundle/TECHNICAL_DOCUMENTATION.md 8.0 KB
- examples/release-notes-writer/.claude/hooks/policy_gate.py 1.6 KB runs code
- examples/release-notes-writer/.claude/skills/self-critic/critic_loop.py 5.8 KB runs code
- examples/release-notes-writer/.claude/skills/self-critic/domain-critic.md 1.6 KB
- examples/release-notes-writer/.claude/skills/self-critic/SKILL.md 1.3 KB
- examples/release-notes-writer/.mcp.json 220 B
- examples/release-notes-writer/agent.config.json 755 B
- examples/release-notes-writer/CLAUDE.md 1.7 KB
- examples/release-notes-writer/manifest.json 941 B
- examples/release-notes-writer/policies/policy-01.md 385 B
- examples/release-notes-writer/policies/policy-02.md 333 B
- examples/release-notes-writer/policies/policy-03.md 379 B
- examples/release-notes-writer/tests/test_agent.py 1.9 KB runs code
- prompts/ai-detection-critic.md 3.5 KB
- prompts/builder.md 5.8 KB
- prompts/quality-critic.md 4.1 KB
- references/af-format.md 3.8 KB
- references/agent-repo-anatomy.md 5.1 KB
- references/outputs-catalog.md 6.2 KB
- references/publish-gate.md 8.1 KB
- scripts/af_export.py 12 KB runs code
- scripts/package_outputs.py 36 KB runs code
- scripts/publish_gate.py 37 KB runs code
- scripts/scaffold_agent.py 30 KB runs code
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.
- 5d ago First seen · 251 lines · 159 tokens per session scan A 175f4e37ade4
agent-builder is a skill published in the GitHub repository Rockielab/rockie-codex (20 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 159 tokens to every session and 3,821 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to agent-builder, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…