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 darellchua2/opencode-config-template --skill openapi-contract-adherence-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote 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/darellchua2/opencode-config-template/openapi-contract-adherence-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/openapi-contract-adherence-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/openapi-contract-adherence-skill/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/darellchua2/opencode-config-template/openapi-contract-adherence-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/openapi-contract-adherence-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 13 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Tool Misuse · line 230 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- high Tool Misuse · line 269 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- high Tool Misuse · line 334 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- high Tool Misuse · line 396 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- medium MCP Rug Pull · line 61 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 70 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 198 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium Prompt Injection · line 450 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium MCP Rug Pull · line 452 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 477 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 453 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium Prompt Injection · line 454 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- low Tool Misuse · line 198 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00052 | $0.00768 |
| Opus 5.5 | $0.00021 | $0.00307 |
| Sonnet 5.5 | $0.00010 | $0.00154 |
| Haiku 4.5 | $0.00005 | $0.00077 |
Grade A, and why
openapi-contract-adherence-skill 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 2mo 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 — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
Diff OpenAPI specs (oasdiff), classify every change Breaking/Additive/Cosmetic with semver impact and consumer action, emit CONTRACT_DIFF.{md,json} + a migration plan.
When to use me
Spec changed in a PR; consumer-impact review; before publishing a new API version; regenerating SDK clients.
Tools: oasdiff (primary; Docker fallback tufin/oasdiff:stable); linters redocly lint / spectral lint; generators per client language.
Workflow
- Discover specs: git-based baseline (
git show <base>:path/to/spec.yaml > base.yaml; default = target branch merge-base) or manual baseline; monorepos — diff each spec independently and report per-spec. - Validate both specs (
redocly lint; fix errors before diffing — an invalid spec yields garbage diffs). - Diff — three oasdiff invocations (intermediates, gitignored via
.oasdiff-*):oasdiff changelog base.yaml revision.yaml --format markdown > .oasdiff-changelog.md(human) ·--format json > .oasdiff-changelog.json(feeds summary counts) ·oasdiff breaking base.yaml revision.yaml --format json > .oasdiff-breaking.json(feedsbreakingChanges[]). - Classify with the matrix below; semverBump rollup: any Breaking → major; else any Additive → minor; else Cosmetic → patch; else none.
- Map consumers: grep call sites for each changed operation/path (
rg '"/users' --type ts -letc.); each hit gets the consumer action. - Emit
CONTRACT_DIFF.md(changelog + impact) andCONTRACT_DIFF.json({summary: {breaking, nonBreaking, cosmetic, semverBump}, breakingChanges: [...], consumerImpact: [...]}) + a migration plan section per breaking change. Intermediates never committed.
Classification matrix (authoritative)
| Change | Severity | Semver | Consumer action |
|---|---|---|---|
| Operation removed / path or param renamed | Breaking | Major | remove/replace call site, update route construction |
| Required request field added | Breaking | Major | send the new field |
Field type changed / format changed (int32→int64) |
Breaking | Major | update types + parsing |
| Response field removed / status code changed or removed | Breaking | Major | stop relying on field; update branching |
| Enum value removed | Breaking | Major | remove branches on that value |
| Required response field added | Breaking | Major | update null-checks |
| Security scheme changed / required header removed | Breaking | Major | update auth flow / request builder |
| Constraint tightened | Breaking | Major | re-validate inputs client-side |
| Optional field added (request or response) | Non-breaking | Minor | optional adoption |
| New operation / additive response field | Additive | Minor | optional adoption |
| Description/title/summary updated | Cosmetic | Patch | none |
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.
- 2mo ago Changed · -456 lines b1d5b93347ee
- 3mo ago First seen · 505 lines · 52 tokens per session scan A 337cd8106242
openapi-contract-adherence-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 768 once invoked, about $0.0002 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-09-03.
openapi-contract-adherence-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| openapi-contract-adherence-skilldarellchua2/opencode-config-template | Skill | 6 | 2mo ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| sanity-best-practicesvercel/eve | Skill | 6.2k | today | Apache-2.0 | A | 153 | Claude Code, Codex |
| reviewvercel/eve | Skill | 6.2k | today | Apache-2.0 | A | 31 | Claude Code, Codex |
| horse-app-structureHashLoad/horse | Skill | 1.4k | 2d ago | MIT | A | 26 | Claude Code, Codex |
| om-system-extensionopen-mercato/open-mercato | Skill | 2.0k | today | MIT | A | 73 | Claude Code, Codex |
| flow-next-impl-reviewgmickel/flow-next | Skill | 737 | 4d ago | MIT | A | 34 | Claude Code, Codex |
| api-contract-reviewTencentCloudBase/CloudBase-AI-Toolkit | Skill | 1.2k | yesterday | MIT | A | 54 | Claude Code |