spec-conformance

spec-conformance is a skill for Claude Code, Codex from hams-ollo/zen-agent-skills. It costs 122 tokens per session (1,375 once invoked), scanned A, original, MIT.

A review skill that compares an implementation with a written specification, section by section. It produces a conformance matrix showing whether each requirement matches the code, with file or test evidence when available.

In plain words
What is it for?
Use it to audit a feature or issue against its spec and document conforming, diverging, or unresolved requirements.
Why use it?
Passing tests alone may not prove that the implementation follows every written requirement. This review makes missing or different behavior visible before closing the work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to audit a feature or issue against its spec and document conforming, diverging, or unresolved requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hams-ollo/zen-agent-skills/spec-conformance
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 hams-ollo/zen-agent-skills --skill spec-conformance
Clone the repo
git clone --depth 1 https://github.com/hams-ollo/zen-agent-skills

Made for: Claude Code, Codex.

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 spec-conformance

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hams-ollo/zen-agent-skills/spec-conformance"><img src="https://agentmods.dev/badge/skills/hams-ollo/zen-agent-skills/spec-conformance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,375 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 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.00122 $0.01375
Opus 5 $0.00061 $0.00687
Sonnet 5 $0.00024 $0.00275
Haiku 4.5 $0.00012 $0.00137

Measured 5d ago against content hash f8c7296a64fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

spec-conformance 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 5d 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.

.agents/skills/spec-conformance/SKILL.md · 74 lines

How it starts

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

Spec conformance

Adapted from repoprompt-workflows (Balarama Bosch), MIT.

Intent

Prove the implementation conforms to the spec, section by section. Green tests are not proof: they assert code contracts (an element exists, an endpoint returns 200), not that behavior matches the spec's requirements. This skill is the audit that closes that gap.

It is the report-only half of the kit's independent verification. The matrix it produces is an input, not a verdict: verifier-agent composes this lens for the contract half of its own pass / fail / blocked decision, and fix-batch runs that verification against every worktree before anything is reconciled. Use this lens directly when the spec-versus-code audit is all you want; go through verifier-agent when the question is whether the work is ready to land.

When to use

  • Before closing a spec-driven issue or feature, where the matrix is the evidence that it is done.
  • When asked "does the implementation match the spec?" or "what diverges from the spec?"
  • To produce a conformance report for a spec, conventionally at docs/spec/<spec>.conformance.md.

Inputs

  • spec path (required): the spec document to audit.
  • implementation scope (optional): defaults to the repo or working tree.

Workflow

  1. Enumerate every auditable item in the spec: each scenario (S-NNN), each proposed surface element (tool, endpoint, parameter, field, or return shape), and each stated value, enum, or constraint.
  2. Locate evidence for each item in the implementation: a code location (file:symbol) or a test that asserts the requirement.
  3. Classify each item: Conformed (evidence matches the requirement) | Diverged (evidence conflicts, state both the spec side and the code side) | Not-built (no evidence found).
  4. Coverage proof: emit the audited set (every item checked) and the unreconciled set (Diverged + Not-built). Each unreconciled item is either to-fix or accepted-with-reason; nothing is silently dropped.

Read the full file on GitHub · 74 lines

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. 5d ago Changed · +5 lines f8c7296a64fc
  2. 9d ago First seen · 69 lines · 122 tokens per session scan A 9dc2b86aee95

Subscribe to this mod's changes

spec-conformance is a skill published in the GitHub repository hams-ollo/zen-agent-skills (2 stars, last pushed 7d ago), licensed MIT. It adds 122 tokens to every session and 1,375 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

backlog-reconcile

Use when auditing, reconciling, or verifying a repo's meta/BACKLOG.md Active queue against reality, "audit the backlog", "reconcile the board", "is the board still true", "dọn backlog", "rà soát backlog", "check board rows against their specs", or when a scheduled run asks for the backlog-reconcile audit of a repo.…

dwarvesf/dwarves-kit · 155 tokens

setup-rootloom

Plan, install, inspect, update, or roll back Rootloom Personal Core in a user's Codex home. Supports Skills-only, guidance, and the recommended personal preset. Use when the user explicitly asks for a Rootloom setup plan, installation, configuration, bootstrap, repair, audit, status, update, reduction, rollback, or…

qingye-lab/rootloom · 87 tokens

project-memory

Initialize, retrieve, and explicitly update the separate Rootloom Memory plugin's repository-owned architecture, risk, decision, and failure lessons. Use only when explicitly requested. Memory is experimental, advisory, and outside Rootloom Core.

qingye-lab/rootloom · 47 tokens

project-guidance

Create, refine, or validate repository guidance on explicit user request; preserve real-path scope, managed ownership, and unrelated content.

qingye-lab/rootloom · 29 tokens

gauntlet-proof-audit

Use to audit the gauntlet records, "are the ROUNDS.md records honest", "verify the proof corpus", "check each run record against its evidence", "audit the gauntlet corpus", "is the gauntlet proof trustworthy", or a scheduled gauntlet-proof-audit cadence run. Enumerates every committed gauntlet run record…

dwarvesf/dwarves-kit · 177 tokens

doc-drift

Use for the whole-estate doc audit, "run the doc-drift loop", "audit the docs against the code", "are the docs still true", "doc drift sweep", "check every doc claim", or a scheduled doc-audit cadence run. Enumerates every LIVING doc (README, MANUAL, AGENTS, WORKFLOW, architecture, patterns), verdicts each against the…

dwarvesf/dwarves-kit · 163 tokens