一键导入
agent-team-task-cancel
agent-team: Cancel a non-terminal task with a reason.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
agent-team: Cancel a non-terminal task with a reason.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Design, create, evolve, or audit Codex-native harnesses for Agent Team projects. Builds specialized .codex/agents, .agents/skills, an orchestrator skill, AGENTS.md pointers, validation, and an evolution loop. Use for 'set up codex harness', 'create codex automation', 'build specialist agents', harness updates, harness audits, sync, status, and follow-up refinement. Generated harnesses default orchestrated runtime execution to Agent Team runtime skills backed by daemonless `agent-team` state.
agent-team: Complete an assigned task with evidence and artifact path.
Designer persona for agent-team design work. Routes between deep design interview (brief) and artifact production (spec). Use for 'design this', 'design discovery', 'design interview', 'produce design spec', 'visual/UI/icon/character/environment/logo/design-system design'. Skip for backend architecture (use persona-agent-team-planner), implementation code, code review, run execution, worker checkpoints, audits, or learning capture.
Planner persona for agent-team pre-execution work. Routes between terminology alignment, plan stress-testing, and backend architecture design before coding starts. Use for 'plan this', 'align terms', 'grill the plan', 'propose backend structure', or any pre-implementation discovery for code/architecture. For visual/UI/icon/character/environment/logo/design-system work use persona-agent-team-designer instead. Do not use for run execution, worker checkpoints, audits, learning capture, or direct coding.
Deep design interview that produces a design brief. Socratic 4-line probes lock the design's output description, tensions, assumptions, priorities, and failure modes. Output: design-brief.md. Skip for backend architecture, terminology cleanup, fuzzy planning, implementation, review, post-run learning, or rendered assets. Hand off to recipe-agent-team-design-spec for artifact production.
Generic spec producer for locked design briefs. Consumes design-brief.md, reads the Output description, consults pattern hints from references/, and produces artifacts under the brief's Output Path. Skip when no brief exists; run recipe-agent-team-design-interview first. Skip for backend architecture, code, review, or post-run learning.
| name | agent-team-task-cancel |
| description | agent-team: Cancel a non-terminal task with a reason. |
| metadata | {"version":"1.0.0","openclaw":{"category":"agent-orchestration"},"requires":{"bins":["agent-team"],"skills":["agent-team-shared","agent-team-task"]},"cliHelp":"agent-team task cancel --help"} |
PREREQUISITE: Read
../agent-team-shared/SKILL.md.
Cancel a task that should not be completed or retried.
agent-team task cancel --task TASK_ID --reason TEXT
| Flag | JSON key | Required | Default | Description |
|---|---|---|---|---|
--task | task_id | yes | - | Task to cancel. |
--reason | reason | yes | - | Cancellation rationale stored in the event payload. |
agent-team task cancel --task task_docs --reason "scope removed"
agent-team task cancel --params '{"task_id":"task_docs","reason":"scope removed"}'
| Code | Meaning | Action |
|---|---|---|
invalid_task_state | Task is already terminal. | Inspect task status. |
validation_error | Required field is missing. | Provide task and reason. |