contract-fidelity-lens

contract-fidelity-lens is an agent for Claude Code from SebastienDegodez/skraft-plugin. It costs 46 tokens per session (782 once invoked), scanned A, original, GPL-3.0.

A review check for provider-side contract tests, which verify that an API provider follows its agreed contract. It audits required test setup, response details, optional verification behavior, and the absence of real downstream calls.

In plain words
What is it for?
Use it to inspect provider-side API contract tests for correct assertions, configuration, and isolation from real downstream services.
Why use it?
A contract test can give false confidence if it omits required headers, error details, or external-call safeguards. This check finds those gaps.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Part of the skraft plugin — 43 skills, 20 agents, 5 hooks shipped together

Good fit Use it to inspect provider-side API contract tests for correct assertions, configuration, and isolation from real downstream services.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sebastiendegodez/skraft-plugin/contract-fidelity-lens
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.

Clone the repo
git clone --depth 1 https://github.com/SebastienDegodez/skraft-plugin

Made for: Claude Code.

Or install skraft, the plugin that ships this one along with the rest of its 43 skills, 20 agents, 5 hooks.

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-fidelity-lens

README.md
[![agentmods](https://agentmods.dev/badge/agents/sebastiendegodez/skraft-plugin/contract-fidelity-lens/github.svg)](https://agentmods.dev/agents/sebastiendegodez/skraft-plugin/contract-fidelity-lens)
Your own site
<a href="https://agentmods.dev/agents/sebastiendegodez/skraft-plugin/contract-fidelity-lens"><img src="https://agentmods.dev/badge/agents/sebastiendegodez/skraft-plugin/contract-fidelity-lens/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-fidelity-lens

Your own site · 80×15
<a href="https://agentmods.dev/agents/sebastiendegodez/skraft-plugin/contract-fidelity-lens"><img src="https://agentmods.dev/badge/agents/sebastiendegodez/skraft-plugin/contract-fidelity-lens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 782 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.
Origin unknown 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.00046 $0.00782
Opus 5.5 $0.00018 $0.00313
Sonnet 5.5 $0.00009 $0.00156
Haiku 4.5 $0.00005 $0.00078

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

Security

Grade A, and why

contract-fidelity-lens 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 20d 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.

plugins/skraft-framework/com.anthropic.claude-code/agents/contract-fidelity-lens.md · 86 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 20d ago First seen · 86 lines · 46 tokens per session scan A fcfac5f3a546

Subscribe to this mod's changes

contract-fidelity-lens is an agent published in the GitHub repository SebastienDegodez/skraft-plugin (10 stars, last pushed today), licensed GPL-3.0. It adds 46 tokens to every session and 782 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-26.

Related

Other agents, from other repositories

plinth-java-spring-boot-coder

Implementation specialist for Spring Boot projects. Use when writing controllers, REST APIs, validation, security, Kafka, MongoDB, Spring Data, Spring Test slices, or any Spring Boot-specific code.

jabrena/plinth · 48 tokens

swift-reviewer

Independent verifier for Swift/iOS changes. Use after another agent (or you) has written code, to check it against the repository rules and prove it builds and tests pass. Runs builds and tests and returns their real output. Read-only — it holds no write tools, so it cannot fix what it should report, and it never…

Nagarjuna2997/ios-agent-skill · 76 tokens

testing-expert

Read-only testing reviewer. Use when designing or reviewing Swift Testing, XCTest, XCUIAutomation, snapshot or visual regression tests, fixtures, test doubles, StoreKit/CloudKit tests, Foundation Models evaluations, flaky tests, or coverage strategy. Reports recommendations and does not edit code.

Nagarjuna2997/ios-agent-skill · 60 tokens

qa-engineer

Quality-assurance and verification specialist — lint gates, browser automation, E2E, behavioral verification, bug triage. Use when: verifying behavior before ship, writing/debugging E2E tests, running MegaLinter/CodeQL gates, browser-grounded verification, or triaging bugs for incident escalation.

ulises-jeremias/agent-toolkit · 66 tokens

ndv-tester

Test generation specialist. Use when writing tests, improving coverage, or ensuring correctness. Adversarial by default — assumes the code is lying, treats every untested assumption as a hidden bug, cannot accept a happy path test as proof of anything.

emb715/neurodiveragents · 54 tokens

tdmcp-bridge-engineer

You build the part of tdmcp that the isolated tool-builders cannot: the bridge vertical slice. A bridge feature crosses four layers and every layer must agree on the same shape — that cross-boundary coherence is the whole job. Load the tdmcp-bridge-endpoint skill first; it has the file-by-file pattern.

Pantani/tdmcp · 165 tokens