Skills

Crabbox Quickstart

First contact with Crabbox: run your repository's tests inside a disposable Docker or...

Install

npx skills add openclaw/crabbox --skill crabbox-quickstart -g -a claude-code -y
Repository
openclaw/crabbox1.5k
Category
Testing
Updated
5d ago
License
MIT
Context cost
Lightabout 1,462 tokens
Runs scripts
No, instructions only

What it does

First contact with Crabbox: run your repository's tests inside a disposable Docker or Podman container on your own machine, no account and no cloud spend, then stop the box. Use when someone asks what Crabbox is or how to try it, wants a throwaway sandbox for a repo with no crabbox.yaml yet, or is about to run crabbox init here; hand off to the crabbox skill for config that already exists, leased remote machines, jobs, secrets, or artifacts.

Crabbox Quickstart

Crabbox runs your repository's commands on a disposable box, a container on your own machine, or a remote machine you lease. It syncs your working tree, runs one command, streams the output back, and exits with that command's code.

The loop

lease -> sync -> run -> read output -> stop
  • Lease a box from a provider. --provider local-container uses Docker or Podman on your own machine: no account, no login, no spend.
  • Sync your current checkout onto it. Crabbox builds the file list from Git, so the directory must be a repository.
  • Run one command there. Its exit code becomes Crabbox's exit code.
  • Read the streamed output, and optionally timing and test-result files.
  • Stop the box. A one-shot run does this for you; a warm box does not.

Install and check

crabbox --version                  # already installed? skip the install
brew install openclaw/tap/crabbox  # or github.com/openclaw/crabbox/releases
crabbox doctor --provider local-container

doctor with a provider is the readiness check that matters: it names the container runtime, the leases you already hold, and the image= your commands will run inside.

First run, no account needed

With Docker or Podman running, this works in any Git repository with no config file, no login, and no cloud spend:

git init                                  # only if not already a repository
crabbox run --provider local-container -- uname -a

Crabbox provisioned a container, synced the dirty checkout, ran the command there, streamed its output, propagated its exit code, and deleted the lease. Budget 30-45 seconds once the base image is local, nearly all of it container startup; the very first run adds a one-time image pull.

The box is bare

Read the whole SKILL.md on GitHub

More in Testing