What is idle-close?
idle-close is a Claude Code mod by fatihkartal35 that 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. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | fatihkartal35 |
| Repository | fatihkartal35/claude-mods |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | High risk (56/100) |
| Rank | #5,909 of 9,397 Claude Code mods; #523 in Context & memory |
| Last commit | 2026-11-27 |
| Hooks | 8 events |
| Sees | classic hooks, every prompt, every tool call |
| Draws on | nothing |
Is idle-close safe to install?
idle-close scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.process.hookEnv | |
$.process.run | runs processes |
$.session.info | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
How do I install idle-close?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/fatihkartal35/claude-mods claude plugin validate ./claude-mods/idle-close
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add fatihkartal35/claude-mods && claude plugin install idle-close@fatihkartal35
Or ask Claude to set it up
Paste this into Claude Code and it installs idle-close for you:
Install the "idle-close" Claude Code mod from https://github.com/fatihkartal35/claude-mods/tree/main/idle-close. Run claude plugin validate on it first and show me what it can access before you enable it.
More from fatihkartal35/claude-mods
This repository has 2 Claude Code mods on MCPMods.
- auto-model-detector: On Haiku, classifies each prompt and routes the turn to the right model and effort level. (Low risk)