claudemods

All Claude Code modsA-rdit/session-guardian

session-guardian

A Claude Code mod in A-rdit/session-guardian

Keeps long sessions cheap and easy to pick up: warns before a session's cache goes cold and what coming back costs, nudges a wrap-up past a set size, saves a quiet session's state by itself before its cache goes cold, holds a command that keeps failing, and adds /wrapup, which also saves the session's dead ends.

review UI rewrite

session-guardian reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.303.

Install hint

/plugin install session-guardian --marketplace A-rdit/session-guardian

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsdrives Claude, reads mod state, draws

Validation

Passed on Claude Code 2.1.303

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, compaction, every tool call
Hooks
session.start, session.measure, turn.step, prompt.submit, turn.complete, command.run {command=wrapup}, session.compact, session.end, tool.call, ui.render {component=AbovePrompt}
API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.prompt.submit, $.session.usage, $.state.get, $.state.set, $.ui.log, $.ui.resolve, $.ui.toast
Validation on 2.1.303
Passed
Scanned revision
783dc2b01ae3
Marketplace passed
session-guardian
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. plugin/hooks/register.tsx:378

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for session-guardian Validation badge for session-guardian

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/A-rdit--session-guardian--session-guardian-reach.svg)](https://mods.aidojo.si/mods/A-rdit--session-guardian--session-guardian/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/A-rdit--session-guardian--session-guardian-validates.svg)](https://mods.aidojo.si/mods/A-rdit--session-guardian--session-guardian/)