validate-spec

validate-spec is a skill for Claude Code, Codex from cdeust/ai-architect-mcp-spec. It costs 66 tokens per session (246 once invoked), scanned A, original, MIT.

A checker for one section of a product requirements document or technical specification. It applies fixed rules to the section's structure, links between requirements, and internal consistency.

In plain words
What is it for?
Use it to validate sections such as requirements, user stories, acceptance criteria, APIs, data models, security, testing, deployment, risks, timelines, or source code.
Why use it?
It can find formatting and traceability problems without requiring the whole specification to be reviewed at once. A passing check does not prove that the ideas are correct or feasible.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the ai-architect-mcp-spec plugin — 3 skills, 1 command, 2 MCP servers shipped together

Good fit Use it to validate sections such as requirements, user stories, acceptance criteria, APIs, data models, security, testing, deployment, risks, timelines, or source code.

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

Made for: Claude Code, Codex.

Or install ai-architect-mcp-spec, the plugin that ships this one along with the rest of its 3 skills, 1 command, 2 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp-spec/validate-spec.svg)](https://agentmods.dev/skills/cdeust/ai-architect-mcp-spec/validate-spec)
Your own site
<a href="https://agentmods.dev/skills/cdeust/ai-architect-mcp-spec/validate-spec"><img src="https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp-spec/validate-spec.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 246 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.00066 $0.00246
Opus 5 $0.00033 $0.00123
Sonnet 5 $0.00013 $0.00049
Haiku 4.5 $0.00007 $0.00025

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

Security

Grade A, and why

validate-spec 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 8d 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.

skills/validate-spec/SKILL.md · 19 lines

What it actually says

Validate a specification section

Use the prd-spec-verifier MCP server for a focused structural check.

Workflow

  1. Read the section without rewriting it.
  2. Select the closest section_type accepted by the validate_prd_section tool schema. Ask for clarification if the section's role is ambiguous.
  3. Call validate_prd_section with the exact content and selected type.
  4. Report rule identifiers, severities, evidence, and the returned score. Separate violations from checks that passed.
  5. State the scope limit: the validator checks implemented formatting, traceability, and consistency rules. It does not prove that claims are true, requirements are desirable, code exists, or the design is feasible.

Do not infer semantic correctness from a zero-violation result. Do not edit the section unless the user asks for a revision.

Files

What ships with it

1 file 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. 8d ago First seen · 19 lines · 66 tokens per session scan A c193e86164ee

Subscribe to this mod's changes

validate-spec is a skill published in the GitHub repository cdeust/ai-architect-mcp-spec (3 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 246 once invoked, about $0.0003 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

adeu-redlining

Use this skill when reviewing, editing, redlining, or negotiating an existing Microsoft Word document (.docx) — including proposing edits as tracked changes, accepting or rejecting existing tracked changes, replying to comments, comparing two versions, sanitizing author metadata, or finalizing a contract for…

dealfluence/adeu · 122 tokens

lain

Structural code intelligence for AI coding agents. Use this skill when the user wants to understand how a codebase is organized (modules, call graphs, file dependencies), find where to start reading, trace the impact of a change, find code by meaning, or understand what a symbol does in its full context. Do NOT use…

spuentesp/lain · 90 tokens

wiki

Rebuild a flow-first project wiki using the mimirs wiki MCP tool. Use when the user asks to generate, rebuild, refresh, or write the wiki for a codebase.

TheWinci/mimirs · 38 tokens

plan

Design an implementation plan before writing code — where the change lands, what it will touch, what could break, and the steps in order. Use when asked to plan a feature, scope a change, or figure out how to approach an edit before making it. To assess a change that already exists (a diff, refactor, or rename), use…

TheWinci/mimirs · 75 tokens

research

Answer a hard, open-ended question about how the project works or is built by synthesizing every source — code, structure, git history, prior decisions, discussion, caveats — and verifying each claim against the source. Use for deep cross-cutting questions that span more than one area. Narrower siblings — a single…

TheWinci/mimirs · 88 tokens

scout

Research the web for solutions, competitors, alternatives, or prior art for a decision facing this project — then store the findings in project memory so they survive the session. Use when choosing a library or approach, comparing tools, checking what others do, or evaluating whether to build vs adopt.

TheWinci/mimirs · 60 tokens