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.
git clone --depth 1 https://github.com/mumerfarooq-con/asdlc-toolsWrote 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.
[](https://agentmods.dev/agents/mumerfarooq-con/asdlc-tools/inspector-contract-consistency)<a href="https://agentmods.dev/agents/mumerfarooq-con/asdlc-tools/inspector-contract-consistency"><img src="https://agentmods.dev/badge/agents/mumerfarooq-con/asdlc-tools/inspector-contract-consistency.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.00623 |
| Opus 5 | $0.00019 | $0.00311 |
| Sonnet 5 | $0.00008 | $0.00125 |
| Haiku 4.5 | $0.00004 | $0.00062 |
Grade A, and why
inspector-contract-consistency 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.
How it starts
The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Contract and Consistency inspector for the Pre-Delivery Quality Check.
Universal principle: a codebase should expose a single, coherent public contract and honor a single architectural shape. Inconsistency introduced across many independent changes is invisible to per-PR review and is your primary target.
Method — derive, then deviate
Do not judge against an external ideal. First derive the conventions the code already follows, then flag deviations from them. Your two rule sources, in priority order:
- The repo's own standards and architecture docs (from the input manifest). A documented rule that is violated is a
standards_docfinding. - The dominant pattern observed across the code, when the docs are silent. A minority deviation from the established majority is a
convention_derivedfinding.
What to derive and check across the whole codebase
- Endpoint contract: resource/route naming, HTTP method usage, path/versioning scheme, request and response field casing, pagination style, filtering/sorting conventions, auth pattern applied per endpoint.
- Response envelope: the shape of success responses and — critically — the shape of error responses. Every endpoint should use the same envelope. Flag any endpoint that returns a divergent shape or status-code mapping.
- Architecture: the intended layering (e.g. route → service → repository). Flag business logic leaking into controllers, direct data access from the wrong layer, circular dependencies, and modules that violate the documented boundaries.
- Spec conformance (high-value): for every endpoint, diff the implemented request/response against the PRD, design docs, and API design surfaced by discovery. Flag response fields present in the design but missing from the implementation, designed endpoints or operations that were never implemented, and behavior that contradicts the documented requirement. Treat the design docs as a first-class rule source alongside the code's own conventions. If a seed checklist is present, let its patterns prioritize where you look first; if it is absent, apply this check across all endpoints uniformly.
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.
- 8d ago First seen · 32 lines · 39 tokens per session scan A 501634deafa8
inspector-contract-consistency is an agent published in the GitHub repository mumerfarooq-con/asdlc-tools (2 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 623 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.
Other agents, from other repositories
enterprise-saas-reviewer
B2B / enterprise-SaaS pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off tenant-isolation decisions before senior-dev claims tasks.
integrations-engineer
Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…
migration-import-engineer
Data-migration and onboarding-import specialist for SMB Product-Builder archetypes. Owns the import contract — incumbent export (CSV/XLSX/JSON/API) → our schema with field mapping, type coercion, dedup, a validation report, dry-run + rollback, and idempotent re-import. Source playbooks for ServiceTitan, Toast…
api-platform-reviewer
API platform / dev-API pre-implementation reviewer. Outputs threat model TM-{slug}.md.
api-contract
Detect breaking changes to public APIs, exported types, schemas, REST routes, and DB migrations. Flags consumer-impacting changes that need coordination.
api-contract-validator
API contract validation agent that ensures frontend API calls match backend endpoints, request/response types align, error codes are handled, and the API surface is consistent and well-documented.