Simple Todo List
A lightweight todo list management skill using local JSON file storage.
Storage
- Todo data is stored in
~/.workbuddy/todos.json - Each todo item contains:
id,content,completed,created_at
Data Structure
{
"todos": [
{
"id": 1,
"content": "Buy groceries",
"completed": false,
"created_at": "2026-05-17T10:00:00"
}
]
}
Usage
When the user asks to manage todos, use the scripts in scripts/todo.py:
Add a Todo
python scripts/todo.py add "Your todo content here"
List Todos
python scripts/todo.py list
Complete a Todo
python scripts/todo.py done <id>
Delete a Todo
python scripts/todo.py delete <id>
Clear Completed Todos
python scripts/todo.py clear
Response Format
When showing todos to the user, format as a clean markdown list:
- Pending todos: [ ] with content
- Completed todos: [x] with content (can use strikethrough)
- Show the ID for reference when completing/deleting
Example:
📋 My Todos:
[ ] 1. Buy groceries
[ ] 2. Finish report
[x] 3. Call mom (completed)
Total: 3 | Pending: 2 | Completed: 1