Sickin/claude-code-notes-panel
关于这个 mod
这是一个每个工作阶段各有一个的 Markdown 记事本,显示在 transcript 旁的窗格中。命令包括 /note,用于切换窗格、追加行、在 View 和 Edit 模式之间切换、清除当前工作阶段的笔记,以及清理过期笔记。View 模式会渲染带可点击任务复选框的 Markdown,Edit 模式提供逐行编辑器。笔记保存在 mod 自己的 $.store 中,不进行网络、模型、进程或 telemetry 调用。需要 Claude Code 2.1.287+。
安装
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add Sickin/claude-code-notes-panel claude plugin install notes-panel
原文 / README
notes-panel
A Claude Code mod: a markdown notepad in a pane beside the transcript, one per session.
Commands
| Command | Does |
| --- | --- |
| /note | Toggle the pane |
| /note <text> | Append a line |
| /note edit / /note view | Switch mode (or press e / v in the pane) |
| /note clear | Empty this session's note, after a confirmation dialog |
| /note prune [days] | Delete other sessions' notes untouched for days (default 30), after confirmation |
| /note -- <text> | Append text literally, even a reserved word (/note -- clear) |
Modes
- View renders the note with the
Markdownelement. Task lines (- [ ],- [x]) are drawn as☐/☑buttons: click, or Tab + Enter, to toggle. Tasks inside fenced code are left alone. - Edit is a line editor: one text field per line (Enter saves; typing saves after a pause),
xdeletes a line,+inserts one below, and the bottom field appends.
Mods have no multiline text field, hence the line editor. Clickable checkboxes inside Markdown
aren't supported by the mods API, hence the buttons; a task nested in a list loses its list styling.
Markdown caps at 10,000 characters per block, so very long runs are truncated in View (never in Edit).
Storage
Notes live in the mod's own $.store (a JSON file under ~/.claude/plugins/store/, 4 MiB total), under
note:<session id>. An emptied note is deleted. /clear, /resume and /branch reload the right note;
/branch copies the parent's note into the new session.
No network, model, process or telemetry calls. claude plugin validate . lists every call.
Develop
claude plugin validate .
claude plugin test .
claude --plugin-dir .
Requires Claude Code 2.1.287+. Panes draw in the terminal and the Desktop app's Code tab.