session-cleaner

by Ricardo Rocha · ★ 0 · updated 5 days ago

PanesCommandsvalidates

0

/sessions: filter and delete Claude Code sessions

install session-cleaner

Install

/plugin marketplace add r0charm/claude-session-cleaner
/plugin install session-cleaner@claude-session-cleaner

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startcommand.runui.focusui.closeui.render
API calls
$.clock.now$.clock.sleep$.command.register$.env.get$.fs.list$.fs.read$.fs.stat$.process.run$.session.cwd$.session.id$.ui.focus$.ui.invalidate$.ui.open$.ui.resolve
Draws
Pane
Reach
level 2 of 3 runs processesreads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/r0charm/claude-session-cleaner
Path in repo
repository root
Source commit
10e3fb1 the exact code the scan read
Author
Ricardo Rocha @r0charm
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.