Home / Claude Code mods / Context & memory / notes-compaction

notes-compaction

notes-compaction is a Claude Code mod by ramtinJ95 that checkpoint notes and fresh context windows that continue from them, with searchable history of earlier windows.

Updated 2026-11-29

What is notes-compaction?

notes-compaction is a Claude Code mod by ramtinJ95 that checkpoint notes and fresh context windows that continue from them, with searchable history of earlier windows. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
AuthorramtinJ95
RepositoryramtinJ95/claude-mods
Popularityno public popularity data yet
CategoryContext & memory
SecurityHigh risk (40/100)
Rank#8,008 of 9,397 Claude Code mods; #714 in Context & memory
Last commit2026-11-29
Hooks10 events
Seescompaction, every prompt, every tool call, mcp__notes-compaction__get_context_remaining calls, mcp__notes-compaction__history calls, mcp__notes-compaction__new_context calls, mcp__notes-compaction__notes calls
Draws onPane

Is notes-compaction safe to install?

notes-compaction scores 40/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 1 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.command.rundrives Claude
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.id
$.session.messagesreads the transcript
$.session.usage
$.settings.readreads settings
$.store.getkeeps its own state
$.store.setkeeps its own state
$.tool.registerdrives Claude
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install notes-compaction?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/ramtinJ95/claude-mods
    claude plugin validate ./claude-mods/plugins/notes-compaction
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add ramtinJ95/claude-mods && claude plugin install notes-compaction@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs notes-compaction for you:

Install the "notes-compaction" Claude Code mod from https://github.com/ramtinJ95/claude-mods/tree/main/plugins/notes-compaction. Run claude plugin validate on it first and show me what it can access before you enable it.

More from ramtinJ95/claude-mods

This repository has 4 Claude Code mods on MCPMods.

  • nexus: Drive Nexus coding-agent threads from Claude Code: a live pane of threads and conversations, /nexus commands, and tools (Review before installing)
  • review-pane: Review the working diff in Neovim beside Claude Code, or the last response in a pane: annotate lines, ask questions inli (Review before installing)
  • shepherdr: Spawn, delegate to and monitor Pi and Claude Code agents in Herdr Core terminals, with results pushed back into the sess (High risk)