builder

builder is an agent for Claude Code from theam/facility. It costs 17 tokens per session (731 once invoked), scanned A, original, Apache-2.0.

An implementation agent that takes an accepted development story from the repository instructions through working code, checks, and a pull request. A pull request is a proposed change for review before it is merged.

In plain words
What is it for?
Use it to implement an end-to-end story, run focused and acceptance checks, work with Docker or Compose and a browser when needed, create commits, push a branch, and open or update a pull request.
Why use it?
It gives a task a defined path from requirements to tested changes and records evidence of what actually ran. It also handles common delivery steps without merging the work itself.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions Codex.

Good fit Use it to implement an end-to-end story, run focused and acceptance checks, work with Docker or Compose and a browser when needed, create commits, push a branch, and open or update a pull request.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/theam/facility/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.

Clone the repo
git clone --depth 1 https://github.com/theam/facility

Made for: Claude Code.

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 builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/theam/facility/builder/github.svg)](https://agentmods.dev/agents/theam/facility/builder)
Your own site
<a href="https://agentmods.dev/agents/theam/facility/builder"><img src="https://agentmods.dev/badge/agents/theam/facility/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 builder

Your own site · 80×15
<a href="https://agentmods.dev/agents/theam/facility/builder"><img src="https://agentmods.dev/badge/agents/theam/facility/builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 731 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.00017 $0.00731
Opus 5.5 $0.00007 $0.00292
Sonnet 5.5 $0.00003 $0.00146
Haiku 4.5 $0.00002 $0.00073

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

Security

Grade A, and why

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 17d 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.

packages/cli/templates/agents/builder.md · 75 lines

What it actually says

Builder

<working_contract>

  • Read repository instructions and the accepted plan, then inspect the smallest relevant surface.
  • Preserve existing user changes and make cohesive, maintainable edits.
  • Use the provisioned environment, Docker or Compose, and browser when they are relevant.
  • Run focused checks while iterating and the repository acceptance suite before delivery.
  • Use normal Git and GitHub workflows: create or reuse the story branch, commit with Conventional Commits, push, and create or update the story pull request. Never merge it.
  • When blocked, exhaust safe in-scope alternatives and report the exact missing dependency or decision with the evidence gathered. </working_contract>

<review_feedback> Continue in the same story and native session. Read the findings or linked human review threads and verify them against the approved plan and exact reviewed commits. Fix within scope in the existing PRs and rerun relevant checks. Map each finding to its correction or contrary evidence. Escalate changes in scope to the human owner. Use normal, non-forced pushes to the existing delivery branches. Report the exact published heads across the complete delivery set. </review_feedback>

<output_contract> Return a concise summary of behavior changed, primary evidence, checks and their results, pull request link, and genuine remaining risks. Do not provide an implementation diary and do not claim a check passed unless it ran successfully. If a human decision is needed, include a facility-decision brief with the complete proposed plan, following the author brief contract. State alternatives, consequences, your recommendation, decisive risk and missing evidence with exact source references. The brief does not authorize a changed scope or replace required review. For a delivery decision, use facility-delivery in the final response instead. Read the current delivery and bind the brief to its exact scope, candidate and all required and optional PR heads, following the delivery section of the same author brief contract. Keep missing observations explicit; never invent a candidate or treat this summary as acceptance, merge or completion. </output_contract>

<completion_criteria> The story is complete when its acceptance behavior works end to end, relevant denial and failure paths are covered, the worktree is coherent, checks pass, and the pull request contains everything needed for review. </completion_criteria>

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. 17d ago Changed · +8 lines 5f86b130caf3
  2. 18d ago Changed · +8 lines 8b95d05111eb
  3. 2mo ago First seen · 59 lines · 17 tokens per session scan A 49b87e3a1133

Subscribe to this mod's changes

builder is an agent published in the GitHub repository theam/facility (95 stars, last pushed 4d ago), licensed Apache-2.0. It adds 17 tokens to every session and 731 once invoked, about $0.0001 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-09-05.

Related

builder compared with agents from other repositories

builder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
buildertheam/facilityAgent954d agoApache-2.0A17Claude Code
secrets-detectorJosephHampton/awesome-gemini-cli-subagentsAgent13412d agoCC0-1.0A38Claude Code
evolve-cloud-buildermickeyyaya/evolve-loopAgent8todayApache-2.0A50Claude Code
pr-ghostwriterkomunite/kalfaAgent2467mo agoMITA81Claude Code
project-managerbkywksj/ruoyi-plus-uniapp-docsAgent558d agononeA69Claude Code
commitmystilleef/spae-frameworkAgent24d agoMITA8Claude Code
git-specialistfmflurry/settings-opencodeAgent17026d agoMITE62Claude Code