todo

GitHub

管理共享工作区待办事项列表,支持添加、阻塞、解除阻塞和删除任务。通过读取JSON文件确保状态一致性,适用于需要维护任务跟踪的场景。

assets/skills/todo-board/SKILL.md iamlukethedev/Claw3D

Trigger Scenarios

用户提到todo或todo list 请求添加、阻塞或查看任务

Install

npx skills add iamlukethedev/Claw3D --skill todo -g -y
More Options

Non-standard path

npx skills add https://github.com/iamlukethedev/Claw3D/tree/main/assets/skills/todo-board -g -y

Use without installing

npx skills use iamlukethedev/Claw3D@todo

指定 Agent (Claude Code)

npx skills add iamlukethedev/Claw3D --skill todo -a claude-code -g -y

安装 repo 全部 skill

npx skills add iamlukethedev/Claw3D --all -g -y

预览 repo 内 skill

npx skills add iamlukethedev/Claw3D --list

SKILL.md

Frontmatter
{
    "name": "todo",
    "metadata": {
        "openclaw": {
            "skillKey": "todo-board"
        }
    },
    "description": "Maintain a shared workspace TODO list with blocked tasks."
}

TODO Board

Use this skill when the user wants to manage a shared task list for the current workspace.

Trigger

{
  "activation": {
    "anyPhrases": [
      "todo",
      "todo list",
      "blocked task",
      "blocked tasks",
      "add to my todo",
      "show my todo"
    ]
  },
  "movement": {
    "target": "desk",
    "skipIfAlreadyThere": true
  }
}

When this skill is activated, the agent should return to its assigned desk before handling the request.

  • If the user asks from Telegram or any other external surface to add, block, unblock, remove, or read TODO items, treat that as a trigger for this skill.
  • The physical behavior for this skill is: go sit at the assigned desk, then perform the TODO board workflow.
  • If the agent is already at the desk, continue without adding extra movement narration.

Storage location

The authoritative task file is todo-skill/todo-list.json in the workspace root.

  • Always treat that file as the source of truth.
  • Never rely on chat memory alone for the latest task state.
  • Create the todo-skill directory and todo-list.json file if they do not exist.

Required workflow

  1. Read todo-skill/todo-list.json before answering any task-management request.
  2. If the file does not exist, create it with the schema in this document before continuing.
  3. After every add, remove, block, or unblock action, write the full updated JSON back to disk.
  4. If the file exists but is invalid JSON or does not match the schema, repair it into a valid structure, preserve any recoverable items, and mention that repair in your response.
  5. If the user request is ambiguous, ask a clarifying question instead of guessing.

Supported actions

  • Add a task. Create a new item unless an equivalent active item already exists.
  • Block a task. Change the matching item to status: "blocked". If the task does not exist and the request is clear, create it directly as blocked.
  • Unblock a task. Change the matching item back to status: "todo" and clear blockReason.
  • Remove a task. Delete only the matching item. If multiple items could match, ask for clarification.
  • Read the list. Summarize tasks grouped into TODO and BLOCKED.

File format

Use this JSON shape:

{
  "version": 1,
  "updatedAt": "2026-03-22T00:00:00.000Z",
  "items": [
    {
      "id": "task-1",
      "title": "Example task",
      "status": "todo",
      "createdAt": "2026-03-22T00:00:00.000Z",
      "updatedAt": "2026-03-22T00:00:00.000Z",
      "blockReason": null
    }
  ]
}

Field rules

  • Keep version at 1.
  • Generate stable, human-readable IDs such as prepare-demo or task-2.
  • Keep titles concise and preserve the user's intent.
  • Use only todo or blocked for status.
  • Use ISO timestamps for createdAt, item updatedAt, and top-level updatedAt.
  • Keep blockReason as null unless the user gave a reason or a short precise reason is clearly implied.

Mutation rules

  • Avoid duplicate active items that describe the same work.
  • Preserve existing IDs and createdAt values for unchanged items.
  • Update the touched item's updatedAt whenever you modify it.
  • Update the top-level updatedAt on every write.
  • Keep untouched items in their original order unless there is a strong reason to reorder them.

Response style

  • After each mutation, say what changed.
  • When showing the list, group tasks into TODO and BLOCKED.
  • Include each blocked task's reason when one exists.

Version History

  • 70ba84c Current 2026-07-25 09:47

Same Skill Collection

assets/skills/soundclaw/SKILL.md
assets/skills/task-manager/SKILL.md

Metadata

Files
0
Version
70ba84c
Hash
0d1ffe9d
Indexed
2026-07-25 09:47

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 01:29
浙ICP备14020137号-1 $Гость$