cldotdev/claude-todo-list

cldotdev/claude-todo-list

這個 mod 會追蹤對話中的待辦事項,例如延後處理的工作、承諾要跟進的事項,以及尚未解決的問題。每次主迴圈回合結束後,它會將該回合傳給 Sonnet,判斷哪些事項已解決、哪些是新開啟的事項。事項會依工作階段儲存,在恢復工作階段後仍會保留,並在 cleanupPeriodDays 後自動清理。/todos 指令可以列出、重新整理、清除、刪除及引用事項;提示列上方的橫帶提供鍵盤導覽和快速引用功能。需要支援 mod 的 Claude Code(>= 2.1.289),並透過儲存庫 marketplace 安裝。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add cldotdev/claude-todo-list claude plugin install todo-list
English | 繁體中文
A Claude Code mod that keeps a running list of the open items in a conversation and shows it in a band above the prompt.
Long sessions leave decisions, promised follow-ups, and unanswered questions far back in the conversation, where they are easy to drop. The mod collects them as the conversation goes, so they stay in sight until they are settled.

sonnet alias, so the model follows the installed Claude Code version) and asks which current items the turn resolved and which new ones it opened. Subagent turns do not count.tasks.md stay off the list.cleanupPeriodDays, the setting for how long Claude Code keeps transcripts (30 days by default), is dropped. /clear empties the list.Each answered turn costs one extra Sonnet call. /todos refresh forks the main conversation, so it runs on the main model with the whole context.
Claude Code with mod support (>= 2.1.289).
Install it from this repository's marketplace:
claude plugin marketplace add cldotdev/claude-todo-list
claude plugin install todo-list@claude-todo-list
/todos Command| Command | Effect |
| --- | --- |
| /todos | Lists the open items with their details. |
| /todos refresh | Rebuilds the list from the whole conversation. |
| /todos clear | Empties the list. |
| /todos delete <numbers> | Deletes items by number, such as 2, 1-3, or 1,4 6. A number past the end of the list cancels the whole delete. |
| /todos <prompt> | Sends the prompt with every item quoted and numbered above it, so the prompt can say "do 1 and 2, skip 3". |
The band above the prompt shows the numbered list while it has items.
| Key | Action |
| --- | --- |
| ctrl+x tab | Focus the band. |
| tab/shift+tab | Move to the next or previous item. |
| o/enter | Show the focused item's detail, or go back to the list. |
| v | Quote the focused item into the prompt box. |
| y | Quote every item, numbered, with blank lines between them to write under each. |
| esc | Return to the prompt. |
| Path | Contents |
| --- | --- |
| hooks/register.tsx | Event hooks, the /todos command, and the band. |
| hooks/list.ts | Model prompts and reply parsing. |
| types/index.d.ts | The mod's state contract. |
| tests/ | Tests run by claude plugin test. |
claude plugin validate .
claude plugin test .
To try local changes, start Claude Code with the clone loaded for that session:
claude --plugin-dir /path/to/claude-todo-list
The clone replaces an installed todo-list@claude-todo-list for that session, so there is no need to disable or uninstall it first.