session-hygiene
by Ben Newton · ★ 0 · updated 2 days ago
Tripwires for Ben's memory rules, and a handoff card of open loops left by earlier sessions
Install
/plugin marketplace add bennewton999/claude-code-mods/plugin install session-hygiene@bennewton-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.endcommand.runprompt.submittool.callturn.complete- API calls
$.clock.now$.command.register$.fs.exists$.process.run$.session.cwd$.session.id$.store.delete$.store.get$.store.keys$.store.set$.ui.ask$.ui.log$.ui.toast- Can see
every promptevery tool call- Reach
- level 2 of 3 runs processesreads filespersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/bennewton999/claude-code-mods
- Path in repo
session-hygiene- Source commit
5db0813the exact code the scan read- Author
- Ben Newton @bennewton999
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from bennewton999/claude-code-mods
context-gauge
bennewton999/claude-code-mods
Context-window gauge with a pre-compaction warning, and a log of what was in flight at each compaction
session-activity
bennewton999/claude-code-mods
Side-effects ledger (/ledger) with a hold on production SQL writes, and a waiting-on tracker for background work
session-fleet
bennewton999/claude-code-mods
Fleet board of live sessions, a needs-you beacon, and a worktree claim guard, shared across sessions
ship-tracker
bennewton999/claude-code-mods
Ship-pipeline band (PR, CI, merge, prod deployment, live) and a receipt line under each turn