360 Secure SkillHub
360 安全技能中心

OpenClaw Agent Orchestrator

核心功能:创建、修复持久化OpenClaw子代理,添加路由绑定,所有操作以runtime真实状态为准,拒绝未验证的操作声明。典型场景:用户需要真实子代理,或runtime声称已启动代理但实际未生效的情况。遵循指定流程,先验证runtime状态,执行对应脚本后再验证,仅报告已确认的状态,禁用sessions_spawn创建持久化代理。

matthewxmurphy
matthewxmurphy
热度 57.55
最近更新 2026-05-18 12:14:07
分类:自动化依赖:代码执行应用场景:自动化脚本 / DevOps / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add openclaw-agent-orchestrator
Metadata
name
openclaw-agent-orchestrator
description
Create and repair durable OpenClaw agents, bindings, and runtime state. Use when the user wants real subagents, durable agent entries, or proof that orchestration actions actually changed live state. Prefer verified `openclaw agents add` flows over optimistic `sessions_spawn` narration.
metadata
{"openclaw":{"emoji":"🎛️"}}

OpenClaw Agent Orchestrator

Use this skill when the user wants real subagents or when the runtime claims it started agents but openclaw agents list and openclaw agents bindings do not show them.

Durable Agent Rule

For durable subagents in this deployment, use openclaw agents add and verify the result.

Do not use sessions_spawn with mode="session" for durable agent creation here. This runtime has already returned errors such as:

  • mode="session" requires thread=true
  • thread=true is unavailable because no channel plugin registered subagent_spawning hooks

Treat sessions_spawn as ephemeral-only unless the current runtime explicitly proves thread-bound session support.

Workflow

  1. Run scripts/verify-runtime.sh to see the current truth.
  2. If the requested durable agent does not exist, run scripts/create-agent.sh <agent-id> <name> <emoji> [theme].
  3. If the user asked for routing, add bindings with openclaw agents bind.
  4. Re-run scripts/verify-runtime.sh.
  5. Report only what is present in verified runtime output.

Guardrails

  • Never say an agent was created until openclaw agents list --json shows it.
  • Never claim bindings exist until openclaw agents bindings --json shows them.
  • Do not use crontab in this environment. Use openclaw cron ... only if a schedule is actually needed.
  • Do not say GO, starting now, or spawned successfully before a verified state change.

Commands

Verify:

./scripts/verify-runtime.sh

Create one durable agent:

./scripts/create-agent.sh oracle "Oracle" "🔮" "qa"

Create one durable agent from a copied workspace and verify:

./scripts/create-agent.sh trinity "Trinity" "🥷" "ops"
./scripts/verify-runtime.sh