VS Code status bar shortcut for connecting to OpenClaw. It shows connection state and runs your configured OpenClaw CLI command in a terminal.
Created by OpenKnot: https://openknot.ai
Quick, super-simple overview: see SUMMARY.md.
Status Bar Indicator: Shows idle, connecting, connected, and error states at a glance.One-Click Connect: Runs your OpenClaw command in a dedicated terminal.Terminal Reuse: Keeps a single terminal session for quick reconnects.Auto-Connect: Optionally connect on startup.Custom Command: Configure the exact command for your environment.Guided Setup: Install Node.js and OpenClaw with prompts.Install Shortcuts: One-click install or copy commands when the CLI is missing.Legacy Migration: Prompts to upgrade frommolt/clawdbottoopenclaw.Node Check: Detects missing Node.js and offers installers.
- Download the latest LTS from https://nodejs.org
- Verify:
node -vshowsv22.xor newer
npm install -g openclaw@latest
Verify:
openclaw --help
openclaw onboard --install-daemon
openclaw gateway --port 18789
Open Dashboard: http://127.0.0.1:18789/
openclaw channels login
Scan the QR (WhatsApp) or follow the prompt for your channel.
Click the OpenClaw status bar item. The extension sends your configured command in the terminal.
If you see a "command not found: openclaw" error in VS Code, use the built-in helpers:
- Run
OpenClaw: Setupfrom the Command Palette; OR - Click the action buttons in the error message to install or copy the command
The setup flow can also detect missing Node.js, guide you to install the latest LTS, and then install OpenClaw.
Run the command palette action OpenClaw: Model Setup Wizard to:
- Run the OpenClaw onboarding wizard in a terminal (
openclaw onboard) - Choose a provider (
OpenAI,Anthropic, orLocal Pi RPC) - Open your config and auth profile files for quick edits
- Verify health with
openclaw statusandopenclaw health
This is the fastest path from zero to a working model configuration.
Run OpenClaw: Harden from the Command Palette or open the OpenClaw → Hardening view in the Activity Bar to:
- Run
openclaw security audit,--fix, and--deepin sequence - Review status in the terminal and get quick links to config + docs
- Trigger
openclaw status --alland open the local dashboard - View a plain-English access summary (MCP, tools, key sources)
This is a guided path for locking down common attack surfaces and permissions.
openclaw.autoConnect: Automatically connect on startup (default: false)openclaw.command: Command to run when connecting (default:openclaw status)openclaw.hardening.mode: Hardening workflow (full,audit,auditFix)openclaw.hardening.command: Command prefix for hardening (default:openclaw)
For Windows with WSL, set: openclaw.command = wsl openclaw status
By default, OpenClaw uses its bundled Pi binary in RPC mode. If you want a different provider or custom settings, update your config:
~/.openclaw/openclaw.json
See the OpenClaw docs for configuration examples and provider setup: https://docs.openclaw.ai
- Reinstall CLI:
npm install -g openclaw@latest - Restart your terminal or VS Code
- Or run
OpenClaw: Setupin VS Code to use the guided installer
If you previously installed the legacy CLI, update to the new openclaw name using the installer or npm, then run openclaw doctor:
- Recommended (macOS/Linux):
curl -fsSL https://openclaw.bot/install.sh | bash - Global npm:
npm install -g openclaw@latest
See https://docs.openclaw.ai/install/updating for full update guidance.
- Install the latest LTS from https://nodejs.org/
- Verify with
node -v(needs v22+)
- Run:
openclaw gateway --port 18789 - Open:
http://127.0.0.1:18789/
- Ensure you are in the Extension Development Host when testing
- Check Output panel for extension logs
- Set
openclaw.commandtowsl openclaw status - Set
openclaw.hardening.commandtowsl openclaw
- Install dependencies:
bun install - Compile:
bun run compile - Press F5 to launch the Extension Development Host
- Publish (prepublish + VSCE + Open VSX):
bun run publish:all:script
