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.
npx agentmods add skills/xyy277/doc77/doc-lintnpx skills add xyy277/doc77 --skill doc-lintgit clone --depth 1 https://github.com/xyy277/doc77Wrote 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/skills/xyy277/doc77/doc-lint)<a href="https://agentmods.dev/skills/xyy277/doc77/doc-lint"><img src="https://agentmods.dev/badge/skills/xyy277/doc77/doc-lint.svg" alt="Measured on agentmods" 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.00039 | $0.00343 |
| Opus 5 | $0.00019 | $0.00171 |
| Sonnet 5 | $0.00008 | $0.00069 |
| Haiku 4.5 | $0.00004 | $0.00034 |
Grade A, and why
doc-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.
What it actually says
文档规范检查技能
检查项目
格式规范
- Markdown 标题层级是否连续(不跳级)
- 列表缩进是否一致(2 空格或 4 空格)
- 代码块是否有语言标注
- 表格格式是否正确
- 空行:标题前后各一空行,列表项之间不留空行
链接检查
- 内部链接指向的文件是否存在
- 锚点链接格式是否正确(小写、连字符分隔)
- 外部 URL 格式是否合法
术语一致性
- 同一概念是否全文使用统一译法
- 缩写首次出现是否给出全称
- 中英文混排时中英文之间是否有空格
拼写和语法
- 常见拼写错误检测
- 标点符号:中文用全角,英文用半角
- 句末标点是否一致
输出格式
按严重程度分级:
- 🔴 错误:必须修复(格式错误、断链)
- 🟡 警告:建议修复(不一致、不规范)
- 🔵 提示:可选优化(风格建议)
每条包含:文件路径、行号、问题描述、修复建议。
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.
- 6d ago First seen · 42 lines · 39 tokens per session scan A d7ca4f9a7dda
doc-lint is a skill published in the GitHub repository xyy277/doc77 (8 stars, last pushed 18d ago), licensed MIT. It adds 39 tokens to every session and 343 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.
Other skills, from other repositories
diagrams
Mermaid diagrams following the C4 model: context, container, component, sequence, ER and deployment. Use when saying "diagram", "visualize", or "architecture diagram".
gwm
Manage git worktrees across any repository with the gwm Rust binary (CLI + ratatui TUI). Use when the user asks to create / list / remove / bootstrap / switch / link worktrees, run a command across worktrees (gwm exec) or reclaim build artifacts (gwm clean), materialise a PR into a worktree (gwm review), drive a…
debug
Systematic 4-phase debugging with escalation protocol. Use when saying "debug", "investigate bug", "find root cause", "why is this failing", or "fix this bug".
sw-do
Implement a SpecWeave increment task by task through the ledger, with evidence per task and a verified close. Use for "implement this", "start working", "continue the increment", "keep going".
review
Adversarial fresh-context review of an increment before it ships. Every finding cites path:line and is re-verified. Use when saying "review", "grill this", or "critique the implementation".
done
Close an increment: ledger check, specweave verify, optional review, then specweave complete. Use when all tasks are done and saying "close increment", "we are done", or "finish up".