Files
actionbook__actionbook/docs/openclaw.mdx
mcfn.feng 342a78a51c [root]docs: restore docs.json nav entry and openclaw.mdx lost in revert 72aac42
Also restores:
- docs/docs.json: re-add api-reference/evaluate-api navigation entry
- docs/openclaw.mdx: restore OpenClaw plugin integration content
2026-04-03 08:38:24 +08:00

82 lines
1.6 KiB
Plaintext

---
title: 'Integrate with OpenClaw'
description: 'Set up Actionbook in OpenClaw from scratch'
---
import InstallTabs from "/snippets/install-tabs.mdx";
Use this guide to set up Actionbook in OpenClaw.
## Step 1: Install Actionbook CLI
<InstallTabs />
## Step 2: Run `actionbook setup`
```bash
actionbook setup
```
During setup, make sure Skills are installed to **OpenClaw global**.
Verify Actionbook is ready in OpenClaw:
```bash
openclaw skills check
```
Quick smoke test:
```bash
actionbook search "github repo stars" --domain github.com
```
You should see at least one result with an `ID`.
## Step 3: Disable OpenClaw built-in browser and set browser workflow to Actionbook
Disable the built-in browser:
```bash
openclaw config set browser.enabled false --json
```
Then add this instruction to `~/.openclaw/workspace/TOOLS.md`:
```markdown
## Browser automation preference
- Use Actionbook CLI for all website/browser operations.
- Do not use the built-in OpenClaw browser tool unless explicitly asked.
- Follow: `actionbook search` -> `actionbook get` -> operate.
```
Apply changes:
```bash
openclaw gateway restart
```
## Try it
Ask OpenClaw:
```text
Visit github.com/actionbook/actionbook and tell me how many stars it has.
```
## Next Steps
<CardGroup cols={2}>
<Card
title="CLI & Skills Guide"
icon="terminal"
href="/guides/cli-and-skills"
>
Learn the search -> get -> operate workflow
</Card>
<Card title="CLI Reference" icon="code" href="/api-reference/cli">
Full command reference for Actionbook CLI
</Card>
</CardGroup>