Skip to main content

LLM tools for todo management

Project description

llm-tools-todo

PyPI Changelog Tests License

LLM plugin providing session-based todo management tools for Simon Willison's llm, a la Claude Code.

Installation

Install this plugin in the same environment as LLM. You'll need at least LLM 0.26a1 or later.

From PyPI (recommended)

llm install llm-tools-todo

From source

git clone https://github.com/dannyob/llm-tools-todo
cd llm-tools-todo
llm install .

Usage

The plugin provides a single Todo toolbox with six todo management operations:

Available Tools

  • begin - Start a new todo session
  • end - End current session and cleanup
  • list - Display all todos in current session
  • write - Replace entire todo list
  • add - Add new todo items
  • complete - Mark todos as completed

Basic Usage

# 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

Session Management

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

Todo Item Structure

Each todo item includes:

  • Unique ID
  • Content description
  • Status (pending/in_progress/completed)
  • Priority (high/medium/low)
  • Created and updated timestamps

Development

Setup Development Environment

# 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

Testing

make test           # Run all tests
make test-coverage  # Run tests with coverage report
make quick-test     # Fast test run (exits on first failure)

Plugin Testing

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

Credits and Thanks

Inspired by Claude Code's simple Todo functionality, and Joe Haddad's claude-todo-emulator.

Coded with Claude.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_tools_todo-0.3.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_tools_todo-0.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file llm_tools_todo-0.3.tar.gz.

File metadata

  • Download URL: llm_tools_todo-0.3.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for llm_tools_todo-0.3.tar.gz
Algorithm Hash digest
SHA256 0932e6fd9c1e480acad08c7821d26c30e544cc3bfdbb703ce38f313172234d91
MD5 3e50e7d46ab24e56eb23c1e634ee1c1c
BLAKE2b-256 4d0eee7e35a64c8e4e38ac22946236ee397aa4ffcf6ac00401d05e8d9f38aa4a

See more details on using hashes here.

File details

Details for the file llm_tools_todo-0.3-py3-none-any.whl.

File metadata

  • Download URL: llm_tools_todo-0.3-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for llm_tools_todo-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b526236e63ab236f094a4edba84c6dbda90fb6b816aa3839966e527888c83255
MD5 63d3849262fddffbf4569f95d921b6d1
BLAKE2b-256 e9b99eedf5dc6c084230a4040ae1fae8170bad1dc090d38ffedf852370536876

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page