Install
openclaw skills install agent-team-organizationCreate and maintain a Teams management page for OpenClaw Control UI, including named agent teams, parent/child nesting, indented tree rendering, collapsible team groups, parent selectors, and file-backed team registry persistence. Use when building, extending, fixing, or documenting the OpenClaw Teams page, team hierarchy UX, or gateway/UI plumbing for team organization features.
openclaw skills install agent-team-organizationBuild and maintain the OpenClaw Teams page as a lightweight team registry plus Control UI tree view.
Use this skill for:
Keep the feature simple:
agents.listagentIds[]parentId for hierarchyUse this shape for each team:
type TeamRecord = {
id: string;
name: string;
description?: string;
parentId?: string;
agentIds: string[];
createdAt: string;
updatedAt: string;
};
Registry file:
~/.openclaw/workspace/teams/teams.json
Default page layout:
Expected behavior:
Expose dedicated methods:
teams.listteams.getteams.createteams.updateteams.deleteKeep validation inside the teams handler:
agentIds must exist in current agent listparentId must exist when setsrc/gateway/team-registry.tssrc/gateway/server-methods/teams.tsTeamRecord / TeamsListResultapp.ts and app-view-state.tsviews/teams.ts rendererIf the UI seems correct but saved team hierarchy disappears after clicking Save:
~/.openclaw/workspace/teams/teams.jsonparentId is written to diskFor the page structure and file map, read:
references/ui-structure.mdFor live gateway/runtime mismatches where the UI looks right but parentId or other team fields disappear on save, read:
references/runtime-troubleshooting.md