Skip to content

Commit 452a6f2

Browse files
docs: add skills and plugins management for OpenClaw (#2521)
* add skills and plugins management for OpenClaw * resize images * update: add minimum permissions
1 parent 2d1abe8 commit 452a6f2

File tree

5 files changed

+114
-15
lines changed

5 files changed

+114
-15
lines changed
574 KB
Loading
139 KB
Loading
573 KB
Loading
210 KB
Loading

docs/use-cases/openclaw.md

Lines changed: 114 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ By the end of this tutorial, you are be able to:
2121
- Pair and connect the OpenClaw CLI and the Control UI.
2222
- Configure OpenClaw to use the local AI model Ollama.
2323
- Integrate OpenClaw with Discord.
24+
- Manage skills and plug-ins.
2425
- Enable the web search capability using Brave Search.
2526

2627
## Prerequisites
@@ -61,7 +62,8 @@ Run a quick setup for the agent in the OpenClaw CLI.
6162
3. The wizard guides you through a series of steps. Use the arrow keys to navigate and press Enter to confirm.
6263

6364
:::tip Note on configurations
64-
To get you started quickly, this tutorial skips several advanced settings in the wizard. You can configure or modify them later.
65+
- To get you started quickly, this tutorial skips several advanced settings in the wizard. You can configure or modify them later.
66+
- Do not configure skills here, because the Olares security environment prevents the wizard from automatically installing skills. You need to install them manually. For more information, see [Manage skills and plugins](#manage-skills-and-plugins).
6567
:::
6668

6769
| Settings | Option |
@@ -73,17 +75,17 @@ Run a quick setup for the agent in the OpenClaw CLI.
7375
| Filter models by provider | All providers |
7476
| Default model | Keep current |
7577
| Select channel | Skip for now |
76-
| Configure skills now | No |
78+
| Configure skills now | No<br>(Manual installation required) |
7779
| How do you want to hatch your bot | Do this later |
7880

79-
4. After you complete the wizard, restart OpenClaw CLI.
80-
5. Enter the following command to view and copy the gateway token displayed:
81+
4. After you complete the wizard, close OpenClaw CLI and open it again.
82+
5. Enter the following command to obtain the gateway token:
8183

8284
```bash
8385
openclaw config get gateway.auth.token
8486
```
8587

86-
6. Keep the OpenClaw CLI window open for the next step.
88+
6. Copy the token and keep the OpenClaw CLI window open for the next step.
8789

8890
## Pair device
8991

@@ -164,7 +166,7 @@ To chat with your agent remotely, connect it to a Discord bot.
164166

165167
![Reset token](/images/manual/use-cases/reset-token.png#bordered)
166168

167-
### Step 2. Invite the bot to server
169+
### Step 2: Invite the bot to server
168170

169171
1. From the left sidebar, select **OAuth2**, and then find the **OAuth2 URL Generator** section:
170172

@@ -219,12 +221,14 @@ For security, the bot does not talk to unauthorized users. You must pair your Di
219221

220222
1. Open Discord and send a Direct Message to your new bot. The bot will reply with an error message containing a Pairing Code.
221223
2. Open the OpenClaw CLI and enter the following command:
224+
222225
```bash
223226
openclaw pairing approve discord {Your-Pairing-Code}
224227
```
228+
225229
3. Once approved, you can start chatting with your agent in Discord.
226230

227-
## (Optional) Enable web search
231+
## Optional: Enable web search
228232

229233
By default, OpenClaw answers questions only based on its training data, which means it doesn't know about current events or real-time news. To give your agent access to the live internet, you can enable the web search tool.
230234
@@ -238,12 +242,12 @@ OpenClaw officially recommends Brave Search. It uses an independent web index op
238242
```
239243
3. Configure the basic settings as follows:
240244
241-
|Settings|Option|
245+
| Settings | Option |
242246
|:-------|:-----|
243-
|Where will the Gateway run|Local (this machine)|
244-
|Enable web_search (Brave Search)|Yes|
245-
|Brave Search API key| Your `BraveSearchAPIkey` |
246-
|Enable web_fetch (keyless HTTP <br>fetch) |Yes|
247+
| Where will the Gateway run | Local (this machine) |
248+
| Enable web_search (Brave Search) | Yes |
249+
| Brave Search API key | Your `BraveSearchAPIkey` |
250+
| Enable web_fetch (keyless HTTP <br>fetch) | Yes |
247251
248252
4. Finalize the configuration in Control UI.
249253
@@ -273,11 +277,106 @@ OpenClaw officially recommends Brave Search. It uses an independent web index op
273277
274278
5. Now you can ask the agent in Discord to answer questions that require real-time internet data.
275279
276-
## FAQ
280+
## Manage skills and plugins
281+
282+
OpenClaw can be extended using skills and plugins:
283+
- Skills add new capabilities to the AI. For example, managing Model Context Protocol servers.
284+
- Plugins extend the system to support additional channels or community features. For example, adding iMessage via BlueBubbles.
285+
286+
:::info Why manual installation required
287+
To protect your device, OpenClaw runs in a restricted, non-root environment without administrative privileges. This prevents the agent from modifying your system or self-installing software.
288+
:::
289+
290+
### Step 1: Install ClawHub
291+
292+
To manage skills and plugins, install ClawHub. It is the package manager for OpenClaw.
293+
294+
1. Open the OpenClaw CLI.
295+
2. Enter the following command:
296+
297+
```bash
298+
npx clawhub
299+
```
300+
301+
3. When prompted to proceed, press Y.
302+
303+
### Step 2: Install and enable skills
304+
305+
1. Check the list of available skills by entering the following command:
306+
307+
```bash
308+
openclaw skills
309+
```
310+
![View skills](/images/manual/use-cases/available-skills.png#bordered)
311+
312+
2. Find the target skill name in the **Skill** column, and then install by entering the following command:
313+
314+
```bash
315+
npx clawhub install {SkillName}
316+
```
317+
318+
For example, to install mcporter, enter the following command:
319+
320+
```bash
321+
npx clawhub install mcporter
322+
```
323+
324+
3. If prompted to **Install anyway**, select **Yes**.
325+
4. When the installation is completed, verify by entering the following command:
326+
327+
```bash
328+
openclaw skills
329+
```
330+
The status of **mcporter** is **ready**, indicating the installation is successful.
331+
332+
![Skill installed](/images/manual/use-cases/skill-installed.png#bordered)
333+
334+
5. Open the Control UI, go to the **Skills** page and find **mcporter**:
335+
336+
- If it is enabled, click **Disable**, and then click **Enable** again to force the system to save the configuration.
337+
- If it is disabled, click **Enable**.
338+
339+
![Enable skill](/images/manual/use-cases/enable-skill.png#bordered)
340+
341+
6. Click **Save** in the upper-right corner. The system validates the config and restarts automatically to apply the changes.
342+
343+
### Step 3: Install plug-ins
344+
345+
1. In the OpenClaw CLI, check the list of compatible plug-ins by entering the following command:
346+
347+
```bash
348+
openclaw plugins list
349+
```
350+
351+
2. Find the target plug-in name in the **Name** column, and then install by entering the following command:
352+
353+
```bash
354+
openclaw plugins install {Name}
355+
```
356+
For example, to install BlueBubbles, enter the following command:
357+
358+
```bash
359+
openclaw plugins install @openclaw/bluebubbles
360+
```
361+
362+
3. When the installation is completed, close OpenClaw CLI and open it again to load the new plug-in.
363+
364+
4. Verify by checking the plugin status:
365+
366+
```bash
367+
openclaw plugins list
368+
```
369+
370+
Now the status of the plug-in is **loaded**.
371+
372+
5. Open the Control UI, go to **Config** > **Plugins**, and then find **@openclaw/bluebubbles** on the **All** tab:
373+
374+
- If it is enabled, turn off the toggle switch, and then turn on again to force the system to explicitly save the configuration.
375+
- If it is disabled, turn on the toggle switch.
277376
278-
### I see the error "HTTP 503" or "event gap detected"
377+
![Toggle on plugin](/images/manual/use-cases/toggle-plugin.png#bordered)
279378
280-
If you encounter these errors in Discord or the Control UI, check your Ollama and ensure it is running properly in the background.
379+
6. Click **Save** in the upper-right corner. The system validates the config and restarts automatically to apply the changes.
281380
282381
## Resources
283382

0 commit comments

Comments
 (0)