Task Manager
SQLite-powered task management with CRUD, priorities, tags, and statistics.
Database Location
CODEBLOCK0
Data Isolation: Each agent has their own copy of this skill → natural data isolation, no configuration needed.
Usage
CODEBLOCK1
Commands
| Command | Description |
|---|
| INLINECODE0 | Create task |
| INLINECODE1 |
List tasks |
|
task show <id> | Show task details |
|
task update <id> [options] | Update task |
|
task start <id> | Mark as in progress |
|
task complete <id> | Mark as completed |
|
task archive <id> | Archive task |
|
task delete <id> | Delete task |
|
task stats | Show statistics |
Options
add:
- -
--priority, -p P0/P1/P2/P3 (default: P2) - INLINECODE10 Comma-separated tags
- INLINECODE11 Due date
- INLINECODE12 Description
list:
- -
--status Filter by status - INLINECODE14 Filter by priority (comma-separated)
- INLINECODE15 priority/due/created (default: created)
Priority Levels
| Level | Meaning | Icon |
|---|
| P0 | Urgent | 🔴 |
| P1 |
High | 🟠 |
| P2 | Normal | 🟡 |
| P3 | Low | 🟢 |
Status
| Status | Icon | Description |
|---|
| pending | ⏳ | Todo |
| in_progress |
🔄 | In progress |
| completed | ✅ | Done |
| archived | 📁 | Archived |
任务管理器
基于SQLite的任务管理,支持增删改查、优先级、标签和统计功能。
数据库位置
/data/tasks.db
数据隔离:每个智能体拥有该技能的独立副本 → 天然数据隔离,无需额外配置。
使用方法
bash
直接调用
python3
/task-manager.py <命令>
或设置别名
alias task=python3 /task-manager.py
命令列表
| 命令 | 描述 |
|---|
| task add 标题 [选项] | 创建任务 |
| task list [选项] |
列出任务 |
| task show | 显示任务详情 |
| task update [选项] | 更新任务 |
| task start | 标记为进行中 |
| task complete | 标记为已完成 |
| task archive | 归档任务 |
| task delete | 删除任务 |
| task stats | 显示统计信息 |
选项说明
add:
- - --priority, -p P0/P1/P2/P3(默认:P2)
- --tags, -t 逗号分隔的标签
- --due 截止日期
- --desc, -d 描述信息
list:
- - --status 按状态筛选
- --priority 按优先级筛选(逗号分隔)
- --sort priority/due/created(默认:created)
优先级等级
高 | 🟠 |
| P2 | 普通 | 🟡 |
| P3 | 低 | 🟢 |
状态说明
| 状态 | 图标 | 描述 |
|---|
| pending | ⏳ | 待办 |
| in_progress |
🔄 | 进行中 |
| completed | ✅ | 已完成 |
| archived | 📁 | 已归档 |