From cortexdb-live
CortexDB inside Claude Code: haiku-planned auto-recall shown above the prompt, the brain on the status line, and durable facts captured while the session is idle. A mod: Claude Code only, needs the cortexdb plugin.
7 events · 23 calls
Ships in cortexdb-live. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runfs.listfs.readenv.getenv.setmodel.completeprompt.submitmcp.callmcp.connectEach event it registers a hook on, with the matcher when it sets one
session.startclassic.SessionStartcommand.run{command=cortexdb-show}prompt.submitclassic.UserPromptSubmitturn.completeui.render{component=AbovePrompt}Every mods API method its source calls, by namespace
aftereverynowsleepregisterlistgetsetlistreadcallconnectcompleterunidmessagesrootgetsetlogresolvestatustoastCLAUDE_CONFIG_DIRCORTEXDB_PATHCORTEXDB_REMOTEHOMELANGLC_ALLLC_MESSAGESXDG_CACHE_HOMEWhere 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 liliang-cn/cortexdb --plugin cortexdb-live