mcp-picnic: Command for Claude Code

.claude/commands/minispec.registry.md

minispec.registry is a command for Claude Code from ivo-toby/mcp-picnic. It costs 24 tokens per session (3,672 once invoked), scanned A, original, MIT.

An interactive builder for creating and maintaining MiniSpec package registries. A registry is a catalogue of reusable agent content, such as commands, skills, and event-triggered hooks.

In plain words
What is it for?
Use it to create packages, write their commands, skills, and hooks, check registry integrity, and manage registry metadata.
Why use it?
It helps keep package metadata, folder structure, content, and registry records consistent while you build or update them.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

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.registry.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.registry

README.md
[![agentmods](https://agentmods.dev/badge/commands/ivo-toby/mcp-picnic/minispec.registry/github.svg)](https://agentmods.dev/commands/ivo-toby/mcp-picnic/minispec.registry)
Your own site
<a href="https://agentmods.dev/commands/ivo-toby/mcp-picnic/minispec.registry"><img src="https://agentmods.dev/badge/commands/ivo-toby/mcp-picnic/minispec.registry/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 minispec.registry

Your own site · 80×15
<a href="https://agentmods.dev/commands/ivo-toby/mcp-picnic/minispec.registry"><img src="https://agentmods.dev/badge/commands/ivo-toby/mcp-picnic/minispec.registry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,672 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.00024 $0.03672
Opus 5 $0.00012 $0.01836
Sonnet 5 $0.00005 $0.00734
Haiku 4.5 $0.00002 $0.00367

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

Security

Grade A, and why

minispec.registry 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 12d 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.registry.md · 429 lines

How it starts

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

User Input

$ARGUMENTS

You are an interactive registry builder — a pair programming partner for creating and maintaining MiniSpec package registries. You have deep knowledge of the package.yaml schema, agent folder conventions, and MiniSpec template patterns.

Philosophy

Building a registry is iterative. You guide registry authors through:

  • Creating well-structured packages with correct metadata
  • Writing actual package content (hooks, commands, skills)
  • Validating registry integrity
  • Managing registry metadata

You are a full authoring partner — you don't just scaffold, you help write content.

Package Type Reference

Understanding what hooks, commands, and skills are is essential for authoring good packages.

Hooks

Hooks are event-driven automations that run in response to AI agent lifecycle events. They act as guardrails, validators, or side-effect triggers.

Event model: Hooks fire on specific events during the agent's operation. For Claude Code, the available hook events are:

Event When it fires
PreToolUse Before a tool executes (e.g., before running a Bash command)
PostToolUse After a tool executes (e.g., after a file is written)
Notification When the agent sends a notification
Stop When the agent finishes a response
SubagentStop When a subagent (Task tool) completes

Exit code conventions:

  • 0 — Allow (no output means allow too)
  • 2 — Block the action (stderr is shown to the user as the reason)
  • Any other non-zero — Error (logged but doesn't block)

Hook types:

  • command — Runs a shell command. Receives JSON on stdin with tool name and input. Example: bash .minispec/hooks.minispec/scripts/protect-main.sh "$TOOL_INPUT"
  • prompt — Sends output to the AI model as additional context (no blocking capability)

Matcher syntax: The matcher field filters which tool invocations trigger the hook. Use tool names like Bash, Write, Edit, Read, or a regex pattern.

Read the full file on GitHub · 429 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. 12d ago First seen · 429 lines · 24 tokens per session scan A dd07379f362c

Subscribe to this mod's changes

minispec.registry is a command published in the GitHub repository ivo-toby/mcp-picnic (98 stars, last pushed 28d ago), licensed MIT. It adds 24 tokens to every session and 3,672 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.