Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

openclaw-subagentsOpenClaw subagents 搜索

Agent Skill

openclaw-subagents 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

17,784

周安装

741

GitHub Stars

公开资料未说明

下载量

5,928
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openclaw-subagents(OpenClaw subagents 搜索)
来源仓库:https://github.com/vishnukool/openclaw-subagents
安装命令:
openclaw skills install openclaw-subagents
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install openclaw-subagents

简介

openclaw-subagents 用于配置与管理 OpenClaw 子代理。

  • 涵盖完整设置流程,支持编辑与部署操作。
  • 通过 clawhub 安装,使用 openclaw skills install 命令部署。
  • 安装前需确认权限范围、维护状态及是否触发系统配置变更。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
openclaw-subagents
description
This skill should be used when the user wants to configure, spawn, or manage OpenClaw (formerly Clawdbot) subagents. It covers the full setup workflow: editing openclaw.json for subagent config, writing SOUL.md and AGENTS.md files, setting up cron heartbeats, configuring tool access per depth level, using the sessions_spawn tool, and building multi-agent orchestration patterns. Use this skill for any task involving OpenClaw multi-agent architecture, agent identity, memory, Mission Control integration, or subagent spawning.

OpenClaw Subagents Configuration Skill

Overview

Configure and manage OpenClaw subagents — background agent runs spawned from a main agent that operate in isolated sessions and report results back upon completion. This skill covers everything from a single subagent spawn to full multi-agent squad orchestration.

References

Load these files as needed during configuration:

  • references/config-reference.md — Full openclaw.json schema for subagents (all fields, defaults, per-agent overrides)
  • references/sessions-spawn-tool.md — sessions_spawn tool parameters, slash commands, and behavior details
  • references/agent-files.md — SOUL.md, AGENTS.md, HEARTBEAT.md, and memory file templates
  • references/multi-agent-architecture.md — Depth levels, tool access rules, announce chain, Mission Control integration

Step 1: Determine Setup Type

Ask or infer from context which pattern the user needs:

PatternDescriptionmaxSpawnDepth
Single subagentMain agent spawns one background worker1 (default)
OrchestratorMain -> orchestrator -> workers (nested)2
Multi-agent squadMultiple independent agents sharing a task DB1 per agent

Step 2: Configure openclaw.json

Config lives at ~/.openclaw/openclaw.json. Load references/config-reference.md for the full schema.

Minimal subagents config:

{
  agents: {
    defaults: {
      subagents: {
        model: "anthropic/claude-haiku-4-5",  // use cheaper model for subagents
        maxSpawnDepth: 1,                      // set to 2 for orchestrator pattern
        maxChildrenPerAgent: 5,               // max active children per session (1-20)
        maxConcurrent: 8,                     // global concurrency limit
        runTimeoutSeconds: 900,               // abort after N seconds (0 = no limit)
        archiveAfterMinutes: 60               // auto-delete transcript after N minutes
      }
    },
    list: [
      {
        id: "main",
        workspace: "~/.openclaw/workspace-main"
      }
    ]
  }
}

For per-agent model overrides and tool restrictions, see references/config-reference.md.


Step 3: Create Agent Identity Files

Each agent workspace at ~/.openclaw/workspace-<agentId>/ needs identity files. Load references/agent-files.md for full templates.

FilePurposeInjected into subagents?
SOUL.mdPersonality, role, voiceNo
AGENTS.mdOperational procedures, tools, Mission ControlYes
HEARTBEAT.mdWake-up checklistYes (via cron message)
memory/WORKING.mdCurrent task stateAgent maintains this
memory/MEMORY.mdLong-term curated factsAgent maintains this

Step 4: Set Up Cron Heartbeats

Each agent wakes every 15 minutes via cron. Stagger agents by 2 minutes each:

openclaw cron add \
  --name "agent-heartbeat" \
  --cron "0,15,30,45 * * * *" \
  --session "isolated" \
  --message "You are <AgentName>, the <Role>. Read WORKING.md. Check Mission Control for @mentions and assigned tasks. If work exists, do it and update WORKING.md. If nothing to do, reply HEARTBEAT_OK."

Suggested stagger schedule for a squad:

:00 Agent 1 (e.g. Pepper)
:02 Agent 2 (e.g. Shuri)
:04 Agent 3 (e.g. Friday)
:06 Agent 4 (e.g. Loki)
:08 Agent 5 (e.g. Vision)

Step 5: Spawning Subagents

Subagents are spawned non-blocking — the tool returns a run ID immediately and the result is announced on completion.

From within an agent (agent calls sessions_spawn tool with these params):

task: "Research competitor pricing for task #42 and post findings as a comment"
agentId: "researcher"          // optional: target specific agent
label: "competitor-research"   // optional: human-readable name
model: "claude-haiku-4-5"     // optional: override model
thinking: "none"               // none | basic | deep
runTimeoutSeconds: 600         // optional: abort after N seconds
cleanup: "delete"              // delete = archive immediately after announce
mode: "run"                    // run = one-shot (default), session = persistent

Manually via slash command:

/subagents spawn researcher "Research competitor pricing for task #42"

Load references/sessions-spawn-tool.md for full parameter details.


Step 6: Verify and Monitor

openclaw agents list --bindings   # confirm agent routing
openclaw gateway start            # start the gateway daemon

In chat:

/subagents list                   # view active runs
/subagents info <id>              # status, timestamps, session key
/subagents log <id> [limit]       # execution logs
/subagents steer <id> <message>   # redirect mid-run
/subagents kill <id|all>          # stop subagent + cascade to children

Tool Access by Depth (Critical)

DepthSession Key FormatCan SpawnSession Tools Available
0agent:<id>:mainAlwaysAll tools
1agent:<id>:subagent:<uuid>Only if maxSpawnDepth >= 2sessions_spawn, subagents, sessions_list, sessions_history (orchestrators only)
2agent:<id>:subagent:<uuid>:subagent:<uuid>NeverNone

Blocked for all subagents by default: sessions_list, sessions_history, sessions_send, sessions_spawn


Common Pitfalls

  • Never share agentDir across agents — auth profiles are per-agent and must remain isolated
  • SOUL.md is not injected into subagents — put operational instructions in AGENTS.md instead
  • Memory is files only — anything not written to disk is lost when a session ends
  • Always stagger heartbeat crons — running all agents at :00 causes resource spikes
  • Use cheaper models for heartbeats; reserve powerful models for creative or reasoning-heavy tasks
  • Announce is best-effort — if the gateway restarts mid-run, the announce may be lost; design tasks to be resumable
  • Max nesting depth is 5, but 2 is the recommended maximum for practical use

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77%
按下载量换算4,565

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills