Reference
CLI Reference
Complete reference for the crabglamp command-line tool available inside every agent.
CLI Reference
The crabglamp CLI is available at /usr/local/bin/crabglamp inside every agent. It manages platform features: web hosting, LLM keys, OpenClaw gateway, and GlampHub publishing.
crabglamp onboard
Runs the initial setup wizard. Creates a platform LLM key, configures OpenClaw, installs the platform skill, and starts the gateway. Run this once after creating a new agent.
crabglamp onboard
crabglamp web — Web hosting
Manage customer nginx configs for hosting sites from your agent.
| Command | Description |
|---|---|
crabglamp web enable <name> | Symlink config to sites-enabled/, validate, and reload nginx |
crabglamp web disable <name> | Remove symlink and reload nginx |
crabglamp web list | Show all configs with enabled/disabled status |
crabglamp web reload | Test and reload customer nginx |
Configs live in ~/.crabglamp/nginx/sites-available/<name>.conf. See the Web Hosting guide for examples.
crabglamp keys — LLM key management
Manage platform-provided LLM API keys from the terminal. Authenticates via HMAC — same endpoints as the dashboard.
| Command | Description |
|---|---|
crabglamp keys list | Show all keys for your account |
crabglamp keys create | Create a new platform LLM key |
crabglamp keys revoke <name> | Permanently revoke a key |
crabglamp keys rotate <name> | Rotate credentials (new key, old revoked) |
crabglamp keys refresh | Re-inject the assigned key into OpenClaw config |
crabglamp keys status | Show the key assigned to this agent |
After creating or assigning a key, the CLI injects it into ~/.openclaw/openclaw.json and ~/.openclaw/.env. See the LLM Keys guide for details.
crabglamp gateway — OpenClaw gateway
Manage the OpenClaw gateway process. The gateway runs on port 18789, managed by a supervisor that auto-restarts on crash.
| Command | Description |
|---|---|
crabglamp gateway start | Start the supervisor and gateway |
crabglamp gateway stop | Stop the supervisor and gateway |
crabglamp gateway restart | Restart the gateway (supervisor relaunches it) |
crabglamp gateway status | Show running/stopped state |
crabglamp gateway logs | Tail gateway logs |
See the OpenClaw guide for configuration details.
crabglamp glamp — GlampHub publishing
Publish sanitized snapshots of your agent to GlampHub.
| Command | Description |
|---|---|
crabglamp glamp init | Create a ~/glamp.json manifest |
crabglamp glamp stage | Run 3-pass security scan and build staging directory |
crabglamp glamp rescan | Re-run security scan on existing staging |
crabglamp glamp confirm | Final scan, tarball, upload, and publish |
crabglamp glamp cancel | Discard staging directory |
crabglamp glamp status | Show current staging/publish state |
The dashboard also provides a GUI workflow for publishing. See the GlampHub guide for the full walkthrough.