SafetyAppears in · Toast / Inline / BandAdded

Session Hygiene

Configurable rule tripwires plus a handoff card of open loops from earlier sessions.

Session Hygiene · Effect preview · IllustrationIllustrative
> Add pagination to the order list
⏺ I’ll look at the list component first.
❯
⚠ tripwire: typecheck before push
handoff · 3 open loops
• migration applied, NOTIFY pgrst?
❯ /handoff

Illustration. Actual results depend on the mod, terminal and environment.

Install

/plugin marketplace add bennewton999/claude-code-mods
/plugin install session-hygiene@bennewton-mods
/reload-plugins

Run these commands one at a time in a Claude Code session.

What it accesses

Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.

Reads

Yes

Observes tools/git and plugin options; handoff uses gh to read PRs.

Writes files

Yes

Writes open-loop and tripwire state to the on-device plugin store.

Runs commands

Yes

Runs git; handoff re-check runs gh pr view.

Network

Yes

Handoff re-check reaches GitHub via gh (author Privacy section).

Introduction

Session Hygiene is a Claude Code function-hooks mod. Plugin options enable tripwires (typecheck before push, mutation-check new tests, review before push, hold sourcing .env, and more) with toasts and reminders to Claude, plus /handoff for open loops. Handoff re-checks use gh against GitHub. Defaults lean toward the author's repos—configure per project. Scores are README-calibrated, not run-tested here.

Who it is for

  • People who want project rules enforced as tripwires on agent actions

Requirements

No additional requirements specified; check the author’s instructions.