Logo vun Crabbox Quickstart

Crabbox Quickstart

OrganisatiounBeléift
openclaw
crabbox-quickstart

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.

Iwwersiicht

Editeuropenclaw
Repositorycrabbox
Skill-Nummcrabbox-quickstart
Stären
1.4K
Forks
181
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum openclaw op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Crabbox Quickstart an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/openclaw/crabbox/tree/main/skills/crabbox-quickstart
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openclaw/crabbox.git /tmp/crabbox
mkdir -p .claude/skills
cp -r /tmp/crabbox/skills/crabbox-quickstart .claude/skills/crabbox-quickstart
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Crabbox Quickstart an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Crabbox Quickstart automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Crabbox Quickstart net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

text
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

sh
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:

sh
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 this before swapping uname -a for real work. The default image is plain Ubuntu with git, curl, tar, python3, rsync, and passwordless sudo. No node, npm, make, gcc, go, cargo, or java. A command needing a runtime fails before your code does — usually exit 127 and make: not found, or for npm a preflight that stops the run first. Install what you need once, on a warm box:

sh
crabbox warmup --provider local-container          # prints the <slug>
crabbox run --provider local-container --id <slug> -- \
  sudo apt-get install -y make

Commands after -- are literal argv. For &&, pipes, or redirects, add --shell before -- and pass the shell source as one quoted argument. Making the setup permanent is a .crabbox.yaml job — that is the crabbox skill, not this page.

Warm a box and reuse it

One-shot runs pay for container startup every time, and throw away whatever you installed. Keep one box and send several commands to it instead:

sh
crabbox warmup --provider local-container
crabbox run --provider local-container --id <slug> -- ./run-tests.sh
crabbox status --provider local-container --id <slug>

warmup prints both a cbx_... lease id and a friendly slug; either works as --id. A cold run measured 33-45 seconds, the same run warm about 4 seconds. Above and below, ./run-tests.sh stands for your own test command.

What actually gets synced

Your dirty working tree filtered by Git, not a committed ref, so untracked-but-not-ignored files do get uploaded — minus a built-in exclude list: node_modules, dist, target, .venv, __pycache__, and other dependency and build output. That never travels; rebuild it in the box. crabbox sync-plan prints the file count, total bytes, and the largest files and directories without starting a container. Exclude anything else surprising in .crabboxignore.

Errors you will meet first

Exit 2 is a missing --provider, 6 a directory that is not a Git repository, 7 a runtime Crabbox cannot reach, 4 an --id naming no live lease. Your own command's code passes through verbatim too, so the number alone never says which failed — read the message, then rerun the doctor command above.

When your command itself fails, Crabbox exits with its code, prints a failure digest with next: commands, and drops a bundle in .crabbox/captures/. Sync excludes it; add .crabbox/ to .gitignore.

Environment and secrets

Nothing from your shell crosses into the box automatically; forwarding is an allowlist by name, set with --allow-env or env.allow in the repo config. Never put a token on a command line; the crabbox skill covers the rest.

Evidence from a run

Evidence flags attach to any run and cost no extra time:

sh
crabbox run --provider local-container --results-auto -- ./run-tests.sh

If your command writes a JUnit XML report, --results-auto finds it without being told the path and summarizes it in one line:

text
test results files=1 tests=3 failures=1 errors=0 skipped=1

If nothing writes a JUnit file the flag is a silent no-op.

Stop what you started

Boxes from warmup outlive the command; so do runs given --keep. Stop them:

sh
crabbox stop --provider local-container <slug>
crabbox list --provider local-container

An empty list means no leases remain on that provider. Local containers kept by warmup or --keep require explicit stop; they do not expire on their own.

When you outgrow this page

Stop here and load the full crabbox skill as soon as the task involves any of:

  • a repository that already has crabbox.yaml or .crabbox.yaml, including one crabbox init --detect has just written
  • any provider other than local-container, or a broker login
  • a toolchain the base image lacks that you want present on every run
  • named jobs, pools, prewarming, a fresh PR checkout, or Windows targets
  • environment or secret forwarding, artifacts, or desktop and UI proof
  • a failure that crabbox doctor output does not explain

Heefeg gestallte Froen

Wat mécht de KI-Skill Crabbox Quickstart?

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.

Firwat Crabbox Quickstart op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Crabbox Quickstart besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Crabbox Quickstart an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/openclaw/crabbox/tree/main/skills/crabbox-quickstart an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Crabbox Quickstart benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Crabbox Quickstart benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Crabbox Quickstart domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Crabbox Quickstart gratis?

Jo. De Skill gëtt vum openclaw ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇