Before you start, you need:
- OpenClaw — Download and install OpenClaw and finish the onboarding flow.
- Node.js 20 or later — check with
node --version. Download from nodejs.org if needed.
Step 1: Download ClawReflex
Clone or download this repository to your computer.
Step 2: Run the installer for your OS
| OS | How to install |
|---|---|
| macOS | Open Terminal, drag install/install-macos.command into it, press Enter |
| Linux | Run bash install/install-linux.sh in your terminal |
| Windows | Right-click install/install-windows.ps1 → "Run with PowerShell" |
macOS note: If you get "permission denied", run this first:
chmod +x install/install-macos.command
Step 3: Restart OpenClaw
If OpenClaw was already open, close it and reopen it. Skills are loaded at startup.
Open a terminal in the ClawReflex folder and run:
npm run doctor
You should see OK next to node, npm, config file, and browser.enabled.
If you see WARN playwright dependency, run:
npm install
npx playwright install chromium
- Open the OpenClaw dashboard
- Type:
teach a workflow - The skill will ask you a few questions about the task you want to automate
- Answer them — then let it record and compile the workflow
Best first task: Something you do at least once a week on a website that doesn't change much. A good example: downloading a weekly report from a dashboard you use for work.
After teaching, run it with:
npm run supervise <workflow-name> <inputs.json>
For example:
npm run supervise acme-orders ./inputs/acme.json
You'll see a summary like:
✓ acme-orders
Status : success
Verdict : accept (confidence: 98%)
Rationale: Deterministic lane completed cleanly.
Run completed successfully.
See troubleshooting.md or run:
npm run repair <workflow-name>