widescreen-research: Command for Claude Code

.claude/commands/games/docs-verification-game.md

docs-verification-game is a command for Claude Code from glassBead-tc/widescreen-research. It costs 0 tokens per session (5,474 once invoked), scanned A, original, MIT.

A command-based process for checking whether documentation accurately describes a codebase. It compares documented claims with the implementation across areas such as APIs, examples, and concepts.

In plain words
What is it for?
Use /docs-verification-game with documentation and codebase paths to inventory claims, choose checking depth and strategy, and validate the results against a confidence threshold.
Why use it?
It helps catch documentation that is outdated, incomplete, or claiming behaviour the code does not actually provide.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: positional $N argument; mentions Claude Code.

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is " > "../evidence/$API_NAME-result.json".

Reuse

Borrowing it

Nothing to install: this file belongs to glassBead-tc/widescreen-research. 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/glassBead-tc/widescreen-research/main/.claude/commands/games/docs-verification-game.md
Clone the repo
git clone --depth 1 https://github.com/glassBead-tc/widescreen-research

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 docs-verification-game

README.md
[![agentmods](https://agentmods.dev/badge/commands/glassbead-tc/widescreen-research/docs-verification-game.svg)](https://agentmods.dev/commands/glassbead-tc/widescreen-research/docs-verification-game)
Your own site
<a href="https://agentmods.dev/commands/glassbead-tc/widescreen-research/docs-verification-game"><img src="https://agentmods.dev/badge/commands/glassbead-tc/widescreen-research/docs-verification-game.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,474 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.00000 $0.05474
Opus 5 $0.00000 $0.02737
Sonnet 5 $0.00000 $0.01095
Haiku 4.5 $0.00000 $0.00547

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

Security

Grade A, and why

docs-verification-game 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/games/docs-verification-game.md · 681 lines

How it starts

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

Docs Verification Game

Game-theoretic documentation verification workflow that systematically validates accuracy, prevents false positives, and ensures documentation matches implementation reality using multi-dimensional testing and validation gates.

Command Structure

/docs-verification-game [DOCS_PATH] [CODEBASE_PATH] [--SCOPE=<scope>] [--DEPTH=<depth>] [--STRATEGY=<strategy>] [--CONFIDENCE=<threshold>]

Parameter Definitions

  • DOCS_PATH: Location of documentation to verify (file, directory, or pattern)
  • CODEBASE_PATH: Location of the codebase the docs describe
  • SCOPE: Verification scope (api, examples, concepts, all) - default: all
  • DEPTH: Verification depth (surface, standard, deep) - default: standard
  • STRATEGY: Verification approach (sequential, parallel, adversarial) - default: parallel
  • CONFIDENCE: Required confidence threshold (0.0-1.0) - default: 0.9

Game Variables

DOCS_PATH: $ARGUMENTS CODEBASE_PATH: $ARGUMENTS SCOPE: $ARGUMENTS DEPTH: $ARGUMENTS STRATEGY: $ARGUMENTS CONFIDENCE: $ARGUMENTS

Phase 1: Documentation Analysis & Inventory (Time-boxed: 25% of budget)

Objective: Map documentation claims and create verifiable assertions

# Initialize verification game state
echo "🔍 Starting Docs Verification Game"
echo "📄 Target: $DOCS_PATH"
echo "💻 Codebase: $CODEBASE_PATH"
echo "🎯 Required confidence: $CONFIDENCE"

mkdir -p .docs-verify/{state,analysis,assertions,evidence}
cat > .docs-verify/state.json << 'EOF'
{
  "phase": "analysis",
  "confidence_level": 0.0,
  "verification_rounds": 0,
  "false_positive_detections": [],
  "accuracy_issues": [],
  "players": {
    "skeptic": { "doubt_level": 0.9, "weight": 1.0 },
    "implementer": { "reality_check": 0.8, "weight": 0.9 },
    "user": { "confusion_potential": 0.5, "weight": 0.8 },
    "maintainer": { "drift_concern": 0.7, "weight": 0.7 }
  }
}
EOF

Step 1.1: Extract Documentation Claims

# Parse documentation for verifiable claims
echo "📊 Extracting verifiable claims from documentation..."

# Use Claude Code's semantic understanding to identify claims
/codebase-search "What specific APIs, methods, or behaviors are documented in $DOCS_PATH?" --target-directories "$DOCS_PATH"

# Categorize claims by type
cat > .docs-verify/analysis/claim-categories.json << 'EOF'
{
  "api_signatures": [],      // Function signatures, parameters, returns
  "code_examples": [],       // Executable code snippets
  "behavioral_claims": [],   // How things work, side effects
  "configuration": [],       // Config options, defaults
  "error_scenarios": [],     // Error handling, edge cases
  "performance_claims": [],  // Speed, memory, scalability
  "compatibility": []        // Version requirements, dependencies
}
EOF

# Extract and categorize each claim
find "$DOCS_PATH" -type f \( -name "*.md" -o -name "*.mdx" \) | while read -r doc_file; do
  echo "Analyzing: $doc_file"

  # Extract code blocks
  grep -n '```' "$doc_file" | awk 'NR%2==1 {start=$1} NR%2==0 {print start "-" $1}' > .docs-verify/analysis/code-blocks-$doc_file.txt

  # Extract API references
  grep -E "(function|class|interface|type|export)" "$doc_file" > .docs-verify/analysis/api-refs-$doc_file.txt
done

Read the full file on GitHub · 681 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 · 681 lines · 0 tokens per session scan A 360332ec6da8

Subscribe to this mod's changes

docs-verification-game is a command published in the GitHub repository glassBead-tc/widescreen-research (6 stars, last pushed 10mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,474 tokens. 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.