session-reaper

by IT-BAER · ★ 2 · updated 11 days ago

Automationwarnings

0

Frees the memory of idle Claude Code sessions (desktop app, VS Code, CLI) by stopping their process trees (desktop sessions stay in the sidebar), optionally archives desktop sessions, and stops idle process trees left behind by ended sessions

install session-reaper

Install

/plugin marketplace add IT-BAER/claude-forge
/plugin install session-reaper@claude-forge

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.startturn.startturn.complete
API calls
$.clock.every$.clock.now$.mcp.call$.process.run$.session.id$.store.delete$.store.get$.store.keys$.store.set$.ui.log
Reach
level 3 of 3 MCP serversruns processespersists 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/IT-BAER/claude-forge
Path in repo
mods/session-reaper
Source commit
8a66837 the exact code the scan read
Author
@IT-BAER
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 IT-BAER/claude-forge

desktop-update

IT-BAER/claude-forge

A line above the prompt when a newer Claude Desktop (Windows, MSIX) is on Anthropic's update feed, with a one-click install that closes Desktop, updates the package and starts it again, and a switch that turns Desktop's own auto-update off or on (policy value, UAC prompt).

★ 2Bands

file-explorer

IT-BAER/claude-forge

VS Code style file tree of the session's working directory in a pane

★ 2PanesStatus lineCommands

prompt-templates

IT-BAER/claude-forge

Prompt template library in a pane: search, tags, {{variables}}, fill, insert, send or copy; /prompts

★ 2PanesStatus lineCommands

session-band

IT-BAER/claude-forge

Prompt cache status band (c / ctx / rwc / sc / plan limits) with hover help, cold-send guard, keep-warm, board and a handoff that also picks up handoff files (all under /session-band), and an autonomous mode that clears and continues each handoff. Fork of Cache Keeper by Nate Herk.

★ 2PanesBandsReskins

skill-manager

IT-BAER/claude-forge

Side pane listing installed skills with scope, GitHub source, usage, update and delete; /skill-manager

★ 2PanesCommandsPrompt

themes

IT-BAER/claude-forge

Color themes for Claude Desktop, switched with /themes. Includes GitHub Dark: the github.com dark look with GitHub dark code highlighting, dark mode only. Four space themes add an animated scene behind the conversation in the same colors.

★ 2CommandsAutomation

Other mods in Automation, close to this one by stars.