← Browse
disk-hygiene
cdeust ★ 1
disk-hygiene automatically removes session-owned git worktrees, build output, and runtime files from Claude Code and Codex once they are safe to delete, such as when a PR contains all local commits or a session ends. The plugin uses Python 3, Git, GitHub CLI, and lsof to track and clean up disposable workspace artifacts while preserving transcripts by default.
Install
> /plugin marketplace add cdeust/session-optimizer/tree/HEAD/plugins/disk-hygiene
> /plugin install disk-hygiene
Source: https://github.com/cdeust/session-optimizer/tree/HEAD/plugins/disk-hygiene
What it's made of
4 hooks
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 4 · PostToolUse, SessionEnd, SessionStart, Stop
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
python3- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (cdeust).