Chiba Claw is an OpenClaw workspace with a small set of local skills for:
- Chiba controller operations
- Eden API tool execution
- Mars lore sync and search
- Remotion video generation
- YTP-style video generation
The repo is designed to be installed as an OpenClaw workspace and agent, with a default assumption that related repos live next to it as sibling directories.
By default, the workspace resolves related local repos like this:
../chiba-controller../eden2
That means a typical layout looks like:
parent/
chiba-claw/
chiba-controller/
eden2/
If your repos live somewhere else, override the defaults in .env:
CHIBA_CONTROLLER_REPOEDEN_SOURCE_REPO
Relative override values are resolved from the chiba-claw repo root.
Required for the main install:
openclawbashnode20+
Needed by specific skills:
curlforeden-toolsand controller setup probesnpmforremotionand Node-based skill installspnpmforchiba-controlleruvforremotionandytp
Service credentials and endpoints are optional unless you want those skills live:
DISCORD_BOT_TOKENif Discord is enabledCHIBA_API_URLfor controller API accessEDEN_API_URLandEDEN_API_KEYfor Eden tool executionLOREBOOK_URLorMARS_LORE_SHEET_URLfor Mars lore sync
- Clone the workspace.
- If you use the related local repos, place them as siblings to this repo or plan to override their paths in
.env. - Copy the example env file:
cp .env.example .env- Edit
.env.
Minimum fields to set for a normal OpenClaw install:
OPENCLAW_GATEWAY_TOKENDISCORD_BOT_TOKENifOPENCLAW_ENABLE_DISCORD=1
Common fields you should review:
OPENCLAW_WORKSPACE_DIROPENCLAW_PROFILEOPENCLAW_AGENT_IDOPENCLAW_AGENT_NAMEOPENCLAW_GATEWAY_PORTCHIBA_API_URLCHIBA_CONTROLLER_REPOEDEN_API_URLEDEN_API_KEYEDEN_SOURCE_REPO
- Run the installer:
bash scripts/install-openclaw-workspace.shWhat the installer does:
- validates required env
- onboards the OpenClaw profile non-interactively
- configures the profile and agent
- binds Discord if enabled
- runs skill setup
- optionally installs and starts the OpenClaw gateway service
If you want the OpenClaw gateway itself containerized on a local Ubuntu or Debian server, this repo includes a Docker Compose flow that mounts this repo as the workspace and persists the OpenClaw home dir on the host.
What it does:
- builds
Dockerfile.openclawon top ofghcr.io/openclaw/openclaw:latest - adds the missing local toolchain this workspace expects inside Docker:
uv,python3 -m pip, andffmpeg - mounts this repo into the container as the OpenClaw workspace at
/workspace - persists OpenClaw state under
OPENCLAW_DOCKER_STATE_DIR(default:$HOME/.openclaw) - runs the container as the invoking host UID/GID by default so the bootstrap can write into the checked-out repo on the server
- writes a generated
.openclaw-docker.envwith container-safe overrides - bootstraps the profile and agent inside a one-shot CLI container
- starts the gateway as a long-running Compose service
- skips
scripts/setup-skills.shby default inside Docker so missing sibling repos and extra toolchains do not block the gateway bootstrap
Bring it up:
bash scripts/openclaw-docker.sh upUseful follow-ups:
bash scripts/openclaw-docker.sh build
bash scripts/openclaw-docker.sh logs
bash scripts/openclaw-docker.sh ps
bash scripts/openclaw-docker.sh downThe Docker image now includes the runtime pieces the repo's skill installers assume are present:
- upstream OpenClaw image:
openclaw,node,npm,pnpm,python3,curl,git - repo Dockerfile additions:
uv,python3 -m pip,python3 -m venv,ffmpeg
The Docker wrapper auto-detects the host UID/GID and passes that through to Compose. If you cloned the repo with one user and are running Docker with another, you can override OPENCLAW_DOCKER_UID and OPENCLAW_DOCKER_GID in .env.
The default Docker path still keeps OPENCLAW_SKIP_SKILL_SETUP=1, because some skills also assume sibling repos such as ../chiba-controller and ../eden2 are available. If you mount or colocate those repos on the server and want the container bootstrap to run scripts/setup-skills.sh, set OPENCLAW_SKIP_SKILL_SETUP=0 in .env.
To access the Control UI from your laptop, tunnel the gateway port over SSH:
ssh -N -L 19789:127.0.0.1:19789 <user>@<server>If you change OPENCLAW_GATEWAY_PORT, use that port in the tunnel command instead.
If you do not want the full OpenClaw workspace install and only want local skill dependencies and setup:
bash scripts/setup-skills.shThis runs each skill's setup script or dependency install.
Run the test suite:
bash scripts/test-skills.shYou can also run setup for an individual skill:
bash skills/eden-tools/setup.sh
bash skills/chiba-controller/setup.sh
bash skills/remotion/setup.sh
bash skills/ytp/setup.shskills/eden-tools/setup.shgeneratesoutputs/eden-tools/api-notes.local.mdwith resolved absolute local source paths for the siblingeden2repo.CHIBA_CONTROLLER_REPOandEDEN_SOURCE_REPOdefault to sibling repos and are resolved to absolute paths during setup.- If a skill is not fully configured, setup should still leave the repo in a usable state and print what is missing.
Generated artifacts land under outputs/, including:
outputs/eden-tools/outputs/mars-lore/outputs/remotion/outputs/ytp/