LLM plugin providing session-based todo management tools for Simon Willison's llm
, a la Claude Code.
Install this plugin in the same environment as LLM. You'll need at least LLM 0.26a1 or later.
llm install llm-tools-todo
git clone https://github.com/dannyob/llm-tools-todo
cd llm-tools-todo
llm install .
The plugin provides a single Todo
toolbox with six todo management operations:
begin
- Start a new todo sessionend
- End current session and cleanuplist
- Display all todos in current sessionwrite
- Replace entire todo listadd
- Add new todo itemscomplete
- Mark todos as completed
# Start a new todo session
llm prompt -m gpt-4o-mini "Please start a new todo session" --tool Todo
# Add some tasks
llm -c prompt -m gpt-4o-mini "Add tasks: review code, run tests, update docs" --tool Todo
# Mark tasks complete
llm -c prompt -m gpt-4o-mini "Mark the first task as completed" --tool Todo
Each todo session gets a unique identifier and stores data in temporary files. Sessions are automatically managed:
- Session files stored as
/tmp/llm-todos-{session_id}.json
- Data persists until session is ended with
end
- Multiple concurrent sessions supported
Each todo item includes:
- Unique ID
- Content description
- Status (pending/in_progress/completed)
- Priority (high/medium/low)
- Created and updated timestamps
# Clone and set up development environment
git clone https://github.com/dannyob/llm-tools-todo
cd llm-tools-todo
make dev-setup
source .venv/bin/activate
make test # Run all tests
make test-coverage # Run tests with coverage report
make quick-test # Fast test run (exits on first failure)
After installation, verify the plugin is working:
llm tools
# above should show Todo tools listed
llm prompt "Please start a new todo session" --tool Todo
llm prompt -c "Add a single Todo, saying 'check todo list works'" --tool Todo
llm prompt -c "What is in my todo list?" --tool Todo
llm prompt -c "Mark the check todo item as done" --tool Todo
llm prompt -c "Now end the Todo list" --tool Todo
Inspired by Claude Code's simple Todo functionality, and Joe
Haddad's claude-todo-emulator
.
Coded with Claude.