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.
| Type | Claude code mod |
|---|---|
| Author | SipengXie2024 |
| Repository | SipengXie2024/claude-mods |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | Review before installing (68/100) |
| Rank | #8,420 of 9,397 Claude Code mods; #747 in Context & memory |
| Last commit | 2026-11-26 |
| Hooks | 8 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 on | UserMessage, 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.process.run | runs processes |
$.session.id | |
$.session.messages | reads the transcript |
$.tool.register | drives Claude |
$.ui.log | draws interface |
How do I install context-memory?
- 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/SipengXie2024/claude-mods claude plugin validate ./claude-mods/mods/context-memory
- 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)