cicoub13/cc-plugin-clearmind
clearmind
현재 프롬프트를 따라가는 사이드 창을 Claude Code에 추가하여 계획 단계, 도구 작업, Claude의 보이는 메모를 보여 주고 새 프롬프트마다 지우는 모드입니다.
이 mod 소개
ClearMind는 현재 작업 중인 프롬프트를 추적하는 사이드 창을 Claude Code에 추가합니다. 새 프롬프트마다 창을 지우고 프롬프트의 첫 줄, 작업 도구(TodoWrite, TaskCreate/TaskUpdate)로 유지한 계획(pending/in-progress/done 표시와 단계 카운터 포함), 각 도구 호출의 짧은 라벨, Claude 트랜스크립트 메시지의 첫 줄, 턴 완료를 표시합니다. 단계가 끝나면 작업은 한 줄 요약으로 접히며, 계획이 없으면 로그는 시간순의 평평한 목록으로 남습니다. 세션에 이미 표시된 내용만 읽고 네트워크 호출은 하지 않으며 상태를 세션에 보관합니다. Claude Code v2.1.287+가 필요하며 플러그인 marketplace를 통해 설치합니다(/plugin marketplace add cicoub13/cc-plugin-clearmind 후 /plugin install clearmind@clearmind 실행). /clearmind 명령으로 창을 전환합니다. 넓은 전체 화면 터미널에서는 오른쪽 사이드바로, 그 외에는 프롬프트 위에 표시되며 터미널 너비가 최소 144열이면 세션 시작 시 자동으로 열립니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add cicoub13/cc-plugin-clearmind claude plugin install clearmind
원문 / 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.
