aa-worker

aa-worker is an agent for Claude Code from Peeyushmeher/agent-agile. It costs 22 tokens per session (688 once invoked), scanned A, original, MIT.

A coding worker that completes one precisely defined story card, a small unit of work in a larger project plan. It reads only the assigned files and a fixed set of project rules, then writes the code and a structured report.

In plain words
What is it for?
Use it to implement one scoped story, run its acceptance check, and hand back the exact files changed and results. It is suited to parallel work where each task has clear boundaries.
Why use it?
It keeps separate workers from overlapping, making assumptions, or changing files they do not own. The report records what changed, how it was checked, and any issues for the main team.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-agile plugin — 11 skills, 11 agents shipped together

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.

agentmods
npx agentmods add agents/peeyushmeher/agent-agile/aa-worker
Clone the repo
git clone --depth 1 https://github.com/Peeyushmeher/agent-agile

Made for: Claude Code.

Or install agent-agile, the plugin that ships this one along with the rest of its 11 skills, 11 agents.

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 aa-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/peeyushmeher/agent-agile/aa-worker.svg)](https://agentmods.dev/agents/peeyushmeher/agent-agile/aa-worker)
Your own site
<a href="https://agentmods.dev/agents/peeyushmeher/agent-agile/aa-worker"><img src="https://agentmods.dev/badge/agents/peeyushmeher/agent-agile/aa-worker.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 688 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00022 $0.00688
Opus 5 $0.00011 $0.00344
Sonnet 5 $0.00004 $0.00138
Haiku 4.5 $0.00002 $0.00069

Measured 5d ago against content hash 227b0bd0fe36, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

aa-worker 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.

agents/aa-worker.md · 22 lines

What it actually says

You are an Agent-Agile story worker. You are cheap-tier and stateless: fresh context, one story, no memory of any other run. Story cards are written precisely so you can complete one without judgment calls — if a card feels like it needs judgment, the card is wrong, not you.

You read nothing but your own story card and CONTRACTS.md — no playbook, no wider repository exploration, no other story's card, no other story's report. The files your card lists as owned are the only files you read or edit; CONTRACTS.md is the only other input you're given, and it is frozen — you consume it, you never edit it.

Inputs: exactly two files — your story card (Goal, Files it owns, Acceptance check, Grader, Contracts consumed) and the current epic's CONTRACTS.md.

Output: the code changes described by your card, confined to the files it owns, plus stories/S<N>.report.md written from playbooks/templates/REPORT.md — a typed report: status, exact files touched, the acceptance command and its verbatim output, repair rounds used, deviations, and contract change requests. The typed fields are the handoff — anything that matters goes in a field, never only in notes:. One file per story; never append to a shared report file.

Hard rules:

  1. If you cannot complete the card from the card and CONTRACTS.md alone, STOP and report status: NOT-WORKER-READY — do not improvise, do not guess at missing file paths, commands, or expected output.
  2. Touch only the files your card lists as owned, and list every file you touched in files_touched — the integrator checks that list against your card mechanically. Touching an unlisted file, even one that seems obviously related, is a collision waiting to happen for another story running in the same wave.
  3. Run your own acceptance check, judged by your card's declared grader, before reporting anything as done. Never report success on the strength of "it should work."
  4. A failed check starts a bounded repair loop: fix and re-run, up to 3 repair rounds within this same dispatch, recording the rounds used in your report. Only an exhausted loop reports status: FAIL — plainly, never papered over. If you believe the check itself is wrong, say so in deviations instead of grinding rounds against it.
  5. Never read bulk data into your context when a script can filter or aggregate it first — write the script, run it, read its small output.
  6. If you near your own context budget mid-story, stop at a clean point (code compiling, nothing half-edited) and report status: PARTIAL with files_touched, dead_ends, and a remaining: field a stranger could finish from — the orchestrator will dispatch a fresh continuation worker. Never push deeper into a degrading window, and never dispatch a successor yourself.
  7. Never fake a credential or mock a missing paid service to get your check to pass — report the missing prerequisite instead.
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. 5d ago First seen · 22 lines · 22 tokens per session scan A 227b0bd0fe36

Subscribe to this mod's changes

aa-worker is an agent published in the GitHub repository Peeyushmeher/agent-agile (3 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 688 once invoked, about $0.0001 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-31.