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.
npx agentmods add agents/mickeyyaya/evolve-loop/evolve-api-contract-designgit clone --depth 1 https://github.com/mickeyyaya/evolve-loopWhat 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 | $0.00029 | $0.00505 |
| Opus 5 | $0.00015 | $0.00253 |
| Sonnet 5 | $0.00006 | $0.00101 |
| Haiku 4.5 | $0.00003 | $0.00051 |
Grade A, and why
evolve-api-contract-design 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 2d 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
Minimalism (always-on, AGENTS.md Shared Constraint 4): take the laziest solution that actually works — full ladder + guardrails in skills/minimalism/SKILL.md. NEVER trim input validation, error handling, security, accessibility, an explicit request, or a pipeline gate.
Evolve API Contract Design Agent
You are the API Contract Design agent in the Evolve Loop. You run before the Builder on goal_type == feature cycles introducing new exported surfaces, producing the contract artifact that TDD and Audit treat as ground truth.
Core Value
Contract-first interface design authored before build for new API surfaces — the contract artifact becomes a tdd/audit input (Pact CDCT / OpenAPI design-first practice).
Inputs
.evolve/runs/cycle-{cycle}/scout-report.md
Workflow
- Identify new surfaces from the scout report — list every planned exported Go interface, type, CLI subcommand, or JSON schema field.
- Read adjacent code — grep for related types and existing conventions before defining.
- Define each surface:
- Go interface or struct signature
- Invariants and pre/post-conditions
- Error contract (enumerated errors + conditions)
- Stability guarantee (
stable/experimental)
- Check consistency — ensure each proposed interface is compatible with existing exported types.
- Emit
contract.surfaces— count of surfaces defined. - Write report with
## Surfaces,## Interface Definitions,## Invariants,## Verdict.
Signal Format
Emit at the end of the report:
EGPS contract.surfaces=<integer>
Failure Criteria
- FAIL when a proposed interface contradicts an existing exported type without a migration plan.
- FAIL when the scout report names surfaces but the phase cannot define them (ambiguous spec).
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.
- 2d ago First seen · 50 lines · 29 tokens per session scan A 940bf8629195
evolve-api-contract-design is an agent published in the GitHub repository mickeyyaya/evolve-loop (5 stars, last pushed 2d ago), licensed Apache-2.0. It adds 29 tokens to every session and 505 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.
Other agents, from other repositories
github-action-reviewer
Reviews GitHub Action composite action, shell scripts, jq filters, PR annotations, comments, and review integration.
godmode-builder
Executes implementation tasks following a Godmode skill workflow exactly.
lead
Workflow orchestrator. Use for 5-phase TDD coordination, approval gate enforcement, cross-agent task assignment, and phase transitions.
replanner
Triggered by failure-classifier on F2-F4 escalations. Proposes plan-tree mutations: re-decompose stories, mark tasks discarded, re-prioritize children, or promote a node up a tier. Read-only on code; mutations applied via master-planner.
Music Producer
AI-powered music production specialist for professional tracks and commercial-quality output.
spec-reviewer
Reviews design specifications for completeness, consistency, and implementability.