llm-wiki-newsroom: Command for Claude Code

.claude/commands/wiki-lint.md

wiki-lint is a command for Claude Code from alfadur7/llm-wiki-newsroom. It costs 0 tokens per session (12,698 once invoked), scanned B, original, MIT.

A command that checks an LLM wiki’s structure, links, metadata, and other defined health checks. It can run the full check suite or a selected group and may fix supported issues.

In plain words
What is it for?
Use it to run a complete wiki health check, inspect one area such as graph or metadata, diagnose content gaps, or apply available fixes.
Why use it?
It helps find broken references, orphaned pages, missing structure, and other wiki problems without checking every area manually.

Command for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/alfadur7/llm-wiki-newsroom/wiki-lint"><img src="https://agentmods.dev/badge/commands/alfadur7/llm-wiki-newsroom/wiki-lint.svg" alt="Reviewed on agentmods" width="80" 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 12,698 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.12698
Opus 5 $0.00000 $0.06349
Sonnet 5 $0.00000 $0.02540
Haiku 4.5 $0.00000 $0.01270

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

Security

Grade B, and why

wiki-lint scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

These 4 markers are the single SoT for chain detection — both the emit sites in `tools/lint.py` and the grep patterns in [`.claude/hooks/lint-chain-guard.sh`](../hooks/lint-chain-guard.sh) reference this list.
.claude/commands/wiki-lint.md · 435 lines

How it starts

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

Health-check the LLM Wiki for issues.

Usage: /wiki-lint [<group>] [<subcmd|target>] [--fix]

$ARGUMENTS is optional. With no arguments, the full suite (= the all group) runs; specifying a group or subcommand runs only that scope.

Usage: /wiki-lint [<group>] [<subcmd|target>] [--fix]

Examples:
  /wiki-lint                                        # full suite (all groups below + suggestions·promotion·demotion·staleness informational)
  /wiki-lint --fix                                  # full suite + each group's supported --fix in one pass
  /wiki-lint graph                                  # structure · orphans · clusters · raw-files · internal-refs in one pass
  /wiki-lint graph orphans --fix                    # single subcommand
  /wiki-lint graph gaps [--gap-type <slug>] [--top 5]   # gap diagnostic (informational in `all`)
  /wiki-lint hub schema                             # L2-2 hub frontmatter check
  /wiki-lint meta schema                            # meta-doc integrity · drift · language convention
  /wiki-lint overview open-source-ai-definition     # single cluster overview
  /wiki-lint overview aggregate                     # L2-4 overview.md
  /wiki-lint overview <target> --fix                # diagnosis + Claude rewrite instruction
  /wiki-lint contradiction <theme>                  # single theme MD diagnosis
  /wiki-lint contradiction theme                    # _contradictions_themes.json ↔ MD consistency
  /wiki-lint contradiction theme --fix              # JSON regeneration — emits Claude instruction block
  /wiki-lint source                                 # all-source new-schema diagnosis (Phase 2)
  /wiki-lint source <slug>                          # single-source new-schema Rubric diagnosis
  /wiki-lint overview --fix --yes                   # bypass confirmation prompt (use only after prior review)
  /wiki-lint contradiction --fix --yes              # bypass confirmation prompt

--yes (-y) bypasses the file create/delete confirmation prompt of overview --fix·contradiction --fix. In a non-TTY environment (Claude Code Bash·CI) the prompt cannot be answered, so the command aborts; add --yes only when you intend deliberate execution after review. --yes itself has no effect in other groups (graph·hub, etc.) — those perform only content edits and auto-enrichment, with no file creation or deletion.

Traversal Pattern

A verify-and-fix cycle. The Copy Editor is the lead; when --fix is set, the Columnist and Desk chain is entered.

Mode Cycle Owner
Check only (no --fix) VERIFY Copy Editor (tools/lint.py) — exit code + lint-report.md
overview/contradiction <target> --fix (L2-3·L2-4 rewrite) VERIFY → ADAPT → APPLY → VERIFY Copy Editor (VERIFY₁) → Columnist (ADAPT) → Copy Editor → Desk (VERIFY₂) → Editor-in-Chief gate
Other group --fix (graph·hub, etc. — auto-enrich/correct) (deterministic) Copy Editor (formattable-area auto-fix only; no meaning-affecting changes)

In this chain, --yes is Claude's explicit opt-in to executing the chain — deferring to lint-report.md violates the opt-in intent (.claude/hooks/lint-chain-guard.sh enforces this at the system level).

Read the full file on GitHub · 435 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. today Changed · -1 lines 44e32111c36b
  2. 5d ago Changed · -402 lines 1eab704b4009
  3. 12d ago First seen · 838 lines · 0 tokens per session scan B 8952afcbbfd7

Subscribe to this mod's changes

wiki-lint is a command published in the GitHub repository alfadur7/llm-wiki-newsroom (85 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 12,698 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.