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 skills add KimYx0207/Kim_Service --skill api-contract-reviewgit clone --depth 1 https://github.com/KimYx0207/Kim_ServiceWrote 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/skills/kimyx0207/kim_service/api-contract-review)<a href="https://agentmods.dev/skills/kimyx0207/kim_service/api-contract-review"><img src="https://agentmods.dev/badge/skills/kimyx0207/kim_service/api-contract-review/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.
<a href="https://agentmods.dev/skills/kimyx0207/kim_service/api-contract-review"><img src="https://agentmods.dev/badge/skills/kimyx0207/kim_service/api-contract-review.svg" alt="Reviewed on agentmods" width="80" 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.00071 | $0.00586 |
| Opus 5.5 | $0.00028 | $0.00234 |
| Sonnet 5.5 | $0.00014 | $0.00117 |
| Haiku 4.5 | $0.00007 | $0.00059 |
Grade A, and why
api-contract-review 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 19d 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
API 契约审查
检查接口是否能被真实调用、正确失败并兼容现有消费者。
输入与开始方式
contract:当前和候选OpenAPI/接口说明及版本。缺规范可从真实调用归纳草案。consumers:消费者、调用流程和兼容承诺。先识别已知消费者,未知项单列。examples:真实或合成请求响应、异常和权限场景。可先写可执行契约样例,标明合成。
缺少非关键资料时,先给明确假设下的草案或局部结果;资料补齐后只重验受影响部分。授权已覆盖的可逆工作继续,不重复确认。
执行
- 读取当前接口和消费者,按用户动作定位实际调用链。
- 校验字段、可空性、枚举、状态码、分页和安全方案,再检查语义缺口。
- 比较旧新版本,标出请求新增必填、响应移除或权限语义变化。
- 对幂等、未知结果和异步接口写具体请求响应序列。
- 交修正清单与最小契约用例,独立消费者可据此并行。
交付
interfaceMap:接口与消费者映射。compatibility:兼容性变化。behaviorCases:行为案例。recommendations:最小修正建议。
检查结果
- 每关键动作有请求、响应、身份、错误和版本关系。
- 区分请求约束变严、响应字段变化和业务语义变化,给迁移窗口。
- 覆盖无权限、重复请求、分页边界、异步结果和错误恢复。
- 按真实消费者影响排序,先修阻断联调问题。
检查方法和证据要求在 method.json;参考 作者正反例 识别实际错误。
需要额外处理的动作
线上写入和第三方调用按当前授权;契约分析、样例生成和本地测试继续。
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 19d ago First seen · 47 lines · 71 tokens per session scan A 65cb9471a1e7
api-contract-review is a skill published in the GitHub repository KimYx0207/Kim_Service (198 stars, last pushed 12d ago), licensed MIT. It adds 71 tokens to every session and 586 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-11-11.
api-contract-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| api-contract-reviewKimYx0207/Kim_Service | Skill | 198 | 12d ago | MIT | A | 71 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 92 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 78 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 682 | 4d ago | MIT | A | 105 | Claude Code, Codex |
| migrate-segw-to-raparc-mcp/arc-1 | Skill | 275 | today | MIT | A | 106 | Claude Code |