cldotdev/claude-todo-list

cldotdev/claude-todo-list

这个 mod 会跟踪对话中的待办事项,例如延期工作、承诺的后续事项和悬而未决的问题。每次主循环回合结束后,它会将该回合发送给 Sonnet,以确定哪些事项已解决、哪些事项是新出现的。事项按 session 存储,并在恢复 session 后继续保留;经过 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.