tasks
Defer, track, and resume multi-step work with task-create/list/update/complete, plus plan and checkpoint primitives. Pin this skill to make an agent heartbeat-eligible.
- License 许可
- MIT
- 所属仓库
- josephfung/curia
- 最近更新
- 2026-11-15
- Stars
- ★ 9
- Forks
- 7
01 前言 Front Matter
- name
- tasks
- tools
- [ "task-create", "task-list", "task-update", "task-complete", "plan", "checkpoint" ]
- version
- 0.2.3
- heartbeat
- true
- description
- Defer, track, and resume multi-step work with task-create/list/update/complete, plus plan and checkpoint primitives. Pin this skill to make an agent heartbeat-eligible.
02 资源文件 19
- 脚本optional-ref.ts4.3 KB
- 脚本tools/checkpoint/handler.test.ts4.8 KB
- 脚本tools/checkpoint/handler.ts5.3 KB
- 参考文档tools/checkpoint/tool.json1.1 KB
- 脚本tools/plan/handler.test.ts16.7 KB
- 脚本tools/plan/handler.ts11.1 KB
- 参考文档tools/plan/tool.json1.1 KB
- 脚本tools/task-complete/handler.test.ts7.9 KB
- 脚本tools/task-complete/handler.ts3.2 KB
- 参考文档tools/task-complete/tool.json655 B
- 脚本tools/task-create/handler.test.ts26.8 KB
- 脚本tools/task-create/handler.ts14.1 KB
- 参考文档tools/task-create/tool.json2.2 KB
- 脚本tools/task-list/handler.test.ts6.8 KB
- 脚本tools/task-list/handler.ts4.5 KB
- 参考文档tools/task-list/tool.json800 B
- 脚本tools/task-update/handler.test.ts16.4 KB
- 脚本tools/task-update/handler.ts8.1 KB
- 参考文档tools/task-update/tool.json1.2 KB
03 SKILL.md 正文
Task Management
You can defer, track, and resume work using your task skills.
Decide, don't drop. When work arrives that you cannot finish now, create a
task (task-create, optionally with wake_at) rather than cramming it into one
burst or abandoning it. Briefly tell the principal what you queued and why.
Own the how. When a clear goal is too big for one burst, decompose it and start — with a one-line heads-up. Do not ask the principal how to execute (splitting, scheduling, budgets); ask only about the goal itself, or a consequential or hard-to-reverse action.
Decompose projects. If work has more than one step, or any step cannot be done
right now, create a parent task whose intent_anchor states the durable goal, plus
the first wave of subtasks (parent_task_id, and blocked_by_task_id for ordering).
Plan the first wave only; add subtasks as you learn more.
Make every subtask self-contained. A woken subtask starts fresh with no memory of this
conversation — it has only its id, title, intent, and progress note. So its
intent_anchor and progress must fully re-establish the work: the goal, the resource
(e.g. a URL), and precise progress ("answered Q1-12 of 60"). A bare title like "Answer
Q13-36" strands the wake. For web-browser work, also record the exact session_id and
whether the session was incognito, and resume it with the same incognito value.
Advance until blocked. When you act on a task, do every step you can right now.
Stop only at a real blocker — waiting on a person, on the principal's approval, on a future
date, or on a prior task — or when your turn budget runs low. Then park each loose end:
set its status (waiting/blocked), add a progress note, and set a wake (a reply you
are expecting, or a wake_at timer). When a task's goal is achieved, call task-complete
with a note.
Never promise without a task. Before you send anything that commits to a future action ("I'll follow up with X", "we'll send that over"), make sure a task backs that promise. Prefer to resolve the dependency first and send a complete message. Only send an interim "I'll follow up" when the recipient needs an acknowledgment now — and when you do, create the follow-up task (yours if you can chase it; the principal's if only they can, and tell them).
04 同仓库更多 Skills
with-scripts
Minimal imported skill that ships scripts (for import-time warning tests).
not-a-lawyer
Review legal agreements from the company's perspective, flag risks, compare against the company's boilerplate, and help draft comments or redlines. Use whenever the user wants a contract reviewed, asks "what are the risks", pastes an agreement, or asks for help responding to legal pushback. Do not use for legal questions unrelated to a specific document.
web
Web fetch, search (Tavily, keyless by default), and browser tools.
setup
Setup-wizard status, defer, and system-secret-capture-request.
scheduler
Scheduled jobs — create/list/get/cancel/update plus scheduler-report. Narrow consumers may pin scheduler-report alone (ADR-032).
reports
The principal's digest queue — file "act, then tell" items, and list and acknowledge them when building a digest. Also spot checks: list-spot-checks gives a digest its numbered spot-check block, and record-spot-check records the principal's "N good" / "N bad" verdicts.