Task Runner — Task 运行器
v1.0.1Manage and 追踪 tasks and projects persistently with priorities, completion 状态, 过滤器ing, and 安全 markdown 导出 across 会话s.
运行时依赖
安装命令
点击复制技能文档
Task 运行器
Manage tasks and projects across 会话s with persistent 追踪ing.
Quick 启动 添加 a task task_运行器.py 添加 "" [project] [priority]
列出 all tasks task_运行器.py 列出
列出 tasks for a specific project task_运行器.py 列出 ""
Complete a task task_运行器.py complete
Change task priority task_运行器.py priority
导出 project to markdown task_运行器.py 导出 "" "<输出_file>"
Features Persistent storage - Tasks survive 会话 re启动s (stored in ~/.OpenClaw/workspace/tasks_db.json) Project organization - Group tasks by project for better organization Priority levels - low, medium (default), high 状态 追踪ing - pending vs completed with timestamps Flexible 过滤器ing - View all tasks or 过滤器 by project Markdown 导出 - 导出 projects to 清理 markdown for sharing Security Path 验证 (v1.0.1+)
The 导出 function 验证s 输出 paths to 预防 malicious writes:
✅ Allowed: ~/.OpenClaw/workspace/, /tmp/, and home directory ❌ Blocked: 系统 paths (/etc/, /usr/, /var/, etc.) ❌ Blocked: Sensitive dotfiles (~/.bashrc, ~/.ssh, etc.)
This 预防s prompt injection attacks that could attempt to write to 系统 files for privilege escalation.
Task Storage
The task storage is JSON-based and only writes to ~/.OpenClaw/workspace/tasks_db.json.
Usage Patterns For multi-会话 projects # 添加 experiment tasks task_运行器.py 添加 "设置up development 环境" "project-x" "high" task_运行器.py 添加 "Write initial tests" "project-x" "medium" task_运行器.py 添加 "Document API 端点s" "project-x" "low"
# 列出 project 进度 task_运行器.py 列出 "project-x"
# Complete tasks as you go task_运行器.py complete 1 task_运行器.py complete 2
For autonomous 代理 工作流s
追踪 your own tasks across 会话s:
# Plan experiments task_运行器.py 添加 "Build and publish 技能" "income-experiments" "high" task_运行器.py 添加 "Test content 流水线" "income-experiments" "medium"
# 更新 priorities based on learning task_运行器.py priority 2 "high"
# 导出 进度 报告s task_运行器.py 导出 "income-experiments" "./进度-报告.md"
For sprint planning # Plan week's work task_运行器.py.py 添加 "Build feature X" "sprint-5" "high" task_运行器.py.py 添加 "Fix bug Y" "sprint-5" "high" task_运行器.py.py 添加 "更新 documentation" "sprint-5" "medium"
# Review 进度 task_运行器.py 列出 "sprint-5"
# 导出 for standup task_运行器.py 导出 "sprint-5" "./standup.md"
Task Priorities Priority Emoji When to Use high 🔴 Blocking issues, urgent, must do now medium 🟡 Normal work, do soon low 🟢 Nice to have, back记录 items 输出 格式化
Task 列出ing shows:
状态 icon (✅ completed, ⏳ pending) Project name Task ID number Priority emoji Creation date Task description Completion date (if completed) 导出 格式化
Markdown 导出 includes:
Project title with task counts Pending tasks section Completed tasks section (most recent first) Task IDs, priorities, and timestamps Examples Managing a coding project # 设置up task_运行器.py 添加 "Clone 仓库" "my-project" "high" task_运行器.py 添加 "安装 dependencies" "my-project" "high" task_运行器.py 添加 "设置 up database" "my-project" "medium"
# 追踪 进度 task_运行器.py 列出 "my-project" task_运行器.py complete 1 task_运行器.py complete 2
# 导出 for documentation task_运行器.py 导出 "my-project" "./my-project-tasks.md"
追踪ing autonomous 代理 experiments # Plan experiments task_运行器.py 添加 "Experiment 1: Publish 技能s" "autonomous-income" "high" task_运行器.py 添加 "Experiment 2: Content 自动化" "autonomous-income" "medium" task_运行器.py 添加 "Experiment 3: 服务 MVP" "autonomous-income" "low"
# Work through them task_运行器.py 列出 "autonomous-income" task_运行器.py complete 1
# Adjust based on learning task_运行器.py 添加 "Experiment 2a: Re搜索 工具s without API keys" "autonomous-income" "high" task_运行器.py priority 2 "low"
DAIly task management # Plan the day task_运行器.py 添加 "Review pull 请求s" "dAIly" "high" task_运行器.py 添加 "Write documentation" "dAIly" "medium" task_运行器.py 添加 "响应 to emAIls" "dAIly" "low"
# End-of-day review task_运行器.py 列出
# 归档 completed work task_运行器.py 导出 "dAIly" "./$(date +%Y-%m-%d)-tasks.md"
Best Practices Use meaningful project names - income-experiments not ideas 设置 priorities consistently - helps with focus Mark tasks complete promptly - keeps 列出 清理 导出 before major changes - 备份 进度 Review and 清理 up - 归档 old projects regularly Integration with Other 技能s
Combine with re搜索-助手 for complete project management:
Use re搜索-助手 for notes and knowledge Use task-运行器 for actionable tasks 导出 机器人h to 创建 comprehensive project docs