ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 Sickin

notes-panel

Claude Code 外掛:在 transcript 旁的窗格中提供每個工作階段一個 Markdown 記錄本。

已翻譯

關於這個 mod

這是一個每個工作階段各有一本的 Markdown 記錄本,顯示在 transcript 旁的窗格中。指令包括 /note,可切換窗格、附加行、在 View 和 Edit 模式之間切換、清除目前工作階段的筆記,以及清理過期筆記。View 模式會呈現帶有可點選任務核取方塊的 Markdown,Edit 模式提供逐行編輯器。筆記儲存在外掛自己的 $.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 Markdown element. 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), x deletes 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.

更多類似作品