open-todos
Reviewed
at commit f82da55
Side pane listing unfinished and in-progress todos from all Claude Code sessions, grouped by project
0 upvotes
Log in to upvote or save- Made by
- letswritetw
- Pinned commit
-
f82da55f352fd75c848b2d23b8f1667241048d69 - What we checked
-
Opens a side pane listing the unfinished and in-progress todos of all your Claude Code sessions, grouped by project, with the latest prompt and current tool of sessions that are running. To do this it runs its own small Node script that reads the session transcripts of every project in ~/.claude/projects and keeps a cache file in ~/.claude. Nothing leaves your machine. The pane text is in Traditional Chinese.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers /todos, opens the pane, runs a scan, then rescans every 20 s), tool.call (passes through, rescans after TaskCreate, TaskUpdate or TodoWrite), turn.complete and prompt.submit (both only trigger a rescan, the prompt text is not read or changed), command.run /todos, and ui.render for the pane. Each scan runs `node <plugin root>/hooks/scan.js` through $.process.run with a 60 s timeout, using the node on PATH. scan.js (read in full) lists ~/.claude/projects/*/*.jsonl, parses each transcript for TaskCreate/TaskUpdate/TodoWrite tool_use entries, session titles and the cwd, and for sessions written in the last 5 minutes also reads the last 256 KB to get the title, the last user prompt (cut to 80 characters) and the latest tool name. It reads ~/.claude/open-todos-ignore.txt for an optional ignore list and writes ~/.claude/open-todos-cache.json (per-file size, mtime, cwd, open todo subjects, session title; no prompts or tool output). It excludes folders named observer-sessions and projects whose folder no longer exists. It writes no other files, uses only fs, path and os, has no network calls, no eval and no model calls. Cost: each prompt, turn end and 20 s tick starts a node process that re-reads changed transcripts, which can be slow with a large history. Failure behaviour: an error text is shown in the pane. Not reviewed: the node runtime.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/open-todos/)