← 返回
效率工具 中文

taskwarrior

Workspace-local task management powered by Taskwarrior. Add, organize, and track tasks by project, tags, due dates, and priority with all data stored inside...
基于 Taskwarrior 的工作区本地任务管理。支持按项目、标签、截止日期和优先级添加、组织和跟踪任务,所有数据均存储在本地工作区内。
aghareza
效率工具 clawhub v0.1.3 1 版本 99913.9 Key: 无需
★ 1
Stars
📥 1,141
下载
💾 16
安装
1
版本
#latest

概述

Taskwarrior (Workspace-Local Tasks) — AgentSkill

Skill name

taskwarrior

Purpose

Manage tasks using Taskwarrior as the backend with data stored inside the current workspace. This skill provides a safe, workspace-scoped wrapper for common Taskwarrior operations (add/list/modify/done/projects/tags/due/priority/annotations).

Runtime requirements (ClawHub)

This skill requires Taskwarrior to already be available in the runtime environment (e.g., included in the base image).

  • Validation: run task --version
  • If missing: report the dependency and instruct the environment owner to install system package taskwarrior (some distros package it as task).

This skill does not perform system-level installs (no apt, brew, dnf, etc.).

Workspace root resolution (portable)

The skill resolves the workspace root at runtime:

1) If set, use the first available of:

  • OPENCLAW_WORKSPACE
  • WORKSPACE
  • PROJECT_DIR
  • REPO_ROOT

2) Otherwise, fallback to the current working directory.

All Taskwarrior data is stored under:

/.openclaw/taskwarrior/

Workspace-local Taskwarrior home

  • taskrc: /.openclaw/taskwarrior/taskrc
  • data dir: /.openclaw/taskwarrior/.task/

Every Taskwarrior command MUST run with:

  • TASKRC=/.openclaw/taskwarrior/taskrc
  • (optional) TASKDATA=/.openclaw/taskwarrior/.task

Never write to global ~/.task or ~/.taskrc unless the user explicitly asks to use global storage.

Core workflow

1) Check dependency

  • Run: task --version
  • If missing: stop and return dependency instructions (see references/clawhub_notes.md).

2) Initialize workspace storage

  • Ensure directories exist:
  • /.openclaw/taskwarrior/
  • /.openclaw/taskwarrior/.task/
  • Ensure /.openclaw/taskwarrior/taskrc contains at least:
  • data.location=/.openclaw/taskwarrior/.task
  • confirmation=off
  • verbose=off

3) Execute requested operations

  • Prefer stable/common commands (see references/taskwarrior_cheatsheet.md).

4) Verify results

  • After any mutation, show a focused task info or filtered task list.

Supported operations (useful subset)

  • Add tasks: task add ...
  • List tasks: task list, task list
  • Modify tasks: task modify ...
  • Complete tasks: task done
  • Start/stop: task start|stop (if desired)
  • Projects/tags: task projects, task tags, project:, +tag, -tag
  • Due/priorities: due:, priority:H|M|L
  • Notes: task annotate "..."

Safety

Follow references/safe_command_policy.md.

Highlights:

  • No delete/purge unless explicitly requested.
  • Avoid broad bulk changes without previewing the matching set.
  • No global config writes by default.

References

  • references/workspace_data_layout.md
  • references/taskwarrior_cheatsheet.md
  • references/safe_command_policy.md
  • references/examples.md
  • references/clawhub_notes.md

版本历史

共 1 个版本

  • v0.1.3 当前
    2026-03-29 05:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 441 📥 148,474
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 433 📥 103,911
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 448 📥 226,575