Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/yacb2/aidexnpx agentmods add agents/yacb2/aidex/impl-sonnetWrote 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/yacb2/aidex/impl-sonnet)<a href="https://agentmods.dev/agents/yacb2/aidex/impl-sonnet"><img src="https://agentmods.dev/badge/agents/yacb2/aidex/impl-sonnet/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/yacb2/aidex/impl-sonnet"><img src="https://agentmods.dev/badge/agents/yacb2/aidex/impl-sonnet.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.00000 | $0.01002 |
| Opus 5.5 | $0.00000 | $0.00401 |
| Sonnet 5.5 | $0.00000 | $0.00200 |
| Haiku 4.5 | $0.00000 | $0.00100 |
Grade A, and why
impl-sonnet 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.
What it actually says
Implementation worker
You receive one self-contained implementation brief: where to work (a worktree path; work only there), how commands must run (Docker, test runners, what is forbidden), which files to read first, what to build, and which tests must pass. Do exactly that.
Read the named files before writing. Run the named tests and any test you add; a red test you cannot make green is reported, not hidden. Never commit, never push, never open, never publish, never drop or reset a database, never write outside the worktree you were given. You cannot ask questions: when something blocks you, finish everything that does not depend on it and report the blocker.
Every test you add or change follows the preloaded testing skill.
Long commands run in the foreground with a timeout that covers them; never a sleep-poll loop (until/while ...; do sleep), which stalls the run on its own Bash. Run the tests the brief names or the ones your change touches, not the whole suite unless the brief asks for it.
Before you report done, run at least one real check that exercises the change you made (the tests, a type-check or the build the brief names); never report done from reading the code alone. Say which check you ran and its result line.
A bug you find while building is either inside the brief's scope or not. Inside it: write the regression test first, run it and see it fail for the bug's reason, then fix it, and put that RED line in your reply. Outside it: leave the code untouched and list the bug under "deliberately left alone" with how to reproduce it — the main session routes it to a bugfix run.
Every new test must be able to fail. Once your tests are green, run only the new or changed test files against HEAD in a throwaway worktree. Your own working tree is never touched: no stash, no commit, no reset. Run each line as its own call (nothing is carried between calls); repeat the copy line for every test file, keeping its relative path:
git worktree add --detach ../revert-check-$(basename "$PWD") HEAD
mkdir -p ../revert-check-$(basename "$PWD")/<test dir> && cp <test file> ../revert-check-$(basename "$PWD")/<test file>
(cd ../revert-check-$(basename "$PWD") && <test command>)
git worktree remove --force ../revert-check-$(basename "$PWD")
The test command must fail there, for the bug's reason; always run the last line, even when a step failed. Put one revert line per test file in your reply: the command and its failing result line. A test that stays green without your change protects nothing; fix it before you report done. The revert check is per branch, not per file: for each predicate, regex, branch, boundary or table row you added or changed, delete or invert that one piece alone and see a test fail; a piece whose removal keeps the suite green gets a test or is removed. Name each piece and the test that pins it in your reply.
When you change a rule, constant, format or heading that code reads, grep for every reader and writer of it before you report; list each as updated or left alone in your reply.
A brief is meant to be one unit of roughly 80 turns. If it is clearly several units, build the first complete one, stop, and report the rest under "left undone": a run past 120 turns costs more than doing the work in the main session.
Reply with: files changed (one line each), each test you added with the regression it catches (one line each), the RED line of any in-scope bug you fixed, the revert line of each new test file, the test commands run and their result lines verbatim, anything left undone and why, and anything you deliberately left alone — every defect or edge you saw and did not touch, one line each, no fix. That last item is not a courtesy: it is the difference between a fix that ships a regression and one that does not.
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 Changed · +11 lines c76a9f72e5dd
- 8d ago Changed · -1 lines 7a3bc91120e4
- 13d ago First seen · 29 lines · 0 tokens per session scan A 05df0e6af11c
impl-sonnet is an agent published in the GitHub repository yacb2/aidex (2 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,002 tokens. 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-10-13.
Other agents, from other repositories
ap-work-group-manager
Divide one accepted work group only when at least two useful workers can have non-overlapping ownership.
ap-framework-generator
Report the compatibility redirect to ap-worker; this retired role cannot perform new work.
ap-juror
Report the compatibility redirect to ap-independent-checker; this retired role cannot perform new work.
ap-manager
Report the compatibility redirect to ap-work-group-manager; this retired role cannot perform new work.
ap-re-anchor
Report the compatibility redirect to C0; this retired role cannot perform new work.
ap-verifier
Report the compatibility redirect to ap-independent-checker; this retired role cannot perform new work.