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
0.1.0
License
MIT
Repo stars
6
Last change
2026-10-05
What it can reach
Draws in the session
Reaches the network or an outside service
Sees tool calls
Runs a command when you press
Calls another program on this machine
It needs the kgai plugin as well, because that plugin installs the engine and the skills. Without the mod, the kgai plugin's Stop hook continues each turn that edited code, and the model answers in the transcript whether there was a decision to record. The mod takes that capture instruction out of the hook result, so the turn is not continued, and asks the same question in a tool-less fork of the session when the turn ends. The fork reuses the session's prompt cache and adds no row to the transcript. It records only after kg ingest --dry-run accepts the payload. You see a status line for a few seconds when a decision was recorded. A failed check stays out of the transcript, goes to the debug log, and toasts at most once per session. capture defaults to auto, which records silently and shows that line. confirm shows the decision above the prompt with Record and Skip, and the band goes away with the next prompt. On a surface that does not draw above the prompt, such as the VS Code extension alone or claude -p, confirm records as auto does. off records nothing and leaves the classic nudge on. compact defaults to on: each kg search, kg context, kg ingest, kg sync, and kgai skill call draws as one dim line. Only the drawing changes. The model and the stored transcript still have everything. A failed call shows in full, and so do kg init, kg config, and the kg-trust skill. Record runs kg ingest. The kgai plugin's Stop hooks still run, so team sync is unchanged. Team sync is opt-in and sends decision events to an S3 bucket you own. The status line, the toast, and the band work in the terminal and the desktop app's Code tab. The mod is experimental.
The marketplace name is kgai-marketplace. The marketplace also holds kgai, which this mod needs installed first. The marketplace source is ./mods/kgai-mod. The status line and the Record and Skip band are why this page files it under workflow. memory-fork draws what the memory fork changed above the prompt, and refuses the session's writes into the memory folder. cortexdb-live, 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. This one records the team's structural decisions from a side question at the end of a turn that edited code. kg is the command the kgai plugin installs.
Demo
Screenshot of the author's GitHub page.
What it hooks into
ui.renderDraws into the sessionToolUseToolResultAbovePrompt
turn.startWhen Claude starts a turn
prompt.submitWhen you send a prompt
tool.callAround a tool call, where it can hold oneBashSkill
classic.StopA Claude Code event
turn.completeWhen a turn ends
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.