guild-wiki-lint

guild-wiki-lint is a skill for Claude Code from lookatitude/guild. It costs 0 tokens per session (1,649 once invoked), scanned A, original, MIT.

A read-only auditor for a project knowledge wiki stored in .guild/wiki/. It checks page structure, links, dates, source references, repeated concepts, contradictions, and decision-page format.

In plain words
What is it for?
Use it to audit the whole wiki, find expired claims and orphan pages, check source links, and produce a health report after documentation updates.
Why use it?
It reveals stale, conflicting, missing, or poorly connected documentation without changing the files. This helps keep a shared project wiki trustworthy as it grows.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the guild plugin — 111 skills, 23 commands, 13 agents, 10 hooks, 2 MCP servers shipped together

Good fit Use it to audit the whole wiki, find expired claims and orphan pages, check source links, and produce a health report after documentation updates.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add lookatitude/guild
Claude Code
/plugin install guild

Made for: Claude Code.

Or install guild, the plugin that ships this one along with the rest of its 111 skills, 23 commands, 13 agents, 10 hooks, 2 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/lookatitude/guild/wiki-lint.svg)](https://agentmods.dev/skills/lookatitude/guild/wiki-lint)
Your own site
<a href="https://agentmods.dev/skills/lookatitude/guild/wiki-lint"><img src="https://agentmods.dev/badge/skills/lookatitude/guild/wiki-lint.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,649 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.01649
Opus 5 $0.00000 $0.00825
Sonnet 5 $0.00000 $0.00330
Haiku 4.5 $0.00000 $0.00165

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

Security

Grade A, and why

guild-wiki-lint 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 7d 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.

skills/knowledge/wiki-lint/SKILL.md · 82 lines

How it starts

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

guild:wiki-lint

Implements the knowledge layer audit contract: wiki structure + required frontmatter, decision ADR-lite shape, contradiction policy ("newer wins unless older has confidence: high"), and the lint-after-write discipline (runs after guild:wiki-ingest and guild:decisions write). Cadence: weekly + batch threshold + explicit invocation. Health report only; never auto-edits.

Read-only auditor. Complements guild:wiki-ingest (write) and guild:wiki-query (read) by checking both contracts hold across the whole wiki tree. Finds structural drift; never repairs it.

Input

  • wiki root.guild/wiki/ walked recursively. Every .md is a candidate page EXCEPT index.md (catalog), log.md (append-only log), and lint-*.md (prior reports).
  • raw root.guild/raw/sources/ walked for source_refs resolution; each <slug>/ must contain original.* + metadata.json per guild:wiki-ingest.
  • now — current UTC timestamp, for expires_at comparison and the report filename.

Lint takes no user arguments; it walks the entire wiki on every invocation.

Step 0 — the deterministic core (always run first)

Run the mechanical checks via the script — never reproduce them by hand:

npx tsx ${GUILD_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$HOME/.local/share/guild/dist/claude-code}}/scripts/wiki-lint-checks.ts --root <repo-root>

It owns check #9 (pending-grade-review — migration-drafted importance_draft: true grades awaiting operator review; cleared by migrate-guild.ts --accept-grades) and the missing-importance: check, exits 0/2, and its findings are folded verbatim into the report below. The semantic checks (contradictions, stale claims, ADR shape) remain this skill's own work.

Checks performed

Run all nine checks every invocation. Each finding carries a severity: blocking (a hard contract is broken — ingest or decisions skill violated), important (contradicts plan guidance, needs human attention), or nit (small hygiene issue).

Read the full file on GitHub · 82 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 82 lines · 0 tokens per session scan A 225a4bf735a2

Subscribe to this mod's changes

guild-wiki-lint is a skill published in the GitHub repository lookatitude/guild (7 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,649 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.