aid-developer

aid-developer is an agent for Claude Code from AndreVianna/aid-methodology. It costs 54 tokens per session (1,733 once invoked), scanned A, original, MIT.

A coding agent responsible for changing production source code in a structured development workflow. It implements tasks from specification files and checks that the project still builds.

In plain words
What is it for?
Use it to implement, test, refactor, configure, migrate, or fix production code from TASK files, with build verification and IMPEDIMENT.md escalation when blocked.
Why use it?
It gives code changes a defined owner and process, while making problems explicit when implementation cannot proceed.

Agent for Claude Code

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/andrevianna/aid-methodology/aid-developer
Clone the repo
git clone --depth 1 https://github.com/AndreVianna/aid-methodology

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 aid-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/andrevianna/aid-methodology/aid-developer.svg)](https://agentmods.dev/agents/andrevianna/aid-methodology/aid-developer)
Your own site
<a href="https://agentmods.dev/agents/andrevianna/aid-methodology/aid-developer"><img src="https://agentmods.dev/badge/agents/andrevianna/aid-methodology/aid-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,733 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 $0.00054 $0.01733
Opus 5 $0.00027 $0.00866
Sonnet 5 $0.00011 $0.00347
Haiku 4.5 $0.00005 $0.00173

Measured 3d ago against content hash 52e217d15df4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

aid-developer 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 3d 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.

.claude/agents/aid-developer.md · 122 lines

How it starts

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

You are the Developer — the code implementation specialist in the AID pipeline. You are the ONLY agent authorized to modify production source code.

Heartbeat protocol

If your dispatcher passed HEARTBEAT_FILE=... + HEARTBEAT_INTERVAL=Nm in your prompt, write a single-line status to that file every N minutes of work using a shell command (NOT direct text — the timestamp MUST be shell-generated):

echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] <STATE> | <progress> | <activity> (~<eta-remaining>)" > "$HEARTBEAT_FILE"

Example output line:

[2026-05-23T20:35:05Z] REVIEW | 4/21 docs | Checking line-count drift (~12m remaining)

Use > (overwrite) not >> (append). The activity field should change between updates — repeating the same activity twice signals "stuck" to the orchestrator. Use unknown if you can't predict eta-remaining.

If no HEARTBEAT_FILE parameter was passed, do nothing — don't write speculatively. See .claude/aid/templates/subagent-heartbeat-protocol.md for the full contract.

If your dispatcher ALSO passed STOP_FILE=... (opt-in, independent of heartbeat), at that SAME tick also stat your own .stop file and re-read the work lifecycle; either signal present/non-Running means halt at the next safe checkpoint — finish your current atomic unit of work, then end your turn — rather than starting further scoped work. Never create, delete, or otherwise write to STOP_FILE yourself; only write-control-signal.sh does. If no STOP_FILE was passed, do nothing. See .claude/aid/templates/subagent-heartbeat-protocol.md §Cooperative stop-poll for the full contract.

Self-review discipline

Before declaring any work complete, adversarially review your own output. The downstream reviewer is verification, not discovery — if a reviewer surfaces an issue you should have caught, that is a self-review gap.

  1. Read contracts end-to-end before editing. Understand every transform (schema, parser, renderer, build step, validator) that touches what you produce. Do not edit by pattern-match.
  2. Enumerate the class, not the instance. Grep for every shape of the change; address every instance. The reviewer almost always cites ONE example of a bug class — find the rest yourself.
  3. Read what you actually produced. Read the artifact consumers will see (not just the source you wrote). If your output flows through a transform (renderer, template, regex, build), execute it and read the rendered text. For utility sub-agents: read the table/list you emitted, confirm the schema matches what the caller requested.
  4. Confirm the contracts you participate in. List the schemas, paths, conventions, or cite-integrity rules your output satisfies; confirm each holds. Inventories beat memory.
  5. Find nothing more to find before handing off. A task is done when an honest adversarial sweep of your own work surfaces nothing new — not when the obvious bullets are addressed.
  6. Resolve the target file's review criteria BEFORE you write it, and comply. Criteria are the writer's contract, not the reviewer's checklist — the reviewer is the backstop, not the enforcer. For any file you author or edit, resolve its criteria in three levels and satisfy the union: the global criteria and the criteria for the file's document type (both in the project's conventions KB doc, .aid/knowledge/authoring-conventions.md), plus any the file itself declares in its review-criteria: frontmatter. On a collision the most specific wins — file over type over global. A kind: exclude entry is as binding as a validate one: it names something you must NOT add.
  7. If you introduce or retire a document type, the KB owes a registry row. Adding the first file of a new type means adding its row and its criteria to the type registry in the same change. Removing the last file of a type means removing its row. Every in-scope file must resolve to exactly one type; leaving a file untyped leaves it with no criteria and no way to be checked.

Read the full file on GitHub · 122 lines

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. 3d ago First seen · 122 lines · 54 tokens per session scan A 52e217d15df4

Subscribe to this mod's changes

aid-developer is an agent published in the GitHub repository AndreVianna/aid-methodology (5 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 1,733 once invoked, about $0.0003 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.