cicoub13/cc-plugin-clearmind
clearmind
A Claude Code mod that opens a side pane following the current prompt, showing the plan steps, tool actions and Claude's visible notes, cleared on each new prompt.
About this mod
ClearMind adds a side pane to Claude Code that tracks the prompt currently being worked on. The pane is cleared on every new prompt and displays the prompt's first line, the plan kept via task tools (TodoWrite, TaskCreate/TaskUpdate) with pending/in-progress/done markers and a step counter, and a journal of each tool call with a short label, the first line of Claude's transcript messages, and turn completion. Actions fold into a single summary line once a step completes; without a plan the journal stays a flat chronological list. It reads only what the session already shows, makes no network calls and keeps state in the session. Requires Claude Code v2.1.287+; installed through the plugin marketplace (/plugin marketplace add cicoub13/cc-plugin-clearmind, then /plugin install clearmind@clearmind). The /clearmind command toggles the pane, which renders as a right sidebar in wide fullscreen terminals or above the prompt otherwise, and auto-opens at session start when the terminal is at least 144 columns wide.
Installation
Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.
claude plugin marketplace add cicoub13/cc-plugin-clearmind claude plugin install clearmind
Original text / README
ClearMind
A Claude Code mod that follows the current prompt in a side pane, so you can see where Claude is without reading every line of the transcript.
The pane is cleared each time you send a new prompt, and shows:
- The prompt being worked on (its first line).
- The plan: the steps Claude keeps with its task tools (
TodoWrite,TaskCreate/TaskUpdate), as○pending,●in progress,✓done, with aPlan 1/3counter. - The journal:
- each tool call (
…running,✓done,✗failed), with a short label such asBash · Run the testsorEdit src/parser.ts; - the first line of each message Claude writes in the transcript (
› …); - the end of the turn (
■ Done in 42s).
- each tool call (
The actions of a step stay listed while the step is in progress. Once it is completed, they fold into one line: ✔ Reproduce the bug (4 actions). When Claude keeps no plan, the journal is a flat, chronological list.
ClearMind only reads what the session already shows: tool calls and the text of Claude's messages. It makes no network calls and keeps its state in the session.
Requirements
Claude Code v2.1.287 or later (mods). Tested with Claude Code 2.1.288.
Install
claude plugin marketplace add cicoub13/cc-plugin-clearmind
claude plugin install clearmind@clearmind
Or, inside a session: /plugin marketplace add cicoub13/cc-plugin-clearmind, then /plugin install clearmind@clearmind.
Use
/clearmindopens or closes the pane.- In a wide fullscreen terminal the pane is a sidebar to the right of the transcript; otherwise it is a framed region above the prompt.
- The pane opens by itself at session start when the terminal is at least 144 columns wide.
Develop
git clone [email protected]:cicoub13/cc-plugin-clearmind.git
claude --plugin-dir ./cc-plugin-clearmind
Claude Code reloads the mod when a file changes, and writes the type declarations for your build into .claude-plugin/types/ (git-ignored); the root tsconfig.json extends them.
claude plugin validate .claude-plugin/plugin.json # what Claude Code reads from the mod
claude plugin validate . # the marketplace
claude plugin test . # tests/*.test.ts
tsc -p . # type-check, once the mod has loaded
| File | Role |
| --- | --- |
| hooks/register.tsx | The hooks module: events and pane drawing |
| types/index.d.ts | The session state the pane draws from |
| tests/clearmind.test.ts | Tests run by claude plugin test |
| .claude-plugin/marketplace.json | Makes this repository installable as a marketplace |
License
Licensed under either of Apache License, Version 2.0 or MIT license, at your option.
