Clean Slate — Development skill for Claude Code
Agent skill: safe re-initialization of project agent knowledge — salvage-verify old docs, backup-gated deletion, fresh codebase read, direction interview, rebuild cited AGENTS.md/ARCHITECTURE.md/ROADM.
How to install Clean Slate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open silkyland/clean-slate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Clean Slate does
Agent skill: safe re-initialization of project agent knowledge — salvage-verify old docs, backup-gated deletion, fresh codebase read, direction interview, rebuild cited AGENTS.md/ARCHITECTURE.md/ROADMAP.md
Alternatives in Development
- Backup 14.5k ★
- Volume Direction — 卷方向确定 skill 669 ★
- Claude Code Snapshot Backup — Claude Code source snapshot backup - instructkr/claude-code mirror 195 ★
README

clean-slate
**Safe re-initialization of a project's agent knowledge — burn the rotten docs, rebuild from the code and the user's intent.**
`clean-slate` is an [agent skill](https://vercel.com/docs/agent-resources/skills) for the day your knowledge files stop helping: `CLAUDE.md` contradicts the code, three generations of agents left conflicting notes, the roadmap describes a project that no longer exists. Past that point, patching costs more than rebuilding.
What it does
/clean-slate .
- Inventory — finds every agent-knowledge file (CLAUDE.md, AGENTS.md, cursor rules, architecture docs, roadmaps, old plans) and classifies each delete / keep / ask. Human docs (README, CHANGELOG, end-user docs), code, and anything a build/CI/docs-site config references are never in scope.
- Salvage — mines the old files for load-bearing claims and tags each
one: verified (fresh
file:linecitation — survives), refuted (becomes a "common wrong assumption" warning), or unverifiable from code (deploy quirks, house rules — carried to the interview or the roadmap's open questions, never silently dropped). - Backup gate ⛔ — presents the exact delete list and asks where to back
it up (recommended:
docs/_archive//+ a git tag). The question is only asked when the invocation didn't already authorize the reset — but nothing is ever deleted without a count-verified backup: headless runs and pre-authorized invocations take the recommended backup automatically, and if it can't be verified, they stop instead of deleting. - Clean — backs up, count-verifies the backup against the delete list (a command, not a judgment call), deletes only the confirmed list.
- Fresh read — inventories the codebase from source: structure, wiring, data flow, git trajectory. Old docs are gone and are not trusted from memory.
- *Direction interview
Related Skills
Claude Tools
The clean slate a fresh Claude Code should start from — clean context, locked credentials, guarded egress. Iso
Aka Claude Tools
The clean slate a fresh Claude Code should start from: clean context, locked credentials, guarded egress. Isol
Brave Search
Web search via the Brave: title, URL, snippet per result. Works headless, can serve as backup or when searchin
Taskforge Sync
Sync docs/prd.md into .taskmaster safely — backup, isolated parse, deterministic diff, human-gated additive im
Windows Disk Cleanup
An Agent Skill for Windows 10/11 disk space survey, safe cross-drive migration and cleanup. Read-only first, p
Keenetic Netcraze Manager
Agent skill + CLI to manage Keenetic and Netcraze routers over RCI: object-group fqdn domain lists, dns-proxy
Related Agents
Knowledge Compile Agent
Full wiki rebuild from all raw/ sources. Schema-driven. Used for initialization or after schema changes.
Cleanup Executor
Safely removes confirmed dead code with git backup, build verification, and dependency-order deletion. Use aft
Deep Review Dead Reference
After a deletion or rename, finds every remaining executable reference (imports, patch targets, task names, ro