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 skills add i-stack/ai-coding-kit --skill doc-hygienegit clone --depth 1 https://github.com/i-stack/ai-coding-kitWrote 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/i-stack/ai-coding-kit/doc-hygiene)<a href="https://agentmods.dev/skills/i-stack/ai-coding-kit/doc-hygiene"><img src="https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/doc-hygiene/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/skills/i-stack/ai-coding-kit/doc-hygiene"><img src="https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/doc-hygiene.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.00123 | $0.00649 |
| Opus 5.5 | $0.00049 | $0.00260 |
| Sonnet 5.5 | $0.00025 | $0.00130 |
| Haiku 4.5 | $0.00012 | $0.00065 |
Grade A, and why
doc-hygiene 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 24d 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
Doc Hygiene(文档卫生)
强制入口
命中本 skill 时,必须先完整阅读 references/doc_hygiene.md 并按其中条款执行。不得以摘要代替全文。
核心铁律(一句话)
文档只描述「现在是什么」,不描述「怎么变成这样的」。
过程叙事(迁移/owner 纠正/此前承载/待平移/抽象归属倒置…)是变更记录的内容,不是文档正文的内容。
规则索引
| rule_id | owner | scope | phase | precedence | conflicts_with | merges_into | field_owner |
|---|---|---|---|---|---|---|---|
| DH-001 | doc-hygiene | global | structure | 500 | [] | [] | {} |
| DH-002 | doc-hygiene | global | structure | 500 | [] | [] | {} |
| DH-003 | doc-hygiene | global | structure | 500 | [] | [] | {} |
(条文见 references/doc_hygiene.md;元数据语义见 cognitive-reasoning/references/rule_index.md)
何时加载
- 依赖触发:
writing-docs.md建议文档写作/更新任务在 frontmatter 中depends_on: [doc-hygiene](CI 不强制校验;实际落地路径为 invocation.md 关键词触发行 + 约定)。 - 显式触发:用户写「更新文档」「加个说明」「记录这个结论」或任何产生/修改
.md的操作。 - 跳过:纯代码、纯脚本、不涉及文档正文的改动。
与 writing-docs.md 的关系
本 skill 是 .agents/writing-docs.md「变更约定」的纪律强化:writing-docs 规定变更要走演进流程(proposal→validate→promote),本 skill 规定流程的产物(文档)里不许出现流程本身。二者正交,同时生效。
What ships with it
4 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.
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.
- 24d ago First seen · 45 lines · 123 tokens per session scan A ed97e59886e1
doc-hygiene is a skill published in the GitHub repository i-stack/ai-coding-kit (3 stars, last pushed 11d ago), licensed MIT. It adds 123 tokens to every session and 649 once invoked, about $0.0005 per session on Opus 5.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-11-06.
doc-hygiene compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doc-hygienei-stack/ai-coding-kit | Skill | 3 | 11d ago | MIT | A | 123 | Claude Code |
| agent-creatorhotovo/aider-desk | Skill | 1.5k | 9d ago | Apache-2.0 | A | 60 | Claude Code, Codex |
| writing-testshotovo/aider-desk | Skill | 1.5k | 9d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| githits-mcpgithits-com/githits-cli | Skill | 144 | today | Apache-2.0 | A | 48 | Claude Code |
| ppt-design-skillsunchaokun/PPT-Design-Skill | Skill | 531 | 2mo ago | MIT | A | 35 | Codex |
| hunk-reviewkodustech/kodus-ai | Skill | 1.7k | today | none | A | 69 | Claude Code, Codex |
| kodus-review-settingskodustech/kodus-ai | Skill | 1.7k | today | none | A | 92 | Claude Code, Codex |