微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📝

Telegram 智能待办管理助手

telegram-todolist · vv1.0.1
效率 安全 S 级 作者 hengbo12345 公开目录收录
1.2k 下载 347 安装 4.2k 收藏 43.1k 浏览

简介

基于 Telegram Bot 的轻量级待办管理工具,通过简洁命令实现本地文件存储的任务增删改查与进度追踪,确保数据隐私安全。

原始描述

Manage your TODO.md todo list via Telegram with commands to query, organize (add/edit/delete/move), and execute (complete) tasks.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/telegram-todolist/
其它 Agent解压到它自己的 skills 目录,目录名用 telegram-todolist

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

中文使用说明 来自收录源

核心功能与用法

telegram-todolist 是一款基于 Telegram Bot 的待办事项管理 Skill,采用极简的三命令架构:

命令 功能 典型用法
/todo query 查询当前待办列表与统计 查看今日任务、完成进度百分比
/todo organize 增删改移任务 add 添加、delete 删除、move 调整优先级、edit 编辑内容、check/uncheck 切换状态
/todo execute <编号> 完成任务 标记为 [x],自动记录 UTC 时间戳,移至已完成区块

数据以标准 Markdown 格式持久化存储于 TODO.md,支持任务嵌套子项、分类归档(今日任务/待完成/已完成),便于版本控制或人工直接编辑。

显著优点

  1. 零依赖、高安全:仅使用 Python 标准库,无第三方包引入,彻底规避供应链攻击面
  2. 数据本地化:所有信息驻留本地文件系统,无云端上传、无隐私外泄风险
  3. 格式开放:基于 GitHub 风格 Markdown,可读性强,便于与其他工具(Obsidian、Git 等)联动
  4. 交互简洁:三命令覆盖 CRUD 完整生命周期,学习成本极低
  5. 实时统计:自动计算待办/已完成数量及完成率,提供即时进度反馈

潜在局限

  • 功能边界:无重复任务、截止日期提醒、标签过滤等进阶功能
  • 并发风险:本地文件操作缺乏锁机制,多实例同时写入可能产生冲突
  • 无同步能力:纯本地存储,跨设备需自行借助 Git/Dropbox 等外部方案
  • Telegram 耦合:所有交互必须通过 Telegram Bot,不支持 Web/桌面独立运行

适合人群

  • 追求极简、注重隐私的个人效率用户
  • 已通过 Telegram 进行日常沟通,希望在同一平台管理任务
  • 技术背景用户,愿意手动维护 Markdown 文件或集成 Git 版本控制
  • 对第三方云服务持谨慎态度的隐私敏感型用户

常规风险与缓解

风险项 说明 缓解建议
数据丢失 本地单文件存储,误删或磁盘故障导致不可恢复 定期 git commit 或云盘备份 TODO.md
并发写入冲突 多客户端同时操作可能损坏文件结构 单用户单实例使用,避免并行操作
输入注入 虽无远程代码执行,但需防范特殊字符干扰 Markdown 解析 避免在任务内容中使用未转义的 * 或 |

安全认证摘要

经 CLS-Certify v2.1.0 六维扫描,该 Skill 获得 S 级(90 分) 评价:静态分析 95 分、动态行为 95 分、依赖审计 100 分、网络分析 100 分、隐私合规 90 分。零危险函数调用、零敏感信息泄露、零网络通信,完全符合 GDPR/CCPA 数据最小化原则。唯一警告项为威胁情报维度(来源 T3 个人开发者),建议关注作者后续更新动态。

技能正文


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 query

Description: Display current todo list with status

Behavior:

  • Read TODO.md file
  • Parse tasks (both completed [x] and pending [ ])
  • Format and display in clean table/list
  • Show statistics (total tasks, completed, pending)

Example Output:

📋 待办事项列表

今日任务 (2026-02-12)

- [ ] 学习并掌握 skill-creator 技能介绍
  - 理解技能创建的核心原则

待办总数:6 项未完成
已完成:1 项

2. 整理 (organize)

Usage: /todo organize

Description: Update, optimize, or restructure the todo list

Behavior Options:

  • Add new task: User specifies task content
  • Delete task: User specifies task number to remove
  • Move task: Change task priority/order
  • Edit task: Modify task content or check/uncheck status
  • Batch operations: Add multiple tasks at once

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 task

Behavior:

  • Mark task as completed [x]
  • Update timestamp
  • Remove from active list
  • Move to completed section
  • Show confirmation

Input Format: ``/todo execute <task_number>


**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:

  • [x] = completed
  • [ ] = pending

Display Format

Clean Table:

📋 待办事项

今日任务 (2026-02-12)
1. [ ] Task 1
2. [ ] Task 2

待办总数:2 项未完成
已完成:0 项

Error Handling

Task Not Found:

  • "未找到任务 #N"
  • Ask user to verify task number

Invalid Format:

  • "格式错误,请使用正确的命令格式"
  • Show usage example

File Read Error:

  • "无法读取 TODO.md,请检查文件权限"
  • Try to recreate default template

User Experience

Confirmation Messages:

  • Task completed: "✅ 已完成任务 #N"
  • Task deleted: "🗑️ 已删除任务 #N"
  • Task added: "➕ 已添加任务"

Progress Indicators:

  • Show real-time count updates
  • Calculate completion percentage
  • Highlight pending vs completed

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 list

User: /todo organize add 学习CSS

Bot adds task and shows confirmation

User: /todo execute 2

Bot marks task #2 as completed and updates list

User: /todo organize delete 5

Bot removes task #5 from list

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

productivityproject-program-managementtelegramofficeautomation

同类 Skill