A lightweight todo list management skill using local JSON file storage.
~/.workbuddy/todos.jsonid, content, completed, created_at{
"todos": [
{
"id": 1,
"content": "Buy groceries",
"completed": false,
"created_at": "2026-05-17T10:00:00"
}
]
}
When the user asks to manage todos, use the scripts in scripts/todo.py:
python scripts/todo.py add "Your todo content here"
python scripts/todo.py list
python scripts/todo.py done <id>
python scripts/todo.py delete <id>
python scripts/todo.py clear
When showing todos to the user, format as a clean markdown list:
[ ] with content[x] with content (can use strikethrough)Example:
📋 My Todos:
[ ] 1. Buy groceries
[ ] 2. Finish report
[x] 3. Call mom (completed)
Total: 3 | Pending: 2 | Completed: 1
共 1 个版本