contract-check

contract-check is a skill for Claude Code from flurdy/agent-skills. It costs 42 tokens per session (1,494 once invoked), scanned A, original, MIT.

A read-only audit for consumer-driven contract tests across services. These tests check that one service's expected API behavior still matches another service's implementation.

In plain words
What is it for?
It helps review contract-test status, stale or uncommitted Pact files, missing coverage, provider verification, sync paths, and related documentation.
Why use it?
It finds stale contracts, missing tests, synchronization gaps, uncommitted files, disabled checks, and documentation drift before they cause integration failures.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit It helps review contract-test status, stale or uncommitted Pact files, missing coverage, provider verification, sync paths, and related documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flurdy/agent-skills/contract-check
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.

Any agent
npx skills add flurdy/agent-skills --skill contract-check
Clone the repo
git clone --depth 1 https://github.com/flurdy/agent-skills

Made for: Claude Code.

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 contract-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/flurdy/agent-skills/contract-check/github.svg)](https://agentmods.dev/skills/flurdy/agent-skills/contract-check)
Your own site
<a href="https://agentmods.dev/skills/flurdy/agent-skills/contract-check"><img src="https://agentmods.dev/badge/skills/flurdy/agent-skills/contract-check/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.

agentmods 80×15 button for contract-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/flurdy/agent-skills/contract-check"><img src="https://agentmods.dev/badge/skills/flurdy/agent-skills/contract-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

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 →

  • medium Excessive Agency · line 6
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.1 $0.00042 $0.01494
Opus 5.5 $0.00017 $0.00598
Sonnet 5.5 $0.00008 $0.00299
Haiku 4.5 $0.00004 $0.00149

Measured 1mo ago against content hash d764433b58f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

contract-check 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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/contract-check.sh, tests/test_audit.py, tests/test_roles.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/contract-check/SKILL.md · 123 lines

How it starts

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

Contract Check — Read-Only Pact Health

Own contract health evidence and rendering. The runner owns explicit test generation, local sync, normalization and provider verification. Release workflows consume this audit's mechanical evidence; do not create a second health collector.

This audit never runs tests, creates links, changes permissions, copies pacts, fixes CI, or writes tracking. Do not normalize project files before auditing or dismiss generated-looking diffs by eye. Only a reviewed project scripts/pact-normalize hook may compare temporary copies. Report findings and optional next-command pointers without confirmation prompts or automatic handoffs. A separate setup request belongs to the project setup contract.

Usage

/contract-check                 # full mechanical and semantic audit
/contract-check status          # same evidence, summary only
/contract-check stale           # content equality and timestamp diagnostics
/contract-check uncommitted     # provider-pact Git status
/contract-check sync-gaps        # intended → built → synced edges
/contract-check coverage        # bounded static CircleCI evidence
/contract-check matrix          # observed consumer/provider file relationships
/contract-check missing         # semantic missing-test review
/contract-check docs            # semantic documentation drift
/contract-check disabled        # semantic test-exclusion review
/contract-check <service>        # verified service, scoped presentation

full and all mean the default full audit. Reject unrecognized arguments instead of guessing commands or treating an unknown name as a service. This is not a setup/remediation interface.

Prerequisites and scope

The helper requires Bash 4+, GNU stat/date, standard shell utilities and the existing project integration documented in project setup. Automated discovery is limited to flat services with target/pacts/ consumer output and (src/)test/resources/pacts/ provider input. Do not claim support for arbitrary language layouts or nested workspace paths.

Read the full file on GitHub · 123 lines

Files

What ships with it

4 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.

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. 1mo ago Changed d764433b58f1
  2. 1mo ago Changed · +2 lines cb8a236541b4
  3. 2mo ago Changed · -111 lines · +15 tokens per session 0a6073b5c788
  4. 2mo ago Changed 206bfec5bd7b
  5. 3mo ago First seen · 232 lines · 27 tokens per session scan A f861bc85b523

Subscribe to this mod's changes

contract-check is a skill published in the GitHub repository flurdy/agent-skills (10 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 1,494 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-08-31.

Related

contract-check compared with skills from other repositories

contract-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
contract-checkflurdy/agent-skillsSkill10yesterdayMITA42Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code