context-memory

context-memory is a Claude Code mod by SipengXie2024 that lets the working model keep a task note, archives the conversation at compaction, carries the latest note verbatim into the new context, and provides scoped history search and read tools.

Updated 2026-11-26

What is context-memory?

context-memory is a Claude Code mod by SipengXie2024 that lets the working model keep a task note, archives the conversation at compaction, carries the latest note verbatim into the new context, and provides scoped history search and read tools. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
AuthorSipengXie2024
RepositorySipengXie2024/claude-mods
Popularityno public popularity data yet
CategoryContext & memory
SecurityReview before installing (68/100)
Rank#8,420 of 9,397 Claude Code mods; #747 in Context & memory
Last commit2026-11-26
Hooks8 events
Sees? calls, classic hooks, compaction, mcp__context-memory__history_search|mcp__context-memory__history_read|mcp__context-memory__history_status|mcp__context-memory__history_sessions calls, mcp__context-memory__notes_read calls
Draws onUserMessage, ToolUse

Is context-memory safe to install?

context-memory scores 68/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.env.getreads env vars
$.fs.existsreads files
$.process.runruns processes
$.session.id
$.session.messagesreads the transcript
$.tool.registerdrives Claude
$.ui.logdraws interface

How do I install context-memory?

  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/SipengXie2024/claude-mods
    claude plugin validate ./claude-mods/mods/context-memory
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add SipengXie2024/claude-mods && claude plugin install context-memory@sipeng-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs context-memory for you:

Install the "context-memory" Claude Code mod from https://github.com/SipengXie2024/claude-mods/tree/master/mods/context-memory. Run claude plugin validate on it first and show me what it can access before you enable it.

More from SipengXie2024/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • advisor-guard: Under a Fable or Mythos main loop, tell the model never to consult the advisor tool, so the session does not pay for a s (Low risk)
  • jev: Jev effort routing for Opus, Mythos, GPT-6 Astra and GPT-6.1 Sol (policy.v15): start effort per prompt from per-model ki (High risk)
  • kernel-model-hint: Under Fable 5.2 or Mythos 5.2, rewrite the system-prompt note on their kernel-optimization training limits so the model (Low risk)
  • magpie-tasks: Long-running task windows for claude-magpie sessions: an architect per long task, subagent model and effort routing by r (High risk)
  • peer-send: Scenario driver of the magpie-tasks e2e scripts: a session loaded with it sends a text to another session, the way the R (Review before installing)
  • math-render: Draws the TeX math in assistant replies as Unicode in the terminal: inline formulas on one line, display formulas as cha (Low risk)
  • mode: Per-repo general/academic mode: /mode writes .claude/settings.local.json; paper repos get a one-time hint. (Low risk)
  • no-bg-poll: Block sleep-and-read polling of background tasks; they send a completion notification. (Low risk)