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/morodomi/dev-crew/api-contract-reviewergit clone --depth 1 https://github.com/morodomi/dev-crewWhat 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.00035 | $0.00500 |
| Opus 5 | $0.00017 | $0.00250 |
| Sonnet 5 | $0.00007 | $0.00100 |
| Haiku 4.5 | $0.00003 | $0.00050 |
Grade A, and why
api-contract-reviewer 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
Focus
| 観点 | チェック内容 | 参照元 |
|---|---|---|
| Breaking Changes | required field 後追い追加、enum 値削除、レスポンス型変更、URL パス変更 | Azure Breaking Changes Guidelines |
| Resource Naming | リソース名の一貫性、複数形/単数形、ネスト深度 | Google API Design Guide |
| Error Structure | エラーレスポンス構造の一貫性、HTTP ステータスコード適切性 | Microsoft REST API Guidelines |
| Versioning | バージョニング戦略の一貫性 | Google API Design Guide |
| Pagination | ページネーション実装の一貫性 | Microsoft REST API Guidelines |
Output
{"blocking_score": 0-100, "issues": [{"severity": "critical|important|optional", "category": "breaking-change|naming|error-structure|versioning|pagination", "message", "file", "line", "suggestion"}]}
ブロッキングスコア基準
blocking_score: パイプラインをブロックすべき度合い(0 = 問題なし, 100 = ブロック必須) 80-100→BLOCK | 50-79→WARN | 0-49→PASS
Memory
起動時に注入される agent memory(.claude/agent-memory/dev-crew-api-contract-reviewer/MEMORY.md)を過去知見として参照のみ行う(Write/Edit は disallowedTools で不可。更新は人間が手動で行う)。
Record 対象(人間が手動記録): プロジェクト固有の API 命名規約、バージョニング戦略、既知の破壊的変更履歴。
Skip: 一般的な REST 設計知識、フレームワーク固有の API ルーティング構文。
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 · 34 lines · 35 tokens per session scan A e6cc902afa6b
api-contract-reviewer is an agent published in the GitHub repository morodomi/dev-crew (1 stars, last pushed 4d ago), licensed MIT. It adds 35 tokens to every session and 500 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
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.