spec-health

spec-health is a skill for Claude Code from delimit-ai/delimit-mcp-server. It costs 18 tokens per session (66 once invoked), scanned A, original, MIT.

A skill for assessing the quality of an OpenAPI specification, a document that describes how a web API works. It reports the specification's score, grade, dimension scores, and recommendations, or surfaces an error if assessment fails.

In plain words
What is it for?
Use it to evaluate a local OpenAPI YAML or JSON file and prepare a quality report for improving the API contract.
Why use it?
An API specification can be incomplete or unclear even when the API itself runs. Reviewing it systematically helps identify documentation and contract problems before clients depend on it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the delimit-governance plugin — 3 skills, 1 MCP server shipped together

Good fit Use it to evaluate a local OpenAPI YAML or JSON file and prepare a quality report for improving the API contract.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/delimit-ai/delimit-mcp-server/spec-health
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 delimit-ai/delimit-mcp-server --skill spec-health
Clone the repo
git clone --depth 1 https://github.com/delimit-ai/delimit-mcp-server

Made for: Claude Code.

Or install delimit-governance, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

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-health

README.md
[![agentmods](https://agentmods.dev/badge/skills/delimit-ai/delimit-mcp-server/spec-health/github.svg)](https://agentmods.dev/skills/delimit-ai/delimit-mcp-server/spec-health)
Your own site
<a href="https://agentmods.dev/skills/delimit-ai/delimit-mcp-server/spec-health"><img src="https://agentmods.dev/badge/skills/delimit-ai/delimit-mcp-server/spec-health/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-health

Your own site · 80×15
<a href="https://agentmods.dev/skills/delimit-ai/delimit-mcp-server/spec-health"><img src="https://agentmods.dev/badge/skills/delimit-ai/delimit-mcp-server/spec-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 66 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.00018 $0.00066
Opus 5.5 $0.00007 $0.00026
Sonnet 5.5 $0.00004 $0.00013
Haiku 4.5 $0.00002 $0.00007

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

Security

Grade A, and why

spec-health 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 9d 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.

claude-plugin-governance/skills/spec-health/SKILL.md · 7 lines

What it actually says

Call delimit_spec_health with the local YAML or JSON file path in spec. Report its overall score, grade, dimension scores, and recommendations. Surface any error instead of inventing a score.

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. 9d ago First seen · 7 lines · 18 tokens per session scan A 56b0c5174a87

Subscribe to this mod's changes

spec-health is a skill published in the GitHub repository delimit-ai/delimit-mcp-server (24 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 66 once invoked, about $0.0001 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-10-08.

Related

Other skills, from other repositories

API Contract Validator

Validate API responses against OpenAPI/Swagger specifications, JSON Schema definitions, and consumer-driven contracts to prevent breaking changes.

PramodDutta/qaskills · 26 tokens

OpenAPI Contract Completeness

Ensure OpenAPI specs define consistent request/response schemas, error model, auth, pagination, and backward compatibility.

s977043/river-review · 28 tokens

api-spectral

API specification linting and security validation using Stoplight's Spectral with support for OpenAPI, AsyncAPI, and Arazzo specifications. Validates API definitions against security best practices, OWASP API Security Top 10, and custom organizational standards. Use when: (1) Validating OpenAPI/AsyncAPI specifications…

AgentSecOps/SecOpsAgentKit · 138 tokens

coderifts

Call preflightchangeset before merge, deploy, publish, or tool registration when a contract artifact changed (OpenAPI/Swagger, GraphQL, gRPC/protobuf, AsyncAPI, MCP manifest, or agent tool schemas). Send the complete base-to-head change set. Branch on executionaction only. If you already hold a chain receipt and only…

coderifts/api-governance · 124 tokens

coderifts

Before merging or shipping a change to an API or tool contract, preflight the change set, then branch on executionaction.

coderifts/api-governance · 28 tokens

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens