Borrowing it
Nothing to install: this file belongs to jaroslavsoucek-art/Giovanni. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jaroslavsoucek-art/Giovanni/main/.claude/commands/consistency-check.mdgit clone --depth 1 https://github.com/jaroslavsoucek-art/GiovanniWrote 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.
[](https://agentmods.dev/commands/jaroslavsoucek-art/giovanni/consistency-check)<a href="https://agentmods.dev/commands/jaroslavsoucek-art/giovanni/consistency-check"><img src="https://agentmods.dev/badge/commands/jaroslavsoucek-art/giovanni/consistency-check/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.
<a href="https://agentmods.dev/commands/jaroslavsoucek-art/giovanni/consistency-check"><img src="https://agentmods.dev/badge/commands/jaroslavsoucek-art/giovanni/consistency-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.01820 |
| Opus 5 | $0.00026 | $0.00910 |
| Sonnet 5 | $0.00010 | $0.00364 |
| Haiku 4.5 | $0.00005 | $0.00182 |
Grade A, and why
consistency-check 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/consistency-check
Run the 8 semantic invariants that deterministic scripts/lint.sh cannot reach (memory↔constitution drift, decisions↔constitution drift, agent roster description mismatch, topic shard cross-reference breakage, optional architecture audit staleness, decided-terms completeness, knowledge↔knowledge cross-doc drift, published-pages outbound drift). This command is a thin shell — checks and report format live in the consistency-checker agent. This file is the invocation contract.
Usage
/consistency-check # all enabled checks
/consistency-check --check <id> # single check
/consistency-check --since <YYYY-MM-DD> # narrows git-log scan window for staleness checks
/consistency-check --write # commit findings to file (default = also writes; flag is reserved for future render-only mode)
Valid --check ids:
memory-blockers-vs-constitutiondecisions-vs-constitutionagent-roster-semantictopic-shard-stakeholder-xrefaudit-staleness(optional — only if fork uses architecture tier audits)decided-terms-completeness(no-op with INFO ifmemory/audits/consistency/decided-terms.yamlis absent)
Argument syntax
| Arg | Type | Default | Meaning |
|---|---|---|---|
--check <id> |
parameterized | all | Run a single check by ID instead of all enabled checks. |
--since <YYYY-MM-DD> |
parameterized date | 30 days ago | For staleness check (audit-staleness): limits the git-log window. Ignored by other checks. |
--write |
boolean flag | implicit (always writes report) | Reserved for future render-only mode. Default behavior writes the report file. |
Pre-flight (binding — STOP on failure)
Before spawning consistency-checker:
- CWD check. Working directory is a Giovanni repo (presence of
memory/CLAUDE_MEMORY.md+knowledge/<constitution>.md). Otherwise STOP. - Agent definition present.
.claude/agents/consistency-checker.mdexists. Missing → STOP. - Audit directory present.
memory/audits/consistency/exists. Create if missing (this is the only directory the orchestrator creates pre-spawn). - State file present.
memory/audits/consistency/_state.mdexists with a non-emptyshadow_mode_start_datefield. If missing or empty:- Auto-seed: set
shadow_mode_start_date = today,shadow_mode_end_date = today + 28 days. - Surface advisory:
INFO: seeded shadow mode 28d from today. Score precision before promoting to operational warnings.
- Auto-seed: set
- Constitution + L1 present.
knowledge/<constitution_file>.md(perdocs/governance.config.yaml) andmemory/CLAUDE_MEMORY.mdexist. Missing → STOP — the checks have no input.
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.
- today Changed · +12 tokens per session 42e04024f592
- 12d ago First seen · 118 lines · 40 tokens per session scan A 778d21c5304a
consistency-check is a command published in the GitHub repository jaroslavsoucek-art/Giovanni (2 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 1,820 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.
Other commands, from other repositories
code-review-swarm
Deploy specialized AI agents to perform comprehensive, intelligent code reviews that go beyond traditional static analysis.
pr-manager
Comprehensive pull request management with ruv-swarm coordination for automated reviews, testing, and merge workflows.
sparc-refinement-optimization-mode
🧹 Optimizer - You refactor, modularize, and improve system performance. You enforce file size limits, dependenc...
reviewer
Code review using batch file analysis for comprehensive reviews.
code-review
Automated code review with swarm intelligence.
pr-enhance
Command "pr-enhance" from shyftlabs/continuum, covering pr-enhance, usage, options, examples and enhance pr.