@agnishc/edb-todo
Pi extension: structured task list with live widget and system-prompt injection to prevent goal drift
Package details
Install @agnishc/edb-todo from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@agnishc/edb-todo- Package
@agnishc/edb-todo- Version
0.5.1- Published
- May 5, 2026
- Downloads
- 227/mo · 227/wk
- Author
- agnishc
- License
- MIT
- Types
- extension
- Size
- 23.2 KB
- Dependencies
- 0 dependencies · 4 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@agnishc/edb-todo
A Pi CLI extension that gives the agent a structured task list to prevent goal drift — the tendency for agents to lose track of the original plan as context grows and tool calls accumulate.
How it works
- The agent calls
todo_writeto plan multi-step work as an explicit task list - Before every agent turn, active tasks are injected into the system prompt so the model always knows what remains and what it's currently doing
- A live widget above the editor shows the current task list at all times
- State is reconstructed from the session branch, so
/treenavigation and forking work correctly
Tools
| Tool | Description |
|---|---|
todo_write |
Replace the entire task list (atomic update) — always pass all tasks |
todo_read |
Read the current task list and statuses |
Task statuses
| Status | Icon | Meaning |
|---|---|---|
pending |
○ |
Not started |
in_progress |
→ |
Actively working — only one at a time |
completed |
✓ |
Done |
Install
pi install npm:@agnishc/edb-todo
Usage
/todos — open the interactive full-screen task viewer
License
MIT © Agnish Chakraborty