English | 中文
Smart TODO Flow
Smart TODO Flow keeps long-running Claude Code and Codex work organized with three plain Markdown files:
PLAN.md → TODO.md → CHANGELOG.md
It remembers the project direction, the next concrete actions, and what changed across sessions. It also provides a handoff skill for decisions and context that do not belong in the task list.
How it works
| File |
Purpose |
| PLAN.md |
Goals, phases, and direction |
| TODO.md |
The current execution checklist |
| CHANGELOG.md |
An incremental record of completed work |
A typical cycle:
PLAN.md → /todo → work through TODO.md → update CHANGELOG.md → next phase
The workflow supports blocked and skipped items, dependencies, temporary sub-tasks, git-aware completion suggestions, and cross-session handoff. See the complete walkthrough.
Installation
Smart TODO Flow is installed as a marketplace plugin. The plugin includes both todo and handoff, plus the hooks required for always-on workflow context.
Claude Code
claude plugin marketplace add LeaveAsien/smart-todo-flow
claude plugin install smart-todo-flow@smart-todo-flow
Approve the plugin hooks when prompted. Reload plugins or start a new Claude Code session, then try /todo and /handoff.
Codex
codex plugin marketplace add LeaveAsien/smart-todo-flow --ref master
codex plugin add smart-todo-flow@smart-todo-flow
Use the Codex CLI already provided by your environment; Codex Desktop users do not need to install another CLI. Approve the plugin hooks, start a new Codex thread, then try $todo and $handoff.
The local hooks require Node.js on PATH.
Copyable agent prompt
Install Smart TODO Flow for the current Claude Code or Codex environment from: https://github.com/LeaveAsien/smart-todo-flow
Use only the marketplace plugin installation shown in the repository README. Reuse the CLI already available in the current environment. Do not install standalone skills and do not modify the project's CLAUDE.md, AGENTS.md, or AGENT.md.
Before removing an older Smart TODO Flow installation, show me the exact plugin, marketplace, or legacy skill entries you plan to remove and wait for approval. Do not change unrelated plugins or skills.
After installation, ask me to approve the plugin hooks, start a new session or thread, and verify todo and handoff.
Usage
| Request |
Result |
| /todo or $todo |
Generate, inspect, or resume TODO.md |
| next / continue |
Work on the next actionable item |
| finish all |
Work through all remaining actionable items |
| do item 3 |
Select a specific item |
| item 3 is blocked because… |
Record a blocked item and its reason |
| skip item 4 |
Record a skipped item |
| insert a temp task: … |
Add a temporary sub-task without losing the main line |
| /handoff or $handoff |
Prepare HANDOFF.md for the next session, with optional reference-based context recovery |
| clear todo |
Clear TODO.md after the user decides the round is finished |
Task states:
- [ ] Pending
- [x] Done
- [-] Blocked
- [~] Skipped
Key behavior
- PLAN.md is read-only to the skill.
- TODO.md is the durable execution state.
- Each completed TODO item is recorded in CHANGELOG.md immediately.
- Git-aware suggestions never mark items complete without confirmation.
- Archive, clear, and commit are separate user-controlled actions.
- Temporary tasks stay visually nested under the current main-line work.
License
MIT
评论