ClaudeCodeMod

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.

In your shell
claude plugin marketplace add lktiep/cortex-hub
claude plugin install cortex-bar@cortex-hub
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
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

The cortex-bar section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • classic.SessionStartA Claude Code event
  • command.runWhen you run its slash command/cortex-bar/cortex-calls
  • tool.callAround a tool call, where it can hold oneReadBashEditWriteNotebookEdit
  • turn.completeWhen a turn ends
  • ui.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
Repo
lktiep/cortex-hub
Folder
mods/cortex-bar
Version
0.9.0
License
MIT
Repo stars
61
Last change
2026-10-04
Language
TypeScript
Files
7

Other mods in Workflow

compact-handoffREMvisualWrites a handoff, replaces the conversation with it, and toasts once context passes 70%.oh-my-fableJunhan2Loads the prompting-guide rules into every session, and draws the /fable request as a card.so-hudKanevryDraws Session Orchestrator status and a warning band, and writes a beacon other sessions can read.inite-braininite-aiDraws what brain recalled above the prompt, and looks each prompt up before the model reads it.corgi-bandAndriiklymiukDraws corgi sessions waiting on you, and what this turn posted or pushed, above the prompt.corgi-guardAndriiklymiukHolds a commandRefuses the Bash shapes corgi runs lose turns to, and hands the model the corgi fix.tch-activitykylesnowschwartzDraws what Claude is doing, and each tool call it has taken, in a box above the prompt.deadhdlcalmskyDraws a session's done, current, and remaining steps as a checklist, in the terminal and on a page.contextsaverAlmogBakuShows a card when a session's process or a tool habit repeats, with its cost and a fix you can send.fleet-bandwrg32786Draws a line above the prompt with the seat, context percent, unread Room messages, pending results, and seats in a hold.fleet-deliverywrg32786Draws a delivery line under the prompt, and sends one Room message or job result into the session when it is idle.pi-agent-for-claudeFazalAAliShows a pi subagent in Claude Code's agent list, streams its tool calls, and can open that agent in a tmux pane.
All 396 in Workflow