From memory-fork
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
6 events · 14 calls
Ships in memory-fork. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runfs.writefs.listfs.readenv.getmodel.completemodel.forkprompt.composeEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=memory-fork}prompt.composetool.call{tool=Write|Edit|MultiEdit|NotebookEdit}turn.completeui.render{component=AbovePrompt}ui.render{component=Pane, requestId=memory-fork}Every mods API method its source calls, by namespace
registergetlistreadwritecompleteforkruncwdmessagesgetsetopenresolveCLAUDE_CONFIG_DIRHOMEMEMORY_FORK_WAITOSUSERPROFILEWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub ray-amjad/claude-code-mods --plugin memory-fork