一键导入
worker-management
Use when you need to create, inspect, wake, sleep, stop, or update Worker agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when you need to create, inspect, wake, sleep, stop, or update Worker agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when you need to interact with the AgentHub Controller — create tasks, create workers, check status, send heartbeat.
Use when inspecting, registering, summarizing, or handing off task artifacts.
Use when deciding whether existing Workers can handle a goal or whether a new Worker/team should be proposed.
Use when you need to manage Matrix rooms, send messages, or handle room participants.
Use when a Worker, RuntimeLease, Matrix binding, task, or artifact pipeline is stale, failed, or blocked.
Use when managing shared task files and artifact storage. Coordinate file handoffs between workers via shared storage.
| name | worker-management |
| description | Use when you need to create, inspect, wake, sleep, stop, or update Worker agents. |
Manage the lifecycle of Worker agents via the agenthub CLI.
# Read the current Controller operation schema before creating or changing Workers.
agenthub schema
# List all workers
agenthub worker list --workspace <workspace-id>
# Create a new worker with an explicit Worker runtime base
agenthub worker create --workspace <workspace-id> --name builder --runtime-base <openclaw|qwenpaw|copaw|opencode|claude-code|codex|gemini> --model <model-id> --join-group-room true
# Apply a declarative Worker manifest through Member Reconcile
agenthub apply -f worker.yaml
# Check worker status
agenthub worker status --id <worker-id>
# Wake a sleeping worker
agenthub worker wake --id <worker-id>
# Stop a running worker
agenthub worker stop --id <worker-id>
Use a manifest when the worker needs role text, skills, sandbox policy, or room membership to be auditable.
kind: Worker
metadata:
name: builder
spec:
workspaceId: <workspace-id>
name: builder
displayName: Builder
description: Implements project changes and reports artifacts.
runtimeBase: <openclaw|qwenpaw|copaw|opencode|claude-code|codex|gemini>
modelId: <model-id>
skillIds:
- task-management
- artifact-management
sandboxPolicy:
mode: workspace-write
joinGroupRoom: true
announce: true
--runtime-base; --code-agent is only a compatibility alias for Codex/OpenCode/Claude Code/Gemini CLI bases and must not be used as a default.agenthub apply -f worker.yaml when creating a real member from a proposal, because it lets Controller record the desired runtime base, skills, sandbox, room join, and reconcile result together.workspace_agent, worker_instance, Matrix identity, Room participant, workspace contract, and runtime config.agenthub schema to confirm Worker create/apply fields and runtime enum.agenthub worker list --workspace <id> to check existing workers.agenthub worker create or agenthub apply -f worker.yaml.