memory-fork

memory-fork is a Claude Code mod by abdul-raafai-asim that after each turn Haiku decides whether memory needs a change; a tool-less fork of the session drafts it and the mod writes it, with a band and a pane showing what changed.

Updated 2026-10-30

What is memory-fork?

memory-fork is a Claude Code mod by abdul-raafai-asim that after each turn Haiku decides whether memory needs a change; a tool-less fork of the session drafts it and the mod writes it, with a band and a pane showing what changed. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authorabdul-raafai-asim
Repositoryabdul-raafai-asim/claude-code-mods
Popularityno public popularity data yet
CategoryContext & memory
SecurityReview before installing (60/100)
Rank#4,646 of 9,397 Claude Code mods; #413 in Context & memory
LicenseMIT
Last commit2026-10-30
Hooks6 events
SeesWrite|Edit calls
Draws onAbovePrompt, Pane

Is memory-fork safe to install?

memory-fork 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.model.completedrives Claude
$.model.forkdrives Claude
$.process.runruns processes
$.session.cwd
$.session.messagesreads the transcript
$.state.get
$.state.set
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install memory-fork?

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

Or ask Claude to set it up

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

Install the "memory-fork" Claude Code mod from https://github.com/abdul-raafai-asim/claude-code-mods/tree/main/plugins/memory-fork. Run claude plugin validate on it first and show me what it can access before you enable it.

More from abdul-raafai-asim/claude-code-mods

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

  • cache-clock: A one-line band above the prompt: context used, and a countdown until the prompt cache goes cold (Review before installing)
  • decision-tree: When Claude ends a reply with a question, explains the choice in a side pane and lets you explore any option, or your ow (Review before installing)
  • diagram-pane: A side pane with the live work map and pinned diagrams, plus tabs for progress, diffs, the PR and its CI, every chat thi (Review before installing)
  • dream-pass: A dreaming pass over Claude's memory folder: merges duplicates, rewrites stale entries, removes dead ones and tidies MEM (Review before installing)
  • jev-skill-suggestion: Scores every skill against your prompt with TypeSafe Jev as you type; observe, block or steer skill loading (Review before installing)
  • prompt-bouncer: Bounces vague prompts before Claude sees them, and suggests the project's own term (Review before installing)
  • secret-box: Claude can use a secret without seeing it: a masked box saves keys to .env and gives Claude a placeholder, every key a t (Review before installing)
  • transcript-redactor: Keeps secrets and email addresses out of the session transcript: swaps each one for a stable placeholder on the way in, (Low risk)