SportIQ-MCP: Command for Claude Code

.claude/commands/update-wiki.md

update-wiki is a command for Claude Code from Ninjabeam20/SportIQ-MCP. It costs 23 tokens per session (404 once invoked), scanned A, original, MIT.

A documentation check that scans wiki pages for inconsistencies, outdated statements, missing links, and missing pages. A punch list is a task list of problems to review.

In plain words
What is it for?
Use it to identify contradictions, stale claims, orphan pages, broken backlinks, missing concepts, research gaps, and old page metadata.
Why use it?
It helps find documentation problems before they mislead people or become harder to fix.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Ninjabeam20/SportIQ-MCP. 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/Ninjabeam20/SportIQ-MCP/main/.claude/commands/update-wiki.md
Clone the repo
git clone --depth 1 https://github.com/Ninjabeam20/SportIQ-MCP

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 update-wiki

README.md
[![agentmods](https://agentmods.dev/badge/commands/ninjabeam20/sportiq-mcp/update-wiki/github.svg)](https://agentmods.dev/commands/ninjabeam20/sportiq-mcp/update-wiki)
Your own site
<a href="https://agentmods.dev/commands/ninjabeam20/sportiq-mcp/update-wiki"><img src="https://agentmods.dev/badge/commands/ninjabeam20/sportiq-mcp/update-wiki/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 update-wiki

Your own site · 80×15
<a href="https://agentmods.dev/commands/ninjabeam20/sportiq-mcp/update-wiki"><img src="https://agentmods.dev/badge/commands/ninjabeam20/sportiq-mcp/update-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 404 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.00023 $0.00404
Opus 5 $0.00012 $0.00202
Sonnet 5 $0.00005 $0.00081
Haiku 4.5 $0.00002 $0.00040

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

Security

Grade A, and why

update-wiki 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 11d 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/update-wiki.md · 38 lines

What it actually says

/project:update-wiki

Run a lint pass over docs/wiki/. The output is a punch list — the user triages; you execute accepted items.

Checks

  1. Contradictions between pages (e.g., two pages disagree on CricAPI rate limits).
  2. Stale claims — page references a past API state contradicted by a more recent ingest.
  3. Orphan pages — no inbound [[backlinks]] from any other page.
  4. Mentioned but missing — concepts referenced in body text that lack their own page.
  5. Broken backlinks[[page-name]] that does not resolve.
  6. Data gaps to research — propose pages to draft (with explicit user confirmation before websearching).
  7. Frontmatter stalenesslast_updated >90 days for non-decision pages.

Output format

A markdown punch list, grouped by check. Each item names files + line numbers + a suggested fix.

## Contradictions
- docs/wiki/data-sources/cricapi.md:14 vs docs/wiki/chains/cricket-live-score-chain.md:8 — disagree on daily quota (100 vs 250). Reconcile.

## Orphans
- docs/wiki/models/elo-rating.md — no inbound backlinks. Add from [[football-simulate-bracket]]?

Workflow

  1. Run the checks and produce the punch list.
  2. Wait for user to triage (accept / reject / defer per item).
  3. Execute accepted items as separate edits.
  4. Append to docs/log.md: ## [YYYY-MM-DD] lint | weekly pass. Resolved: N. Deferred: M. New pages drafted: ....
  5. End with Rule #8 format.
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. 11d ago First seen · 38 lines · 23 tokens per session scan A 3483809aa1ac

Subscribe to this mod's changes

update-wiki is a command published in the GitHub repository Ninjabeam20/SportIQ-MCP (10 stars, last pushed 8d ago), licensed MIT. It adds 23 tokens to every session and 404 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-31.