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.
git clone --depth 1 https://github.com/zhaixin244-wq/fnwnpx agentmods add commands/zhaixin244-wq/fnw/wiki-lintWrote 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.
[](https://agentmods.dev/commands/zhaixin244-wq/fnw/wiki-lint)<a href="https://agentmods.dev/commands/zhaixin244-wq/fnw/wiki-lint"><img src="https://agentmods.dev/badge/commands/zhaixin244-wq/fnw/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.
<a href="https://agentmods.dev/commands/zhaixin244-wq/fnw/wiki-lint"><img src="https://agentmods.dev/badge/commands/zhaixin244-wq/fnw/wiki-lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00277 |
| Opus 5.5 | $0.00000 | $0.00111 |
| Sonnet 5.5 | $0.00000 | $0.00055 |
| Haiku 4.5 | $0.00000 | $0.00028 |
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 2mo 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.
What it actually says
Wiki Lint — 知识库健康检查
运行知识库健康检查,检测以下问题:
- 索引一致性 — index.md 条目与实际文件是否匹配
- 死链接 — markdown 链接目标是否存在
- 空页面 — 内容过少的占位页面
- 过期声明 — TODO/待补充/TBD 标记
- 格式一致性 — 实体页面是否缺少标准章节
- 来源追溯 — 知识来源标注是否完整
- 孤立页面 — 无任何引用的页面
- 交叉引用 — 相关实体间双向链接完整性
执行
运行 lint 脚本:
bash .claude/shared/wiki-lint.sh
如需自动修复可修复项:
bash .claude/shared/wiki-lint.sh --fix
读取生成的报告 .claude/wiki/lint-report.md,总结发现的问题和修复建议。
参数
$ARGUMENTS— 可选参数,如--fix启用自动修复
执行命令:bash .claude/shared/wiki-lint.sh $ARGUMENTS
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.
- 2mo ago First seen · 34 lines · 0 tokens per session scan A 02fbbc9b7902
wiki-lint is a command published in the GitHub repository zhaixin244-wq/fnw (31 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 277 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-30.
wiki-lint compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wiki-lintzhaixin244-wq/fnw | Command | 31 | 5mo ago | MIT | A | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |