一键导入
agent-team-run-close
agent-team: Close a workflow run after all tasks are in a terminal state (done, failed, or cancelled).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
agent-team: Close a workflow run after all tasks are in a terminal state (done, failed, or cancelled).
用 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-run-close |
| description | agent-team: Close a workflow run after all tasks are in a terminal state (done, failed, or cancelled). |
| metadata | {"version":"1.0.0","openclaw":{"category":"agent-orchestration"},"requires":{"bins":["agent-team"],"skills":["agent-team-shared","agent-team-run"]},"cliHelp":"agent-team run close --help"} |
PREREQUISITE: Read
../agent-team-shared/SKILL.md.
Finalize a run after all tasks are in a terminal state: done, failed, or cancelled.
agent-team run close --run RUN_ID [--reason TEXT]
| Flag | JSON key | Required | Default | Description |
|---|---|---|---|---|
--run | run_id | yes | - | Run to close. |
--reason | reason | no | empty | Closure note stored in the run_closed event payload. |
agent-team run close --run run_docs --reason "all tasks complete"
agent-team run close --params '{"run_id":"run_docs","reason":"all tasks complete"}'
| Code | Meaning | Action |
|---|---|---|
run_not_ready | Some tasks are not terminal. | Inspect task counts, then finish, retry, cancel, fail, or reassign tasks. |
invalid_run_state | Run is not open. | Inspect run status. |
not_found | Run does not exist. | Check the run ID. |