-
Notifications
You must be signed in to change notification settings - Fork 25
ClawSwarm Installation Guide
This page is prepared for GitHub Wiki manual publishing.
- Install the plugin.
openclaw plugins install @1panel-dev/clawswarmIf this step returns 429 Rate Limit Exceeded, ClawHub is rate-limiting. Do not leave the user blocked here. Guide them through manual npm installation instead:
cd /tmp
PKG=$(npm pack @1panel-dev/clawswarm)
mkdir -p /tmp/clawswarm-pkg
cd /tmp/clawswarm-pkg
tar xzf "/tmp/$PKG"
cp -r /tmp/clawswarm-pkg/package /home/node/.openclaw/extensions/clawswarm
cd /home/node/.openclaw/extensions/clawswarm
npm install --omit=devIf /home/node/.openclaw/extensions/clawswarm already exists, do not tell the user to delete it blindly. Have them inspect it first. If it contains local changes, back it up before replacing it.
If you see missing config errors for baseUrl, outboundToken, or inboundSigningSecret at this step, do not stop. Continue and guide the user to complete the config.
- Enable the plugin.
openclaw plugins enable clawswarm-
Tell the user to open the ClawSwarm client, go to the
OpenClawpage, and create a new instance or edit an existing one. -
Tell the user to fill in these values in the instance drawer:
-
OpenClaw URL: Ask the user to enter the current OpenClaw instance URL. -
Gateway Token: Ask the user to enter the token currently used by the OpenClaw Gateway.
- Tell the user to save the instance first.
After the instance is saved successfully, ClawSwarm will generate:
outboundTokeninboundSigningSecret
Only after that will the OpenClaw JSON Config become available to copy.
- Tell the user to click the copy icon next to
OpenClaw JSON Configin the instance drawer, then paste the copied JSON snippet directly to you.
The client will generate the full OpenClaw config snippet, including:
plugins.allowplugins.entries.clawswarmskillschannels.clawswarm.accounts.default.baseUrloutboundTokeninboundSigningSecretgateway.baseUrlwebchatMirror.includeIntermediateMessages
The user only needs to fill in Gateway Token. The rest is generated by ClawSwarm.
- After the user sends the JSON snippet, open the OpenClaw config file.
Common path:
~/.openclaw/openclaw.json
- Merge the OpenClaw JSON Config sent by the user into
openclaw.json.
Notes:
- Do not overwrite the whole file.
- If
plugins,skills, orchannelsalready exist inopenclaw.json, review and merge them carefully by hand. -
plugins.allowdoes not support wildcards like["*"]. - You must explicitly list
clawswarm. - Unknown plugin IDs will fail config validation.
- After the config is written, tell the user to restart the Gateway.
openclaw gateway restart- After the user finishes the restart, run verification.
openclaw plugins list
openclaw plugins inspect clawswarm
openclaw skills list- Report back to the user:
- installed
- enabled
- config written
- Gateway restarted
- health OK
- agents OK
- Install the plugin.
openclaw plugins install @1panel-dev/clawswarmIf this step returns 429 Rate Limit Exceeded, ClawHub is rate-limiting. Do not stop here. Switch to manual npm installation instead:
cd /tmp
PKG=$(npm pack @1panel-dev/clawswarm)
mkdir -p /tmp/clawswarm-pkg
cd /tmp/clawswarm-pkg
tar xzf "/tmp/$PKG"This extracts the package into /tmp/clawswarm-pkg/package/.
Then copy it into the OpenClaw extensions directory:
cp -r /tmp/clawswarm-pkg/package /home/node/.openclaw/extensions/clawswarmIf /home/node/.openclaw/extensions/clawswarm already exists, do not delete it blindly. Check the directory first. If it contains local changes, back it up before replacing it. For example:
ls -la /home/node/.openclaw/extensions/clawswarm
mv /home/node/.openclaw/extensions/clawswarm /home/node/.openclaw/extensions/clawswarm.bak.$(date +%Y%m%d-%H%M%S)
cp -r /tmp/clawswarm-pkg/package /home/node/.openclaw/extensions/clawswarmThen install plugin dependencies:
cd /home/node/.openclaw/extensions/clawswarm
npm install --omit=devIf you see missing config errors for baseUrl, outboundToken, or inboundSigningSecret at this step, do not stop. Continue to the config step.
- Enable the plugin.
openclaw plugins enable clawswarm-
Open the ClawSwarm client, go to the
OpenClawpage, and create a new instance or edit an existing one. -
Fill in these values in the instance drawer:
-
OpenClaw URL: Enter the current OpenClaw instance URL. -
Gateway Token: Enter the token currently used by the OpenClaw Gateway.
- Save the instance first.
After the instance is saved successfully, ClawSwarm will generate:
outboundTokeninboundSigningSecret
Only after that will the OpenClaw JSON Config become available to copy.
- Click the copy icon next to
OpenClaw JSON Configin the instance drawer.
The client will generate the full OpenClaw config snippet, including:
plugins.allowplugins.entries.clawswarmskillschannels.clawswarm.accounts.default.baseUrloutboundTokeninboundSigningSecretgateway.baseUrlwebchatMirror.includeIntermediateMessages
You only need to fill in Gateway Token. The rest is generated by ClawSwarm.
- Open the OpenClaw config file.
Common path:
~/.openclaw/openclaw.json
- Merge the copied OpenClaw JSON Config into
openclaw.json.
Notes:
- Do not overwrite the whole file.
- If
plugins,skills, orchannelsalready exist inopenclaw.json, review and merge them carefully by hand. -
plugins.allowdoes not support wildcards like["*"]. - You must explicitly list
clawswarm. - Unknown plugin IDs will fail config validation.
- Restart the Gateway.
openclaw gateway restart- Verify the installation.
openclaw plugins list
openclaw plugins inspect clawswarm
openclaw skills listYou should see:
-
clawswarmstatus isloaded -
CS Chatskill (cs-chat) status isready