All shelves / Mods / Workflow
cortex-bar
By lktiep
cortex-bar is a Claude Code workflow mod by lktiep.
Draws this session's Cortex Hub calls above the prompt, with token cost and where /cs stands.
Draws
Install
The marketplace name is cortex-hub.
claude plugin marketplace add lktiep/cortex-hub claude plugin install cortex-bar@cortex-hub
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.9.0
- License
- MIT
- Repo stars
- 61
- Last change
- 2026-10-04
What it can reach
- Draws in the session
- Reads usage or context figures
- Sees tool calls
Claude Code 2.1.287 or later, in the terminal or the desktop app. In VS Code, Antigravity, and Cursor the extension chat panel does not draw mod UI, so run Claude Code in the IDE terminal. /cortex-calls opens a pane of the measures and the last 50 calls. Where no pane can be placed, the list comes back as text. A checkout starts with claude --plugin-dir mods/cortex-bar. The author says nothing is sent anywhere: the mod only reads what passes through this Claude Code session, and it never holds up or changes a tool's result.
The README's install lines end in trailing comments. Those are not copied. Add --scope project on the install line to share the mod with one repo.
Demo

What it hooks into
session.startWhen a session startsclassic.SessionStartA Claude Code eventcommand.runWhen you run its slash command/cortex-bar/cortex-callstool.callAround a tool call, where it can hold oneReadBashEditWriteNotebookEditturn.completeWhen a turn endsui.renderDraws into the sessionAbovePromptToolUseToolGroupPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 2
/cortex-barShow or hide the Cortex tool-call bar above the prompt/cortex-callsList the Cortex tool calls of this session
Files
The author's README and source, 5 files. They load when you open them.
Facts
- Author
- lktiep
- Category
- Workflow
- Marketplace
- cortex-hub
- Folder
- mods/cortex-bar
- Version
- 0.9.0
- License
- MIT
- Repo stars
- 61
- Last change
- 2026-10-04
- Language
- TypeScript
- Files
- 7