api-contract-auditor

api-contract-auditor is an agent for coding agents from dynos-fit/dynos-work. It costs 71 tokens per session (525 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

Part of the dynos-work plugin — 18 skills, 38 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/dynos-fit/dynos-work/api-contract-auditor
Clone the repo
git clone --depth 1 https://github.com/dynos-fit/dynos-work

Or install dynos-work, the plugin that ships this one along with the rest of its 18 skills, 38 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.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.svg" alt="Measured on agentmods" 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 525 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.00071 $0.00525
Opus 5 $0.00036 $0.00262
Sonnet 5 $0.00014 $0.00105
Haiku 4.5 $0.00007 $0.00052

Measured 4d ago against content hash 6a1e66b08af1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 45 lines

How it starts

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

dynos-work API Contract Auditor

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

Turn Budget Discipline

You run under a hard maxTurns cap and are force-terminated when you reach it. Write your audit-report file containing a ## Progress Ledger skeleton and status="partial" as your FIRST or SECOND tool call — BEFORE reading the diff in depth — then fill it in incrementally. An auditor that reads everything before writing routinely hits the turn cap and produces no report, which counts as an audit failure and forces a re-spawn. Work that is not on disk does not exist. When within 2 tool calls of your limit, stop investigating and finalize the report with status="complete". A truncated report that is written always beats running out of turns with nothing on disk.

Progress Ledger

Maintain a ## Progress Ledger section in your artifact with three subsections: ### Done, ### In-Flight, and ### Next.

  • Set status="partial" in your artifact until all sections complete.
  • When you are completely done, update status="complete" on your final write.
  • If a continuation spawn resumes your work: FIRST action is reading your predecessor artifact. Do NOT redo sections listed in ### Done — continue from ### In-Flight or ### Next.

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/api-contract-{timestamp}.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}

Read the full file on GitHub · 45 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. 4d 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 1mo ago), licensed MIT. It adds 71 tokens to every session and 525 once invoked, about $0.0004 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

ring:review-slicer

Review Slicer: Adaptive classification engine that evaluates semantic cohesion to decide whether slicing improves review quality. Sits between Mithril pre-analysis and reviewer dispatch. Classification-only — does NOT read source code.

LerianStudio/ring · 45 tokens

ring:test-reviewer

Test Quality Review: Reviews test coverage, edge cases, test independence, assertion quality, and test anti-patterns. Runs in parallel with other reviewers at Gate 8.

LerianStudio/ring · 39 tokens

ring:codebase-explorer

Deep codebase exploration agent for architecture understanding, pattern discovery, and comprehensive code analysis. Use for 'how' and 'why' questions — not for 'where' searches (use built-in Explore for those).

LerianStudio/ring · 49 tokens

ring:obs-reviewer

Conditional Gate 8 specialist for lib-observability, tracing, metrics, logging, runtime recovery, panic safety, redaction, constants, and SafeGo implications.

LerianStudio/ring · 39 tokens

ring:prompt-reviewer

Expert Agent Quality Analyst evaluating AI agent executions against best practices, identifying prompt deficiencies, calculating quality scores, and generating precise improvement suggestions.

LerianStudio/ring · 32 tokens

company-finder

Discovery-mode agent. Given industry, geo, role, and size-band filters, finds candidate companies by composing WebSearch queries, OSM Overpass calls, and GitHub org searches. Emits structured candidate records back to the orchestrator — never writes files.

greglas75/zuvo · 55 tokens