gaia: Command for Claude Code

.claude/commands/distribution-vet.md

distribution-vet is a command for Claude Code from gaia-react/gaia. It costs 60 tokens per session (3,317 once invoked), scanned A, original, MIT.

A release-checking command classifies files that are about to ship to adopters according to the project's written distribution rules.

In plain words
What is it for?
It is for finding unclassified shipping files, asking about unclear cases, and producing the release manifest used by the update process.
Why use it?
It prevents files from being included in a release without a clear decision about whether they belong in the shipped package.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

This is gaia-react/gaia's own configuration. It tells Claude Code how to work on gaia 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 gaia configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gaia-react/gaia. 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/gaia-react/gaia/main/.claude/commands/distribution-vet.md
Clone the repo
git clone --depth 1 https://github.com/gaia-react/gaia

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 distribution-vet

README.md
[![agentmods](https://agentmods.dev/badge/commands/gaia-react/gaia/distribution-vet/github.svg)](https://agentmods.dev/commands/gaia-react/gaia/distribution-vet)
Your own site
<a href="https://agentmods.dev/commands/gaia-react/gaia/distribution-vet"><img src="https://agentmods.dev/badge/commands/gaia-react/gaia/distribution-vet/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 distribution-vet

Your own site · 80×15
<a href="https://agentmods.dev/commands/gaia-react/gaia/distribution-vet"><img src="https://agentmods.dev/badge/commands/gaia-react/gaia/distribution-vet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 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,317 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.00060 $0.03317
Opus 5.5 $0.00024 $0.01327
Sonnet 5.5 $0.00012 $0.00663
Haiku 4.5 $0.00006 $0.00332

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

Security

Grade A, and why

distribution-vet 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 10d 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/distribution-vet.md · 153 lines

How it starts

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

/distribution-vet

Maintainer-only. Thin orchestrator over .gaia/cli/gaia-maintainer, which owns every deterministic step. This command supplies the one thing the CLI cannot: a classification of each newly-shipping file against the written distribution boundary, and a maintainer's answer on the few the taxonomy does not settle.

Contents: Step 1. Find the unanswered files; Step 2. Decide which path applies; Step 3. Classify against the categories, then ask only what needs asking; Step 4. Apply every answer in one call; What this command never does.

.gaia/release-exclude is the distribution boundary: a file ships to adopters if and only if git tracks it and no line in that file masks it. .gaia/manifest.json is the update policy /update-gaia consumes, and incidentally the ledger of which shipping files a maintainer has acknowledged. A file that git tracks, that no exclude line masks, and that the manifest does not yet list is "unanswered": it would ship, but nobody has said so on purpose.

Step 1. Find the unanswered files

.gaia/cli/gaia-maintainer release manifest --check --json

--check is read-only. It exits non-zero whenever it finds any of five conditions, so capture stdout and parse it as JSON regardless of the exit code; a non-zero exit here is not a failure, it is the normal signal that something needs attention. The payload shape is:

{"missing": [{"expected": "owned", "file": ".gaia/statusline/example.sh"}], "extra": [], "drift": [], "regionDrift": []}

missing is an array of objects, not of path strings: the path lives in .file, and .expected is the update class the classifier would assign. Extract paths with:

jq -r '.missing[].file'

missing is not "everything that ships." The paths in ADOPTER_OWNED_SENTINELS (.gaia/cli/src/release/manifest.ts: .gaia/manifest.json, .gaia/packages.json, .gaia/VERSION, and wiki/log.md) are permanent adopter-owned fixtures that ship with baseline content but are never classified, so they never enter missing and this command never asks about them. That is correct, not a gap.

Read the full file on GitHub · 153 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. 10d ago Changed · -18 lines d841e5004d3b
  2. 11d ago Changed e42eede158ac
  3. 13d ago Changed 3baf78ebf8d1
  4. 14d ago Changed · +2 lines 698a2bc8c97b
  5. 15d ago Changed · -2 lines f5323da1bded
  6. 16d ago First seen · 171 lines · 60 tokens per session scan A 673d2f5770d2

Subscribe to this mod's changes

distribution-vet is a command published in the GitHub repository gaia-react/gaia (26 stars, last pushed 4d ago), licensed MIT. It adds 60 tokens to every session and 3,317 once invoked, about $0.0002 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-14.