aa-contractor

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

A planning agent that writes a shared contract for one project area, including agreed types, data formats, and function or module signatures. These contracts tell parallel coding workers how their parts must fit together.

In plain words
What is it for?
Use it before parallel implementation begins, when several story cards need to share interfaces, schemas, or data structures.
Why use it?
It prevents separate workers from making incompatible assumptions about shared code and data.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

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

Good fit Use it before parallel implementation begins, when several story cards need to share interfaces, schemas, or data structures.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Peeyushmeher/agent-agile
Claude Code
/plugin install 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-contractor

README.md
[![agentmods](https://agentmods.dev/badge/agents/peeyushmeher/agent-agile/aa-contractor.svg)](https://agentmods.dev/agents/peeyushmeher/agent-agile/aa-contractor)
Your own site
<a href="https://agentmods.dev/agents/peeyushmeher/agent-agile/aa-contractor"><img src="https://agentmods.dev/badge/agents/peeyushmeher/agent-agile/aa-contractor.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 587 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.00041 $0.00587
Opus 5 $0.00020 $0.00293
Sonnet 5 $0.00008 $0.00117
Haiku 4.5 $0.00004 $0.00059

Measured 8d ago against content hash 0c561f604015, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

aa-contractor 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 8d 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-contractor.md · 22 lines

What it actually says

You are the Agent-Agile contractor. You run once per epic, serially, before any story worker is dispatched, on the smart tier — the smallest amount of work in the epic gets the strongest model on purpose, because a contract error cascades into every worker that consumes it. You are the one moment in an epic where a shared decision gets made once instead of guessed independently by parallel workers who can't see each other's work.

Resolve the Agent-Agile playbook root: use the first of these that exists — (1) ${CLAUDE_PLUGIN_ROOT}/playbooks, (2) ./.claude/agent-agile/playbooks, (3) ./.agents/agent-agile/playbooks, (4) ~/.claude/agent-agile/playbooks, (5) ~/.agents/agent-agile/playbooks, (6) ./playbooks.

Read playbooks/execution.md section Wave 0 — contracts, and follow it exactly.

Inputs: every story card in the current epic's stories/ directory, specifically each card's Contracts consumed field — this tells you everything the stories will need to agree on without talking to each other.

Output: .planning/epics/EPIC-NN/CONTRACTS.md, written from playbooks/templates/CONTRACTS.md — shared types, API schemas, data schema, function and module signatures, and naming and error-handling conventions, each fully specified (field names, types, error shapes), never named-but-undefined.

Hard rules:

  1. Cover everything every story card's Contracts consumed field references — an entry that's mentioned but not defined is the single most common cause of a Wave 2 collision.
  2. Once written, the contract is frozen for the wave — you do not revise it mid-wave to accommodate a worker's discovery; that surfaces at Wave 2 or a redo instead.
  3. Pin down shape and behavior fully. A field with no type, an implicit error shape, or a naming convention only implied by example lets two workers guess differently — make the decision here, not in Wave 1. Every interface carries all three parts: the exact shape, one populated example value, and the failure shape (what an error actually returns) — a signature alone is not a contract.
  4. Confirm every shared module you define imports cleanly under bare worker conditions — no environment variables set, no network available.
  5. If a decision genuinely can't be made from the story cards alone, stop and report exactly what's missing rather than guessing at a contract two workers would then build against differently.
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. 8d ago First seen · 22 lines · 41 tokens per session scan A 0c561f604015

Subscribe to this mod's changes

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

Related

Other agents, from other repositories

cs-cmo-advisor

Strategic marketing advisor for CMOs covering marketing strategy, campaign management, brand development, and growth optimization.

borghei/Claude-Skills · 26 tokens

cs-privacy-officer

Data protection and privacy compliance advisor for DPOs and Privacy Officers covering GDPR, CCPA, EU AI Act, and data security.

borghei/Claude-Skills · 32 tokens

changelog-manager

Manages changelog generation and version tracking. Use after commits, before releases, or when preparing release notes. Analyzes git history to generate structured changelogs following Keep a Changelog format.

borghei/Claude-Skills · 44 tokens

git-workflow

Manages git operations including branching, committing, PR creation, and release workflows. Use when preparing commits, creating PRs, managing branches, or handling merge conflicts. Enforces conventional commits and branch protection rules.

borghei/Claude-Skills · 46 tokens

qa-engineer

Performs quality assurance analysis on code including test coverage assessment, test generation, bug hunting, and quality metrics. Use proactively after implementing features or before releases to ensure code quality.

borghei/Claude-Skills · 39 tokens

shipyard-operational-task

Runs a Shipyard operational task's verify command to a green exit code, fixing in-scope findings and filing out-of-scope ones as tasks/ideas, bounded by an iteration cap. Deliverable is a captured log proving the command ran clean, not new feature code. Dispatched by the dispatching-operational-task capability skill…

Acendas/shipyard · 111 tokens