Agent Subagents UI
/install agent-subagents-ui
Agent Subagents UI
Build and maintain the Subagents tab inside the OpenClaw Agents page.
Scope
Use this skill for:
- adding or refining the Subagents tab under Agents
- exposing editable subagent model settings in Control UI
- wiring subagent settings into the existing config form/save path
- keeping the UI honest about what is configurable per-agent vs shared defaults
- documenting runtime precedence for subagent model selection
Core design
Keep the feature aligned with the real runtime behavior.
Subagent model precedence is:
agent.subagents.modelagents.defaults.subagents.model- target agent primary model
- runtime fallback default
Do not invent backend schema that does not exist.
If the current schema only supports a single subagents.model selection and shared concurrency limits, surface that clearly in the UI.
UI pattern
Add Subagents as an Agents-page panel beside:
- Overview
- Files
- Tools
- Skills
- Channels
- Cron
Recommended panel layout:
- Agent overrides
- subagent model
- subagent fallback models
- subagent thinking level
- Shared subagent defaults
- default subagent model
- default fallback models
- default thinking level
maxConcurrentmaxSpawnDepthmaxChildrenPerAgent
- include a short precedence note explaining which value wins
Config wiring rules
Prefer the existing config editing path. Do not create a disconnected store.
Edit through the same config-form/save flow already used by the Agents UI:
agents.list[i].subagents.modelagents.list[i].subagents.thinkingagents.defaults.subagents.modelagents.defaults.subagents.thinkingagents.defaults.subagents.maxConcurrentagents.defaults.subagents.maxSpawnDepthagents.defaults.subagents.maxChildrenPerAgent
If fallback models are represented as part of the existing model object shape, reuse that shape instead of inventing a new field.
Implementation checklist
- Add/update
ui/src/ui/views/agents-panel-subagents.ts - Wire
"subagents"throughui/src/ui/views/agents.ts - Add required state/type wiring in
ui/src/ui/app.tsandui/src/ui/app-view-state.ts - Wire change handlers in
ui/src/ui/app-render.ts - Add/update focused UI tests
- Build the UI and run the targeted test file
Validation
Prefer these checks after changes:
cd ~/openclaw
pnpm --dir ui exec vitest run --config vitest.config.ts src/ui/views/agents.test.ts
pnpm --dir ui build
If repo-wide typecheck is already noisy, do not claim unrelated errors belong to this feature.
References
Read these before editing:
references/file-map.mdreferences/runtime-precedence.md
For the concrete implementation that originally shipped this feature, read:
references/implementation-notes.txtreferences/agents-panel-subagents.ts.txtreferences/agents.ts.txtreferences/app.ts.txtreferences/app-view-state.ts.txtreferences/app-render.subagents.txtreferences/agents.test.ts.txt
Use those files as the exact reference implementation when recreating or porting the feature to another OpenClaw tree.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-subagents-ui - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-subagents-ui触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Agent Subagents UI 是什么?
Add, extend, fix, or document the Subagents panel inside the OpenClaw Control UI Agents page. Use when implementing an Agents-page Subagents tab, wiring edit... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 165 次。
如何安装 Agent Subagents UI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-subagents-ui」即可一键安装,无需额外配置。
Agent Subagents UI 是免费的吗?
是的,Agent Subagents UI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Agent Subagents UI 支持哪些平台?
Agent Subagents UI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Subagents UI?
由 maverick-software(@maverick-software)开发并维护,当前版本 v1.1.0。