Agent skill
swarmclaw
Manage your SwarmClaw agent fleet, create and assign tasks, check agent and session status, trigger workflows, and orchestrate multi-agent work from chat. Use when asked to dispatch work to other agents, check what agents are doing, run diagnostics, or coordinate across a SwarmClaw dashboard instance.
Install this agent skill to your Project
npx add-skill https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/swarmclaw
Metadata
Additional technical details for this skill
- openclaw
-
{ "requires": { "env": [ "SWARMCLAW_ACCESS_KEY" ], "bins": [ "swarmclaw" ] }, "primaryEnv": "SWARMCLAW_ACCESS_KEY" }
SKILL.md
Overview
SwarmClaw is a self-hosted AI agent orchestration dashboard. This skill gives you CLI access to manage agents, tasks, sessions, schedules, and memory across a SwarmClaw instance.
Install the CLI:
npm i -g @swarmclawai/swarmclaw
Authentication uses SWARMCLAW_ACCESS_KEY (preferred) or CLI key flags. Default URL is http://localhost:3456; override with SWARMCLAW_URL, --url (legacy commands), or --base-url (API-mapped commands).
Use machine-readable output when parsing command results:
--rawfor legacy commands--jsonfor API-mapped commands
Setup
- Install:
npm i -g @swarmclawai/swarmclaw - Set env var:
export SWARMCLAW_ACCESS_KEY=<your-key>(shown in terminal on first run) - Full docs: https://swarmclaw.ai/docs — CLI reference: https://github.com/swarmclawai/swarmclaw
Multi-Gateway Fleet Management
SwarmClaw can connect to multiple OpenClaw gateways at the same time. Each SwarmClaw agent can target a different gateway, including one local and several remote instances. This skill’s commands operate through the SwarmClaw control plane, so your agent/task/session actions apply across the fleet view. Use it when you need status and task coordination across more than one OpenClaw instance.
Commands
Agents:
swarmclaw agents list— list all agents with IDs, names, providers, status
swarmclaw agents list --raw
swarmclaw agents get <agentId>— get full details for a specific agent
swarmclaw agents get <agentId> --raw
Tasks:
swarmclaw tasks create --title "..." --description "..." --agent-id <agentId>— create and assign a task
swarmclaw tasks create --title "Analyse competitor pricing" --description "Research and compare competitor pricing strategies, identify gaps and opportunities" --agent-id <agentId> --raw
swarmclaw tasks list— list all tasks with status
swarmclaw tasks list --raw
Sessions:
swarmclaw sessions list— list active sessions
swarmclaw sessions list --raw
swarmclaw sessions chat <id> --message "..."— send a message to an existing session
swarmclaw sessions chat <id> --message "Give me a status update" --raw
Memory:
swarmclaw memory maintenance— run memory maintenance analysis
swarmclaw memory maintenance --raw
Diagnostics:
swarmclaw setup doctor— run system diagnostics and report issues
swarmclaw setup doctor --raw
Version:
swarmclaw version check— check current version and update status
swarmclaw version check --raw
Rules
- Always verify an agent ID exists by running
agents listbefore creating tasks for it. - Never pass the access key as a CLI argument in visible output — rely on the
SWARMCLAW_ACCESS_KEYenv var. - If the SwarmClaw instance is unreachable, run
swarmclaw setup doctorand report the findings before retrying. - When the user says "dispatch work", "get X agent to do Y", or "assign this to", use
tasks createto assign the work to the appropriate agent. - When the user asks "what's running", "agent status", or "what are my agents doing", combine output from
agents listandsessions listto give a full picture. - For complex multi-step orchestration, create individual tasks rather than chaining commands.
- Use
--raw/--jsonoutput modes when you need to parse command output for further processing. - Do not run commands that modify or delete agents without explicit user confirmation.
Examples
Dispatch work to another agent: User says: "Get my research agent to analyse competitor pricing"
swarmclaw agents list --raw
swarmclaw tasks create --title "Analyse competitor pricing" --description "Research and compare competitor pricing strategies, identify gaps and opportunities" --agent-id <research-agent-id> --raw
Then confirm the task was created and the agent will pick it up.
Check fleet status: User says: "What are all my agents doing right now?"
swarmclaw agents list --raw
swarmclaw sessions list --raw
Then summarize which agents are idle, which have active sessions, and any tasks in progress.
Run diagnostics: User says: "Something seems wrong with SwarmClaw"
swarmclaw setup doctor --raw
Then report issues found and suggest fixes based on the doctor output.
Check agents across gateways: User says: "What's happening across all my OpenClaw instances?"
swarmclaw agents list --raw
Then use the output to identify agents across multiple gateways with their connection status, and summarize which gateways are healthy and which agents are active on each.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
audit-website
Audit websites for SEO, performance, security, technical, content, and 15 other issue cateories with 230+ rules using the squirrelscan CLI. Returns LLM-optimized reports with health scores, broken links, meta tag analysis, and actionable recommendations. Use to discover and asses website or webapp issues and health.
firecrawl
Web search and scraping via Firecrawl API. Use when you need to search the web, scrape websites (including JS-heavy pages), crawl entire sites, or extract structured data from web pages. Requires FIRECRAWL_API_KEY environment variable.
computer-use
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag, etc). Unlike OpenClaw's browser tool, operates at the X11 level so websites cannot detect automation. Includes VNC for live viewing.
social-media-analyzer
Social media campaign analysis and performance tracking. Calculates engagement rates, ROI, and benchmarks across platforms. Use for analyzing social media performance, calculating engagement rate, measuring campaign ROI, comparing platform metrics, or benchmarking against industry standards.
business-growth-skills
4 production-ready business and growth skills: customer success manager with health scoring and churn prediction, sales engineer with RFP analysis, revenue operations with pipeline and GTM metrics, and contract & proposal writer. Python tools included (all stdlib-only). Works with Claude Code, Codex CLI, and OpenClaw.
contract-and-proposal-writer
Contract & Proposal Writer
Didn't find tool you were looking for?