Telegram Todo List
by @hengbo12345
Manage your TODO.md todo list via Telegram with commands to query, organize (add/edit/delete/move), and execute (complete) tasks.
clawhub install telegram-todolist📖 About This Skill
name: telegram-todolist description: Telegram bot Todo List manager. Three commands: /todo query (show tasks), /todo organize (add/delete/edit tasks), /todo execute (complete tasks). Uses TODO.md file. Perfect for task tracking in Telegram. Supports statistics, progress tracking, and organized task management.
Telegram Todo List
Manage a Todo List stored in TODO.md through Telegram bot commands.
Commands
1. 查询 (query)
Usage:/todo queryDescription: Display current todo list with status
Behavior:
Example Output:
📋 待办事项列表今日任务 (2026-02-12)
[ ] 学习并掌握 skill-creator 技能介绍
- 理解技能创建的核心原则待办总数:6 项未完成
已完成:1 项
2. 整理 (organize)
Usage:/todo organizeDescription: Update, optimize, or restructure the todo list
Behavior Options:
Input Format:
`/todo organize
Actions:
add: Add new task(s)
delete: Remove task by number
move: Move task to different position
edit: Modify task content
check: Mark task as completed
uncheck: Mark task as uncompleted
Example:
/todo organize add 学习Markdown语法
/todo organize delete 3
/todo organize move 1 to top
3. 执行 (execute)
Description: Complete a specific taskBehavior:
Input Format:
/todo execute
Example:
/todo execute 1
File Structure
Storage: TODO.md in workspace root
/root/.openclaw/workspace/TODO.md
File Format:
# TODO List今日任务 (2026-02-12)
[ ] Task 1
- Subtask 1
- Subtask 2[ ] Task 2
待完成任务
Category
[ ] Task 3
已完成任务
[x] Completed Task
- 记录时间:2026-02-12 07:55 UTC
- 内容:Task description
Implementation Details
Parsing Tasks
Regular Expression:
- \[([ x])\]\s*\*\*(.+?)\*\*.*?$ # Main task
- (.+)$ # Subtasks
Status:
= completed = pendingDisplay Format
Clean Table:
📋 待办事项今日任务 (2026-02-12)
1. [ ] Task 1
2. [ ] Task 2
待办总数:2 项未完成
已完成:0 项
Error Handling
Task Not Found:
Invalid Format:
File Read Error:
User Experience
Confirmation Messages:
Progress Indicators:
Tips
1. Task Numbers: Always reference task by number in organize/execute commands 2. Indentation: Keep consistent spacing for subtasks 3. Comments: Lines starting with #` are ignored 4. Status Updates: Execute updates both visual status and file content
Examples
User: /todo query
Bot shows full todo listUser: /todo organize add 学习CSS
Bot adds task and shows confirmationUser: /todo execute 2
Bot marks task #2 as completed and updates listUser: /todo organize delete 5
Bot removes task #5 from list💡 Examples
User: /todo query
Bot shows full todo listUser: /todo organize add 学习CSS
Bot adds task and shows confirmationUser: /todo execute 2
Bot marks task #2 as completed and updates listUser: /todo organize delete 5
Bot removes task #5 from list📋 Tips & Best Practices
1. Task Numbers: Always reference task by number in organize/execute commands
2. Indentation: Keep consistent spacing for subtasks
3. Comments: Lines starting with # are ignored
4. Status Updates: Execute updates both visual status and file content