crabbox

crabbox is a skill for Claude Code, Codex from openclaw/clawsweeper. It costs 39 tokens per session (9,814 once invoked), scanned B, original, MIT.

A wrapper for running validation tests across Linux, macOS, Windows, and WSL2, the Windows environment that supports Linux tools. It also handles test environments, synchronization, logs, results, caches, and cleanup.

In plain words
What is it for?
Use it to execute cross-platform validation, inspect logs and results, manage test environments, and clean up leases after testing.
Why use it?
It standardizes how tests are run and records which underlying test provider actually performed them.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/openclaw/clawsweeper/crabbox
Any agent
npx skills add openclaw/clawsweeper --skill crabbox
Clone the repo
git clone --depth 1 https://github.com/openclaw/clawsweeper

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for crabbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/openclaw/clawsweeper/crabbox.svg)](https://agentmods.dev/skills/openclaw/clawsweeper/crabbox)
Your own site
<a href="https://agentmods.dev/skills/openclaw/clawsweeper/crabbox"><img src="https://agentmods.dev/badge/skills/openclaw/clawsweeper/crabbox.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,814 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.09814
Opus 5 $0.00019 $0.04907
Sonnet 5 $0.00008 $0.01963
Haiku 4.5 $0.00004 $0.00981

Measured 4d ago against content hash 9196381cb2ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

crabbox scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo ln -sf \"\$PWD/<cli-entry>\" /usr/local/bin/<expected-command>
.agents/skills/crabbox/SKILL.md · 860 lines

How it starts

The opening of the file, as written. The whole thing — 860 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Crabbox

Provider Selection Contract

Provider selection is configuration resolution, not testing policy. Run crabbox config show from the exact worktree being tested; a session may have started in another checkout whose repository config or skill text is stale. A request to "use Crabbox" does not authorize a provider override. When the user does not name a backend, omit --provider and preserve the resolved provider, including values supplied by user config or CRABBOX_PROVIDER.

Test scope, expected duration, and hydration failures do not select a provider. Override the resolved provider only when the user explicitly names a different backend. If that provider cannot perform the requested test, report the blocker instead of silently selecting another backend.

Use the Crabbox wrapper for validation execution, environment lifecycle, sync, logs/results, cache inspection, and lease cleanup.

Crabbox is the transport/orchestration surface. The actual backend can be:

  • local Docker isolation: provider=local-container, lease ids like cbx_...
  • brokered AWS Crabbox: direct provider, provider=aws, lease ids like cbx_..., syncDelegated=false
  • Blacksmith Testbox through Crabbox: delegated provider, provider=blacksmith-testbox, ids like tbx_..., syncDelegated=true

The provider-specific sections below document capabilities and commands after configuration or an explicit user request has selected a backend. They are not provider-selection policy. Their validation commands intentionally omit --provider; add it only to carry out an explicit user override of the resolved configuration.

Provider identity must remain attached to a lease after creation. A lease created through the resolved configuration can keep using provider-neutral commands while that configuration is unchanged. If the user explicitly overrode the provider, or the resolved configuration has changed since the lease was created, pass the provider reported by Crabbox to every later command that targets that lease, including hydrate, rerun, desktop/WebVNC, status, inspect, SSH, and stop. This preserves resource identity; it does not select a provider for unrelated work.

Read the full file on GitHub · 860 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 860 lines · 39 tokens per session scan B 9196381cb2ad

Subscribe to this mod's changes

crabbox is a skill published in the GitHub repository openclaw/clawsweeper (1,969 stars, last pushed yesterday), licensed MIT. It adds 39 tokens to every session and 9,814 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.