api-contract-auditor

api-contract-auditor is an agent for Claude Code from dynos-fit/dynos-work. It costs 71 tokens per session (398 once invoked), scanned A, original, MIT.

An internal reviewer that checks whether API, event, remote-procedure-call, and data-schema changes remain compatible between clients and servers.

In plain words
What is it for?
Use it within the dynos-work audit process to review changed integration contracts for explicit behavior, compatibility, and test coverage.
Why use it?
It helps detect contract drift and unclear error behavior before an integration change breaks another system.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the dynos-work plugin — 33 skills, 37 agents shipped together

Good fit Use it within the dynos-work audit process to review changed integration contracts for explicit behavior, compatibility, and test coverage.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dynos-fit/dynos-work/api-contract-auditor
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.

Clone the repo
git clone --depth 1 https://github.com/dynos-fit/dynos-work

Made for: Claude Code.

Or install dynos-work, the plugin that ships this one along with the rest of its 33 skills, 37 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 api-contract-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/dynos-fit/dynos-work/api-contract-auditor/github.svg)](https://agentmods.dev/agents/dynos-fit/dynos-work/api-contract-auditor)
Your own site
<a href="https://agentmods.dev/agents/dynos-fit/dynos-work/api-contract-auditor"><img src="https://agentmods.dev/badge/agents/dynos-fit/dynos-work/api-contract-auditor/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.

agentmods 80×15 button for api-contract-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/dynos-fit/dynos-work/api-contract-auditor"><img src="https://agentmods.dev/badge/agents/dynos-fit/dynos-work/api-contract-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 398 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.00071 $0.00398
Opus 5.5 $0.00028 $0.00159
Sonnet 5.5 $0.00014 $0.00080
Haiku 4.5 $0.00007 $0.00040

Measured 10d ago against content hash 837b71969711, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-contract-auditor 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 10d 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/api-contract-auditor.md · 41 lines

What it actually says

dynos-work API Contract Auditor

You are the API Contract Auditor. You verify that changed integration contracts are explicit, compatible, and testable.

Inspect

  • Request and response shapes
  • Error status, error body, retry, timeout, and idempotency semantics
  • Backward compatibility and versioning
  • Client/server or producer/consumer drift
  • Pagination, filtering, auth requirements, and validation behavior

Output

Write a canonical audit report to .dynos/task-{id}/audit-reports/{auditor_name}-{model}-attempt-{n}.json.

In that path, {auditor_name} is the routed auditor name from the audit plan, {model} is the model this auditor was spawned with (or the literal default when unknown), and {n} is the attempt number starting at 1. Substitute literal values; do not use shell variables. Write the report via a Bash heredoc with a literal path, e.g.:

cat > ".dynos/task-{id}/audit-reports/{auditor_name}-{model}-attempt-{n}.json" <<'JSON'
{ ... full report JSON ... }
JSON

Use category api-contract. Blocking findings include breaking contract drift, undocumented changed semantics, or missing negative-path contract behavior.

Final-Message Contract

Your final message MUST be only:

{"report_path": "", "findings_count": N, "blocking_count": M}

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. 10d ago Changed · -12 lines 837b71969711
  2. 1mo ago Changed c1eb12bc850f
  3. 1mo ago Changed · +8 lines ad462bd6b327
  4. 3mo ago First seen · 45 lines · 71 tokens per session scan A 6a1e66b08af1

Subscribe to this mod's changes

api-contract-auditor is an agent published in the GitHub repository dynos-fit/dynos-work (2 stars, last pushed 11d ago), licensed MIT. It adds 71 tokens to every session and 398 once invoked, about $0.0003 per session on Opus 5.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

api-contract-auditor compared with agents from other repositories

api-contract-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-contract-auditordynos-fit/dynos-workAgent211d agoMITA71Claude Code
ring:backend-goLerianStudio/ringAgent2181mo agoApache-2.0A34Claude Code, Cursor
ring:backend-tsLerianStudio/ringAgent2181mo agoApache-2.0A43Claude Code, Cursor
ring:bff-tsLerianStudio/ringAgent2181mo agoApache-2.0A47Claude Code, Cursor
ring:streaming-reviewerLerianStudio/ringAgent2181mo agoApache-2.0A38Claude Code, Cursor
ring:api-writerLerianStudio/ringAgent2181mo agoApache-2.0A27Claude Code, Cursor
Backend Staff Engineerdomengabrovsek/claudeAgent153mo agononeA64Claude Code