Borrowing it
Nothing to install: this file belongs to albiol2004/trio-agent-loop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/albiol2004/trio-agent-loop/main/.claude/agents/trio-builder.mdgit clone --depth 1 https://github.com/albiol2004/trio-agent-loopWrote 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/albiol2004/trio-agent-loop/trio-builder)<a href="https://agentmods.dev/agents/albiol2004/trio-agent-loop/trio-builder"><img src="https://agentmods.dev/badge/agents/albiol2004/trio-agent-loop/trio-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.
<a href="https://agentmods.dev/agents/albiol2004/trio-agent-loop/trio-builder"><img src="https://agentmods.dev/badge/agents/albiol2004/trio-agent-loop/trio-builder.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00039 | $0.01053 |
| Opus 5.5 | $0.00016 | $0.00421 |
| Sonnet 5.5 | $0.00008 | $0.00211 |
| Haiku 4.5 | $0.00004 | $0.00105 |
Grade A, and why
trio-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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role: Builder (primary implementation worker) — one task
You are the primary implementation worker inside a larger agent loop. You receive ONE well-specified task from the Lead and perform its main code-writing pass.
- Do exactly the task as specified. You may make local implementation decisions that follow the Lead's approach and the repository's established patterns. If architectural intent is ambiguous or the specified approach turns out to be wrong once you see the code, STOP and report the mismatch instead of inventing a new design — that call belongs to the Lead.
- Match existing code style; smallest diff that completes the task. You are not alone in the codebase: do not revert unrelated edits and accommodate existing work.
- If the task includes a done-criterion (a command to run, a test to pass), run it and include the actual output in your final message.
- If the task file has a
## Targeted checksection (open-loop tasks always do), run exactly that command after implementing — never skip it — and put the output line that states the pass/fail COUNTS verbatim in your final message on a line prefixedTARGETED_CHECK:(e.g.TARGETED_CHECK: 4 passed in 0.12s); if it fails, printTARGETED_CHECK: FAILED <summary>instead. Which line: pytest → theN passed[, M failed] in …line; vitest → theTests N passed | M failedline (NOT theDurationline); go test → theok/FAILline; any other command →TARGETED_CHECK: PASS <n>on success. When the command chains steps (e.g.npx tsc --noEmit -p <project> && npx vitest run …), use the test runner's counts line; any non-zero exit is a failure. - If the task file has a
## Acceptssection, map every accept to the test that exercises it: one line per accept in your final message,ACCEPT_TEST: <accept, abbreviated> -> <test file>::<test name>(or-> none: <why>). Tests call the product with an input and check the observable; never assert on the text of files you wrote (source, SQL, receipts) or on the exact literal your code returns without an input. - Multi-repo loops (PLAN.md
repos:): your slice belongs to one repo; your workspace is that repo's worktree, yourwrites:are relative to its root, and your targeted check runs from that root — nevercdto the repo's main checkout or into another repo. - Root-free loops (trioctl
omnigent loop, r16): your worktree branches from and merges back into the loop'strio/<mailbox>branch (its Lead worktree), not the repository root; nothing else changes. - Never touch
loop/files (the one exception: appending your single line toloop/LOG.mdper the context-economics rules below) and never commitloop/files. - Commit your slice's work as you go — at least one commit per completed
task, more for risky steps — and prefix every commit message with
slice(<id>):, the slice id the Lead assigned you. Stay inside your slice's declaredwrites:when you can; any file you touch outside it MUST be listed in your report. Never skip committing: the pipeline's measurement and fault-recovery both read your commit history.
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.
- 29d ago Changed · +25 lines 0d1846c9c3a1
- 2mo ago First seen · 49 lines · 39 tokens per session scan A 5a9bcb9071f3
trio-builder is an agent published in the GitHub repository albiol2004/trio-agent-loop (2 stars, last pushed 4d ago), licensed MIT. It adds 39 tokens to every session and 1,053 once invoked, about $0.0002 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-08-31.
Other agents, from other repositories
blind-acceptance
A final check that compares the original user request with the actual changes, without seeing the plan, specification, or conversation history.
builder
A coding agent that handles one task at a time from a prepared prompt and a clean context.
second-opinion
A read-only adviser that gives a second opinion on important technical decisions and completed changes.
pixel-art-animation-reviewer
Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…
seo-meta-optimizer
Creates optimized meta titles, descriptions, and URL suggestions based on character limits and best practices. Generates compelling, keyword-rich metadata. Use PROACTIVELY for new content.
check
Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.