docs-sweep

docs-sweep is a skill for Claude Code, Codex from edgehero/pi-dispatch. It costs 29 tokens per session (285 once invoked), scanned A, original, MIT.

A nightly documentation fixer that compares recent behavior changes with the documentation, makes small corrections on a separate branch, and records the work.

In plain words
What is it for?
It is for correcting outdated settings, flags, examples, and descriptions after recent code changes.
Why use it?
It keeps documentation accurate while avoiding the person's current files and limiting each night's work to one isolated commit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for correcting outdated settings, flags, examples, and descriptions after recent code changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/edgehero/pi-dispatch/docs-sweep
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.

Any agent
npx skills add edgehero/pi-dispatch --skill docs-sweep
Clone the repo
git clone --depth 1 https://github.com/edgehero/pi-dispatch

Made for: Claude Code, Codex.

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 docs-sweep

README.md
[![agentmods](https://agentmods.dev/badge/skills/edgehero/pi-dispatch/docs-sweep/github.svg)](https://agentmods.dev/skills/edgehero/pi-dispatch/docs-sweep)
Your own site
<a href="https://agentmods.dev/skills/edgehero/pi-dispatch/docs-sweep"><img src="https://agentmods.dev/badge/skills/edgehero/pi-dispatch/docs-sweep/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 docs-sweep

Your own site · 80×15
<a href="https://agentmods.dev/skills/edgehero/pi-dispatch/docs-sweep"><img src="https://agentmods.dev/badge/skills/edgehero/pi-dispatch/docs-sweep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 285 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.00029 $0.00285
Opus 5.5 $0.00012 $0.00114
Sonnet 5.5 $0.00006 $0.00057
Haiku 4.5 $0.00003 $0.00028

Measured today against content hash 1ae8a5d14e5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docs-sweep 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 today.

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.

worker/starters/docs/skills/docs-sweep/SKILL.md · 21 lines

What it actually says

Sweep the docs

Each night, in the folder. The person's checkout is theirs: never change the files they are working on.

  1. Read the commits of the last 24 hours on the default branch (git log --since=24.hours). Leave out those that change no behaviour.
  2. For each, find what the docs say about what changed: a renamed setting, a new flag, an example that no longer runs, a page that now says the wrong thing. Search the docs folder and the READMEs.
  3. Nothing to fix: stop. That is a successful run.
  4. Otherwise, in a separate worktree on a new branch pi/docs-$(date +%F) (git worktree add "$(mktemp -d)/docs" -b ...), make the smallest edits that make the docs true again, in the docs' own voice. One commit, then remove the worktree and save what you changed and why to /artifacts/docs.md.

If a pi/docs-* branch from an earlier night is still not in the default branch, stop: one waits at a time. Never rewrite a page, reorder it or change its style.

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. today First seen · 21 lines · 29 tokens per session scan A 1ae8a5d14e5b

Subscribe to this mod's changes

docs-sweep is a skill published in the GitHub repository edgehero/pi-dispatch (202 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 285 once invoked, about $0.0001 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-12-06.

Related

docs-sweep compared with skills from other repositories

docs-sweep next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-sweepedgehero/pi-dispatchSkill202todayMITA29Claude Code, Codex
handofftjqscott/dorySkill1022mo agoMITA47Claude Code
requesting-code-revieweric861129/SKILLS_All-in-oneSkill527mo agoMITA22Claude Code, Codex
git-pushingeric861129/SKILLS_All-in-oneSkill527mo agoMITA70Claude Code, Codex
gitasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A163Claude Code
contextual-commityamadashy/repomixSkill30ktodayMITA62Claude Code, Codex
git-commitspinabot/brigadeSkill11k4d agoMITA46Claude Code, Codex