🦀 CrabGlamp Docs

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.

CommandDescription
crabglamp web enable <name>Symlink config to sites-enabled/, validate, and reload nginx
crabglamp web disable <name>Remove symlink and reload nginx
crabglamp web listShow all configs with enabled/disabled status
crabglamp web reloadTest 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.

CommandDescription
crabglamp keys listShow all keys for your account
crabglamp keys createCreate 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 refreshRe-inject the assigned key into OpenClaw config
crabglamp keys statusShow 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.

CommandDescription
crabglamp gateway startStart the supervisor and gateway
crabglamp gateway stopStop the supervisor and gateway
crabglamp gateway restartRestart the gateway (supervisor relaunches it)
crabglamp gateway statusShow running/stopped state
crabglamp gateway logsTail gateway logs

See the OpenClaw guide for configuration details.


crabglamp glamp — GlampHub publishing

Publish sanitized snapshots of your agent to GlampHub.

CommandDescription
crabglamp glamp initCreate a ~/glamp.json manifest
crabglamp glamp stageRun 3-pass security scan and build staging directory
crabglamp glamp rescanRe-run security scan on existing staging
crabglamp glamp confirmFinal scan, tarball, upload, and publish
crabglamp glamp cancelDiscard staging directory
crabglamp glamp statusShow current staging/publish state

The dashboard also provides a GUI workflow for publishing. See the GlampHub guide for the full walkthrough.