agent-builder

agent-builder is a skill for Claude Code from Rockielab/rockie-claude. It costs 159 tokens per session (3,821 once invoked), scanned A, original, Apache-2.0.

An agent-building workflow that turns a stated goal into a portable code repository for an AI agent. It also defines the agent's tools, rules, safety checks, and release tests.

In plain words
What is it for?
Use it to create an agent for a specific job, choose its runtime and tools, scaffold its repository, and prepare it for handover as an agent file.
Why use it?
It gives you a repeatable way to build agents without designing each project from scratch. Fresh, adversarial checks help reveal serious problems before publishing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Part of the rockie-claude plugin — 29 skills, 1 MCP server shipped together

Good fit Use it to create an agent for a specific job, choose its runtime and tools, scaffold its repository, and prepare it for handover as an agent file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rockielab/rockie-claude/agent-builder
Install

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.

Any agent
npx skills add Rockielab/rockie-claude --skill agent-builder
Clone the repo
git clone --depth 1 https://github.com/Rockielab/rockie-claude

Made for: Claude Code.

Or install rockie-claude, the plugin that ships this one along with the rest of its 29 skills, 1 MCP server.

Wrote 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.

agentmods badge for agent-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockielab/rockie-claude/agent-builder/github.svg)](https://agentmods.dev/skills/rockielab/rockie-claude/agent-builder)
Your own site
<a href="https://agentmods.dev/skills/rockielab/rockie-claude/agent-builder"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-claude/agent-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/rockielab/rockie-claude/agent-builder"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-claude/agent-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,821 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00159 $0.03821
Opus 5 $0.00079 $0.01911
Sonnet 5 $0.00032 $0.00764
Haiku 4.5 $0.00016 $0.00382

Measured 10d ago against content hash 175f4e37ade4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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 10d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (examples/release-notes-writer.bundle/policies-bundle/.claude/hooks/policy_gate.py, examples/release-notes-writer/.claude/hooks/policy_gate.py, examples/release-notes-writer/.claude/skills/self-critic/critic_loop.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

project-harness/skills/agent-builder/SKILL.md · 251 lines

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.

Read the full file on GitHub · 251 lines

Files

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.

Changes

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.

  1. 10d ago First seen · 251 lines · 159 tokens per session scan A 175f4e37ade4

Subscribe to this mod's changes

agent-builder is a skill published in the GitHub repository Rockielab/rockie-claude (21 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

auto-run

Autonomous personalized research loop. Use when the user wants to research a topic autonomously, run a research loop, start adaptive research, or use presets like technique-scout or cross-domain. Triggers on: 'auto run', 'research loop', 'autonomous research', 'run research', 'start research', 'adaptive research'.

primeline-ai/claude-adaptive-research · 70 tokens

autoresearch

Orchestrates end-to-end autonomous AI research projects using a two-loop architecture. The inner loop runs rapid experiment iterations with clear optimization targets. The outer loop synthesizes results, identifies patterns, and steers research direction. Routes to domain-specific skills for execution, supports…

Orchestra-Research/AI-Research-SKILLs · 98 tokens

git-commit

A guided Git commit workflow that examines changes and creates a commit message using the Conventional Commits format, a shared style for labeling changes such as features, fixes, tests, or documentation.

adongwanai/learn-workbuddy · 0 tokens

pi-sync

Daily upstream-sync job for the pi Go port — fetch upstream pi, triage every change since the recorded pin, port what's in scope, verify idiomatic + parity via independent reviews, update the ledger, and push. Use for "sync with upstream", "porting job", or as the scheduled daily run.

sky-valley/pi · 66 tokens

pi-triage

Decide whether an upstream pi change needs porting to the Go port. Use when assessing upstream commits/PRs ("should we port X?"), or as the triage stage of /pi-sync. Outputs a WHY/WHAT/SCOPE verdict per change.

sky-valley/pi · 57 tokens

pi-parity-review

Adversarially verify that a ported change is faithful to the original pi implementation (TS source + published npm build). Use after porting upstream pi changes, or standalone on any area of this repo ("is X faithful to pi?").

sky-valley/pi · 54 tokens