wiki-lint

wiki-lint is an agent for Claude Code from eliransu/digital-brain. It costs 137 tokens per session (934 once invoked), scanned A, original, MIT.

An automated health check for a wiki, meaning a collection of linked notes. It produces a report about broken links, orphan pages, missing metadata, stale entries, empty sections, and related consistency problems.

In plain words
What is it for?
Use it to scan the whole wiki or a folder, verify page metadata and links, find unlinked concepts and people, detect stale seed pages, and optionally validate page addresses.
Why use it?
It makes structural and maintenance issues visible without manually checking every page and index.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is [ -x ./scripts/allocate-address.sh ] && [ -f ./.vault-meta/address-counter.txt ] && DRAGONSCALE_ADDR=1 || DRAGONSCALE_ADDR=0.

Part of the digital-brain plugin — 18 skills, 5 commands, 2 agents, 3 hooks shipped together

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/eliransu/digital-brain
agentmods
npx agentmods add agents/eliransu/digital-brain/wiki-lint

Made for: Claude Code.

Or install digital-brain, the plugin that ships this one along with the rest of its 18 skills, 5 commands, 2 agents, 3 hooks.

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/agents/eliransu/digital-brain/wiki-lint.svg)](https://agentmods.dev/agents/eliransu/digital-brain/wiki-lint)
Your own site
<a href="https://agentmods.dev/agents/eliransu/digital-brain/wiki-lint"><img src="https://agentmods.dev/badge/agents/eliransu/digital-brain/wiki-lint.svg" alt="Measured on agentmods" height="20"></a>
Per session 137 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00137 $0.00934
Opus 5 $0.00068 $0.00467
Sonnet 5 $0.00027 $0.00187
Haiku 4.5 $0.00014 $0.00093

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

Security

Grade A, and why

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 6d 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.

agents/wiki-lint.md · 79 lines

How it starts

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

You are a wiki health specialist. Your job is to scan the vault and produce a comprehensive lint report.

You will be given:

  • The vault path
  • The scope (full wiki, or a specific folder)

Your Process

  1. Read wiki/index.md to get the full list of pages.
  2. For each wiki page, check:
    • Frontmatter has required fields (type, status, created, updated, tags)
    • All wikilinks in the page resolve to real files
    • All headings have content underneath them
    • Page is linked from at least one other page (no orphans)
  3. Scan for concepts and entities mentioned in multiple pages but lacking their own page.
  4. Scan for unlinked mentions (entity names appearing without [[ brackets).
  5. Check wiki/index.md for stale entries pointing to renamed/deleted files.
  6. Identify pages with status seed that have not been updated in over 30 days.
  7. DragonScale Mechanism 2 — Address Validation (opt-in; see detection below). For every page with an address: frontmatter field, validate format (^c-[0-9]{6}$ or ^l-[0-9]{6}$), uniqueness across the vault, counter-drift against ./scripts/allocate-address.sh --peek, and consistency with .raw/.manifest.json address_map. Post-rollout pages (frontmatter created: >= the vault's rollout baseline) that lack an address: field are lint errors. Legacy pages are informational.
  8. DragonScale Mechanism 3 — Semantic Tiling (opt-in; see detection below). If scripts/tiling-check.py is present AND ./scripts/tiling-check.py --peek exits 0, delegate to it with --report wiki/meta/tiling-report-YYYY-MM-DD.md. Surface exit codes 0/2/3/4/10/11 distinctly — do not collapse into "unknown".

DragonScale feature detection

Both items 7 and 8 are opt-in. Before running them:

[ -x ./scripts/allocate-address.sh ] && [ -f ./.vault-meta/address-counter.txt ] && DRAGONSCALE_ADDR=1 || DRAGONSCALE_ADDR=0
[ -x ./scripts/tiling-check.py ] && command -v python3 >/dev/null 2>&1 && DRAGONSCALE_TILE=1 || DRAGONSCALE_TILE=0

Read the full file on GitHub · 79 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. 6d ago First seen · 79 lines · 137 tokens per session scan A ac0c7fa5c9ca

Subscribe to this mod's changes

wiki-lint is an agent published in the GitHub repository eliransu/digital-brain (1 stars, last pushed 3mo ago), licensed MIT. It adds 137 tokens to every session and 934 once invoked, about $0.0007 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.

Related

Other agents, from other repositories

fec-performance-optimizer

Front-end performance analysis and optimization specialization: Core Web Vitals, packaging volume, runtime and rendering, network and cache, memory leak troubleshooting; can cooperate with Lighthouse, Bundle analysis and Profiler. Use it when users mention page slowness, lag, first screen, package size, poor…

bovinphang/frontend-craft · 0 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 0 tokens

fec-debugger

Front-end diagnostic and repair subagent: Handle build failures, runtime errors, UI exceptions, and interface issues using a unified 5-step diagnostic framework. Suitable for troubleshooting complex or multi-level nested front-end problems.

bovinphang/frontend-craft · 0 tokens

worker-lint

Runs lint.py against the wiki, parses tiered output, returns severity summary. Use before quarterly reviews or when user asks for wiki health check.

anh-chu/llm-wiki-pm · 33 tokens

feathers-expert

Use for FeathersJS v5 (Dove) architecture and debugging questions that span multiple files — service/hook/schema design decisions, "why is my endpoint 404ing", auth/authorization flows, real-time event/channel issues, query syntax, and database adapter choices. Delegates to this agent when a Feathers question needs…

hassan4702/feathers-plugin · 81 tokens

doctrine-performance-optimizer

Read-only performance audit of Doctrine usage: N+1 queries, fetch modes, batch processing, missing indexes, and caching opportunities. Use proactively after adding entities, relations, repository queries, or when a page/endpoint is reported slow.

dev-toolings/superpowers-symfony · 53 tokens