ClaudeCodeMod

All shelves / Mods / Workflow

cortexdb-live

By liliang-cn

cortexdb-live is a Claude Code workflow mod by liliang-cn.

For CortexDB, AI memory in one SQLite file, draws what it recalled above the prompt, and plans that lookup with Haiku before the model reads it.

Draws

Install

The marketplace name is cortexdb.

In Claude Code
/plugin marketplace add liliang-cn/cortexdb
/plugin install cortexdb-live@cortexdb
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
2.132.1
License
MIT
Repo stars
456
Last change
2026-10-18

What it can reach

  • Draws in the session

The band and the status line follow the language option. The default is auto, which uses Claude Code's language setting, then the locale. The other settings are zh and en. Haiku writes the lookup keywords in Chinese and English. Install the cortexdb plugin first. This mod runs on top of it. Allow its three memory tools once, or the status line names the missing rules. Haiku runs on Claude Code's own model access, so no API key is needed. A bare ok or go ahead searches nothing. Hide lasts until the next recall, and /cortexdb-show brings that recall back. Capture runs 90 seconds after a session goes idle. cortexdb-recall --disable and cortexdb-session-end --disable turn recall and capture off for the plugin and this mod. The default brain file is ~/.cortexdb/cortexdb.db. Built against Claude Code 2.1.290. Mods are an early-access feature.

The marketplace name is cortexdb. The marketplace also holds cortexdb. This one installs on its own. The marketplace source is ./plugins/cortexdb-live. The recall band is why this page files it under workflow. inite-brain draws what brain recalled above the prompt, and looks each prompt up before the model reads it. This one plans the lookup with Haiku on your Claude login and reads a local CortexDB file. The source adds the recalled lines to the next prompt.

Demo

Planned recall: a band above the prompt shows what CortexDB recalled, with the plan and each hit, and a status line for the brain.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command
  • classic.UserPromptSubmitA Claude Code event
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionAbovePrompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's source, 3 files. They load when you open them.

Facts

Author
liliang-cn
Category
Workflow
Marketplace
cortexdb
Repo
liliang-cn/cortexdb
Folder
plugins/cortexdb-live
Version
2.132.1
License
MIT
Repo stars
456
Last change
2026-10-18
Language
Go
Files
7

Other mods in Workflow

brewmod-placeholderskochetkov-maDraws, above the prompt, the instruction block a short token will attach before the prompt is sent.subagent-banderikdarlingdataDraws one row above the prompt per running subagent: type, model, effort, steps, context, and estimated cost.saas-marketingshalintripathiFor a pack of 90 B2B marketing agents, draws a board of the specialists routed, each deliverable as it lands, and the facts left for you to supply.devflowmhylleHolds a commandFor a skills collection for implementation planning, draws the TaskTracker phase above the prompt and refuses a main-thread edit while a phase lead runs.interlockrenzrollonHolds a commandFor spec-driven development on OpenSpec, draws each wave and lane of a ship run, and refuses a test edit during the fix stage.uploadsbuildinternetDraws the files staged on uploads.sh, a public file host, above the prompt and attaches them when a pull request opens, sending the branch and repository there.portpilotm4cd4r4Holds a commandFor PortPilot, a Windows and Linux app that runs your dev servers, draws their state and a crash band, and turns away a second start of a running server.enilUnayungOpens a LINE chat pane from enil, a terminal LINE client, to read and answer chats. A message you send goes to LINE through your enil daemon.followupdedeneQueues a prompt while Claude works, draws the queue above the prompt, and sends each one as your message once the turn and its background agents finish.swarmOneWave-AIDraws a live pane of your subagents: who spawned whom, how they overlap, and the messages between them.dispatch-boardHangghostDraws a board of the mission files you write, showing which session is done, running, or waiting on you.handoff-runnerHangghostLets a background session hand you a finished worktree branch, and fast-forwards it when you press the pane's run button.
All 396 in Workflow