What is clear-resume?
clear-resume is a Claude Code mod by m4cd4r4 that write a handover when a Claude Code session gets long, type /clear, and the next session picks up where you left off with nothing to paste. It is listed under Interface and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | m4cd4r4 |
| Repository | m4cd4r4/clear-resume |
| Popularity | 1 GitHub stars |
| Category | Interface |
| Security | Review before installing (60/100) |
| Rank | #1,953 of 5,272 Claude Code mods; #782 in Interface |
| License | MIT |
| Last commit | 2026-10-18 |
| Hooks | 7 events |
| Sees | Bash calls, compaction, every tool call |
| Draws on | nothing |
Is clear-resume safe to install?
clear-resume scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 4 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 files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.session.cwd | |
$.session.id | |
$.session.usage | |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install clear-resume?
- 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/m4cd4r4/clear-resume claude plugin validate ./clear-resume/plugin
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add m4cd4r4/clear-resume && claude plugin install clear-resume@clear-resume
Or ask Claude to set it up
Paste this into Claude Code and it installs clear-resume for you:
Install the "clear-resume" Claude Code mod from https://github.com/m4cd4r4/clear-resume/tree/main/plugin. Run claude plugin validate on it first and show me what it can access before you enable it.