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 urmzd/dotfiles --skill clean-docsgit clone --depth 1 https://github.com/urmzd/dotfilesWrote 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/urmzd/dotfiles/clean-docs)<a href="https://agentmods.dev/skills/urmzd/dotfiles/clean-docs"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/clean-docs/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/urmzd/dotfiles/clean-docs"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/clean-docs.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.00084 | $0.01156 |
| Opus 5.5 | $0.00034 | $0.00462 |
| Sonnet 5.5 | $0.00017 | $0.00231 |
| Haiku 4.5 | $0.00008 | $0.00116 |
Grade A, and why
clean-docs 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Clean Docs
Clean documentation so users can act on it quickly and agents can parse it reliably.
When to Use
- The user invokes
/clean-docs. - The user asks to clean, polish, modernize, or tighten docs.
- The user asks for docs to be accurate, up to date, readable, or user-focused.
- The user asks to remove em dashes, AI-looking prose, stale examples, or formatting drift.
- The task touches README, AGENTS.md, llms.txt, docs/, skill files, or agent files.
Default Workflow
-
Inventory docs. Find Markdown and text docs with
rg --files -g '*.md' -g '*.mdx' -g '*.txt'. -
Run the hygiene gate. Prefer the bundled checker:
checker="${CLAUDE_SKILL_DIR:-$HOME/.agents/skills}/sync-docs/scripts/check-doc-hygiene.sh" "$checker" .In a chezmoi source tree before apply, use:
dot_agents/skills/sync-docs/scripts/executable_check-doc-hygiene.sh . -
Verify claims before editing. Check commands with
--help, manifests, source files, tests, and existing configuration. Do not preserve claims that cannot be verified. -
Edit in place. Improve structure, wording, examples, and links. Keep the existing document's purpose and do not invent unsupported features.
-
Rerun the gate. Fix failures until text hygiene, embedded examples, and agentspec validation pass.
-
Report changes. Summarize files changed, facts verified, and any items that still need a human decision.
Cleanup Rules
| Rule | Standard |
|---|---|
| No em dashes | Do not use U+2014 anywhere in text, comments, help output, or docs. Use periods, colons, commas, or indexed bullets. |
| User-first | Lead with what the user can do, then prerequisites, then edge cases. |
| Accurate | Commands, paths, flags, and tool names must match current source or CLI help. |
| Focused | Remove filler, repeated setup prose, trailing summaries, and unsupported claims. |
| Scannable | Prefer short sections, tables for matrices, bullets for steps, and fenced code with language tags. |
| Actionable | Every major section should help users install, configure, run, verify, troubleshoot, or extend. |
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.
- 3mo ago First seen · 110 lines · 84 tokens per session scan A 54872d0c1251
clean-docs is a skill published in the GitHub repository urmzd/dotfiles (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 84 tokens to every session and 1,156 once invoked, about $0.0003 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-08-31.
clean-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clean-docsurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 84 | Claude Code |
| metaceptionmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 332 | Claude Code |
| astropymagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 56 | Claude Code, Codex |
| mcp-notion-usage-guidemagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 174 | Claude Code, Codex |
| esmmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 96 | Claude Code, Codex |
| ralph-loopmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 63 | Claude Code, Codex |
| repo-industrializemagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 169 | Claude Code, Codex |