Doc Janitor — Documentation skill for Claude Code
Clean up stale plan files, session summaries, backups, and other documentation artifacts before merging.
How to install Doc Janitor
Installs to ~/.claude/commands/dialpad-dialtone-doc-janitor.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dialpad/dialtone/HEAD/.claude/commands/doc-janitor.md -o ~/.claude/commands/dialpad-dialtone-doc-janitor.md Restart Claude Code, or start a new session, for it to be picked up.
What Doc Janitor does
description: Clean up stale plan files, session summaries, backups, and other documentation artifacts before merging
Launch the **doc-janitor** agent to sweep this branch for stale documentation artifacts.
Alternatives in Documentation
- Apply Self Review — Apply the approved improvements from the latest memory-self-review PROPOSAL 297 ★
- Obsidian Export — Export a clean structured snapshot of the vault that any agent or tool can consume — flat JSON or markdown ind 277 ★
- Docs Drift — Use to catch documentation that has silently gone stale — it spawns ONE fresh sibling session via CCC that ext 130 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Add Context
Enrich a handoff/plan doc with session-verified context before the next session works from it
Entropy Check.Skill
Scan the codebase for doc drift, dead references, layer violations, and stale features; commit a clean-up and
Story Mode Arken
Write Arken user stories as an experienced agile Product Owner. Ask clarifying questions one at a time, then g
C Clean
Find and remove dead code and stale documentation.
Emile Handoff
Claude Code skill: write a session handoff doc before context runs out, so a fresh session can pick up where y
Handover Save
Materialize the current conversation's plan into a durable handover doc under .claude/handover/ (survives /cle
Related Agents
Thread Janitor
Auto-clean stale cortex threads. Finds threads with no updates in 7+ days, resolves completed work, merges dup
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes
House Git
Git analysis specialist. Use proactively for reviewing diffs (100+ lines), commit history analysis, branch com