agent-build

agent-build is a skill for Claude Code, Codex from lancewillett/ai-plugins. It costs 94 tokens per session (1,092 once invoked), scanned A, original, MIT.

A workflow for building a code change and preparing a pull request, which is a proposed change that teammates review. It includes planning, multiple reviews, checks, and proof that the changed path works.

In plain words
What is it for?
It is for guiding a coding agent from an initial plan through implementation, review, testing, and a final handoff ready for human review.
Why use it?
It helps catch missed requirements, review issues, failed checks, and changes that work only in a test setup rather than in the way the software is used.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Part of the agent-build plugin — 1 skill shipped together

Good fit It is for guiding a coding agent from an initial plan through implementation, review, testing, and a final handoff ready for human review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lancewillett/ai-plugins/agent-build
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 lancewillett/ai-plugins --skill agent-build
Clone the repo
git clone --depth 1 https://github.com/lancewillett/ai-plugins

Made for: Claude Code, Codex.

Or install agent-build, the plugin that ships this one along with the rest of its 1 skill.

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-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/lancewillett/ai-plugins/agent-build/github.svg)](https://agentmods.dev/skills/lancewillett/ai-plugins/agent-build)
Your own site
<a href="https://agentmods.dev/skills/lancewillett/ai-plugins/agent-build"><img src="https://agentmods.dev/badge/skills/lancewillett/ai-plugins/agent-build/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-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/lancewillett/ai-plugins/agent-build"><img src="https://agentmods.dev/badge/skills/lancewillett/ai-plugins/agent-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,092 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.00094 $0.01092
Opus 5.5 $0.00038 $0.00437
Sonnet 5.5 $0.00019 $0.00218
Haiku 4.5 $0.00009 $0.00109

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

Security

Grade A, and why

agent-build 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/gate-check.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.

plugins/agent-build/skills/agent-build/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent build

Hand the human a PR they can review once and merge, not a draft they have to chase.

Gates: none optional, none replaced by a cheaper step

Run them in order for every PR this skill produces, including PRs a sub-agent or a follow-up agent run builds. Follow them yourself; don't recite them in chat.

  1. Five-steps first. Run /five-steps (from this marketplace) on the change before any coding starts. Thinking it through without the skill doesn't count. If the cuts remove the feature, stop. Mention a cut in chat only when it changes what gets built.
  2. A watcher on every background agent run, follow-ups included.
  3. A multi-lens review of the final diff. Use a review battery that routes the diff to several lenses (correctness, security, tests, simplification), with at least one reviewer from a second model family. A single reviewer subagent is not a substitute. Rerun it after a rewrite.
  4. The repo's own pre-push checks, run locally on the committed state before each push.
  5. Proof on the real path. Exercise the change the way production will, and confirm the proof ran your branch's code, not the default branch. A CI job on an unwatched branch can silently build the default branch.
  6. A Definition of Done in the PR body, as a checklist under a Definition of done heading. Include the after-merge check that proves it works.
  7. Every review comment answered. Read every human and AI review comment, fix or reply to each one.
  8. CI 100% green. Every check finished and passed, none pending, none failed. A passing summary with a check still queued does not count.

End check

Before handing over, run the bundled script from this skill's directory:

python3 scripts/gate-check.py <PR URL> --worktree <worktree> --lint "<repo pre-push command>" --attest 1,2,3,5
  • Attest only the gates you actually ran. Write 2=na when no background run happened.
  • The script checks gates 4, 6, 7 and 8 itself. It runs the lint command on the clean, committed PR head, checks for a Definition of Done with an after-merge item, counts unanswered review comments, and checks CI and mergeability. Pass --ai-marker '<text>' to also flag AI review summaries that contain that marker and lack a "No blocking issues" line.
  • On any FAIL, fix it and rerun. Its output is for you, not the human.
  • When everything passes, it opens the PR in your browser (--no-open to skip). Tell the human in one line that the PR is ready, with its link.

Read the full file on GitHub · 58 lines

Files

What ships with it

2 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. 8d ago First seen · 58 lines · 94 tokens per session scan A d426fe84f51f

Subscribe to this mod's changes

agent-build is a skill published in the GitHub repository lancewillett/ai-plugins (3 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 1,092 once invoked, about $0.0004 per session on Opus 5.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-11-25.

Related

agent-build compared with skills from other repositories

agent-build next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-buildlancewillett/ai-pluginsSkill3yesterdayMITA94Claude Code, Codex
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill6.3ktodayMITA18Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k12d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5kyesterdayMITA65Claude Code
revdiff-planumputun/revdiffSkill977yesterdayMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex