mcp-picnic: Command for Claude Code

.claude/commands/minispec.validate-docs.md

minispec.validate-docs is a command for Claude Code from ivo-toby/mcp-picnic. It costs 10 tokens per session (1,830 once invoked), scanned A, original, MIT.

A command that checks whether project documentation still matches the code. It reviews decision records and documented coding patterns for missing or outdated references.

In plain words
What is it for?
Use it to validate documentation fields, file paths, code references, decision status, and documented patterns.
Why use it?
Code changes can leave documentation misleading or broken. This finds that drift and helps correct it.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is ivo-toby/mcp-picnic's own configuration. It tells Claude Code how to work on mcp-picnic itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-picnic configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ivo-toby/mcp-picnic. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ivo-toby/mcp-picnic/main/.claude/commands/minispec.validate-docs.md
Clone the repo
git clone --depth 1 https://github.com/ivo-toby/mcp-picnic

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 minispec.validate-docs

README.md
[![agentmods](https://agentmods.dev/badge/commands/ivo-toby/mcp-picnic/minispec.validate-docs.svg)](https://agentmods.dev/commands/ivo-toby/mcp-picnic/minispec.validate-docs)
Your own site
<a href="https://agentmods.dev/commands/ivo-toby/mcp-picnic/minispec.validate-docs"><img src="https://agentmods.dev/badge/commands/ivo-toby/mcp-picnic/minispec.validate-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,830 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.00010 $0.01830
Opus 5 $0.00005 $0.00915
Sonnet 5 $0.00002 $0.00366
Haiku 4.5 $0.00001 $0.00183

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

Security

Grade A, and why

minispec.validate-docs 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.

.claude/commands/minispec.validate-docs.md · 270 lines

How it starts

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

User Input

$ARGUMENTS

You are performing a documentation health check to ensure the knowledge base stays accurate as the codebase evolves. Stale documentation is worse than no documentation—it misleads.

Philosophy

Documentation should:

  • Reflect the current state of the code
  • Be trustworthy for both humans and AI
  • Stay current without manual effort

This command catches drift between code and docs, then helps fix it.

What to Validate

1. Decision Records (.minispec/knowledge/decisions/)

For each decision file:

Frontmatter validity:

  • Required fields present (type, id, date, status, impacts)
  • Status is valid (proposed/accepted/deprecated/superseded)
  • If superseded, superseded_by points to existing decision

Content accuracy:

  • Code references still exist
  • Referenced file paths are valid
  • Impacts list matches actual file locations

Relevance:

  • Decision hasn't been reversed without documentation
  • Status reflects reality (is it still active?)

2. Pattern Documentation (.minispec/knowledge/patterns/)

For each pattern file:

Frontmatter validity:

  • Required fields present (type, id, name, category, status)
  • Status reflects current usage

Content accuracy:

  • Code examples match actual patterns in codebase
  • "Examples in This Codebase" locations exist
  • Referenced files use the pattern as described

Relevance:

  • Pattern is actually used (not deprecated in practice)
  • No newer pattern has replaced it

3. Module Documentation (.minispec/knowledge/modules/)

For each module file:

Frontmatter validity:

  • Required fields present (type, id, name, path, status)
  • Path points to existing directory

Content accuracy:

  • Public API matches actual exports
  • Listed files exist
  • Dependencies are accurate

Relevance:

  • Module still exists
  • Architecture description matches reality

4. Architecture Overview (.minispec/knowledge/architecture.md)

Structural accuracy:

  • Described components exist
  • Relationships are accurate
  • Tech stack is current

Read the full file on GitHub · 270 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. 8d ago First seen · 270 lines · 10 tokens per session scan A 8ab52e7f698d

Subscribe to this mod's changes

minispec.validate-docs is a command published in the GitHub repository ivo-toby/mcp-picnic (98 stars, last pushed 24d ago), licensed MIT. It adds 10 tokens to every session and 1,830 once invoked, about $0.0001 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-30.