idle-close
by fatihkartal35 · ★ 0 · updated 6 days ago
0
Closes a Claude Desktop session's process after it has been idle for a while (30 minutes, or what /idle-close set), to free its memory. The session stays in the sidebar and restarts when you message it.
Install
/plugin marketplace add fatihkartal35/claude-mods/plugin install idle-close@fatihkartal35Then 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.endprompt.submitturn.startturn.completetool.callclassic.Stopcommand.run- API calls
$.clock.every$.clock.now$.command.register$.env.get$.process.hookEnv$.process.run$.session.info$.state.get$.state.set$.store.get$.store.set- Can see
every promptevery tool callclassic hooks- Reach
- level 2 of 3 runs processesreads env varsreads machine detailsreads mod statepersists state
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/fatihkartal35/claude-mods
- Path in repo
idle-close- Source commit
8426fb9the exact code the scan read- Author
- @fatihkartal35
- License
- No license declared — ask the author before reusing code.
- 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 fatihkartal35/claude-mods
Related mods
Other mods in Guards, close to this one by stars.