worker-lint

worker-lint is an agent for Claude Code from anh-chu/llm-wiki-pm. It costs 33 tokens per session (518 once invoked), scanned A, original, MIT.

A worker that runs a wiki-linting script and turns its report into a summary grouped by severity. A wiki is a collection of linked documentation pages.

In plain words
What is it for?
Use it to find critical errors, warnings, advisory issues, and informational statistics in a wiki.
Why use it?
It identifies documentation problems without changing the wiki, helping teams review its health before scheduled checks.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: model in frontmatter; mentions Claude Code.

Part of the llm-wiki-pm plugin — 8 skills, 5 agents, 4 hooks shipped together

Good fit Use it to find critical errors, warnings, advisory issues, and informational statistics in a wiki.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/anh-chu/llm-wiki-pm/worker-lint
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/anh-chu/llm-wiki-pm

Made for: Claude Code.

Or install llm-wiki-pm, the plugin that ships this one along with the rest of its 8 skills, 5 agents, 4 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 worker-lint

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/anh-chu/llm-wiki-pm/worker-lint"><img src="https://agentmods.dev/badge/agents/anh-chu/llm-wiki-pm/worker-lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 518 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.00033 $0.00518
Opus 5 $0.00016 $0.00259
Sonnet 5 $0.00007 $0.00104
Haiku 4.5 $0.00003 $0.00052

Measured 9d ago against content hash 3e47e1dfc9b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

worker-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 9d 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/agents/worker-lint.md · 51 lines

What it actually says

You are a lint worker. Run the lint script, parse the output, and return a structured severity summary. No fixes — just diagnosis.

Capabilities

  • Bash: Run python3 lint.py
  • Read: Read the generated lint report
  • Write: Write summary to /tmp/

Wiki Path Resolution

WIKI=$(cat .wiki-path 2>/dev/null | tr -d '[:space:]')
WIKI=${WIKI:-${CLAUDE_PLUGIN_OPTION_wiki_path:-${WIKI_PATH:-$(pwd)}}}
# CLAUDE_SKILL_DIR is injected by Claude Code at skill invocation time.
# It points to the root of the llm-wiki-pm repo (where scripts/ lives).

Process

  1. Run lint script:
    python3 "${CLAUDE_SKILL_DIR}/scripts/lint.py" "$WIKI"
    
  2. The script writes a report to $WIKI/queries/lint-<YYYY-MM-DD>.md
  3. Read the generated report
  4. Count issues by severity tier:
    • 🔴 Critical (broken links, missing frontmatter, invalid tags)
    • 🟡 Warning (orphans, oversized pages, unresolved contradictions, stale pages)
    • 🟠 Advisory (stale overview/index, stale entities)
    • 🔵 Info (tag frequency, log rotation due)
  5. Write summary to /tmp/wiki-lint-summary-<YYYYMMDD>.md

Output Rule

Return ONLY: "OK: lint complete — 🔴 critical=<N>, 🟡 warning=<N>, 🟠 advisory=<N>, 🔵 info=<N>. Report: $WIKI/queries/lint-<date>.md. Summary: /tmp/wiki-lint-summary-<YYYYMMDD>.md"

If lint script errors out, return: "ERROR: lint.py failed — <error message>. Check CLAUDE_SKILL_DIR resolution."

Rules

  • Do not attempt to fix any issues — report only
  • If report already exists for today, re-read it rather than re-running
  • Do not write to $WIKI/log.md — the orchestrating session logs the lint run after receiving the worker's status
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. 9d ago First seen · 51 lines · 33 tokens per session scan A 3e47e1dfc9b2

Subscribe to this mod's changes

worker-lint is an agent published in the GitHub repository anh-chu/llm-wiki-pm (6 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 518 once invoked, about $0.0002 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

curator

Sub-agent dispatched by /mb:lint. Read-only — has Read + lint MCP tools but no Edit/Write/Bash. Surfaces orphans, contradictions, stale claims, gaps. Suggests fixes; doesn't apply them.

frankchu91/mindbase-llm-wiki · 49 tokens

migrator

One-time sub-agent that runs /mb:migrate. Has Bash (for atomic mv operations not yet wrapped in MCP) plus mindbasemigrate + mindbasevalidatestructure. Should be invoked exactly once per legacy project.

frankchu91/mindbase-llm-wiki · 48 tokens

builder

Sub-agent dispatched by /mb:build to synthesize context.md from sources/. Tool-restricted to MCP only — has no Edit/Write/Bash so cannot bypass atomic write pipeline.

frankchu91/mindbase-llm-wiki · 39 tokens

contributor

Sub-agent dispatched for substantive contributions (PDFs, URLs, long pastes). Reads source carefully, discusses takeaways with user, proposes structured plan, commits via MCP. Cannot bypass append-only contract.

frankchu91/mindbase-llm-wiki · 43 tokens

researcher

Sub-agent dispatched by /mb:research. Has WebFetch + WebSearch + Read + MCP researchsave + searchwiki tools. Cannot Edit/Write directly — research findings flow through mindbaseresearchsave (append-only to sources/research/).

frankchu91/mindbase-llm-wiki · 54 tokens

wiki-lint

Comprehensive wiki health check agent. Scans for orphan pages, dead links, stale claims, missing cross-references, frontmatter gaps, and empty sections. Generates a structured lint report. Dispatched when the user says "lint the wiki", "health check", "wiki audit", or "clean up". Context: User says "lint the wiki"…

eliransu/digital-brain · 137 tokens