Install
openclaw skills install crunch-competeUse when working with Crunch competitions - setting up workspaces, exploring quickstarters, testing solutions locally, or submitting entries.
openclaw skills install crunch-competeGuides users through Crunch competition lifecycle: setup, quickstarter discovery, solution development, local testing, and submission.
venv module (included in standard Python)pip for package installationThis skill installs Python packages from PyPI into isolated virtual environments:
| Package | Source | Purpose |
|---|---|---|
crunch-cli | PyPI | CrunchDAO competition CLI (setup, test, submit) |
jupyter | PyPI | Notebook support (optional) |
ipykernel | PyPI | Jupyter kernel registration (optional) |
Competition SDKs (e.g. crunch-synth, birdgame) | PyPI | Competition-specific libraries (varies) |
Agent rules for package installation:
--index-url overrides, no .whl files from unknown sources/competitions/<competition>/submit), and copies their token--token <TOKEN> during crunch setup.crunch/ config directory. All subsequent commands (crunch test, crunch push, crunch download) authenticate automatically — no need to pass the token againcrunch update-token inside the project directory to refresh itAgent rules for tokens:
--token <TOKEN> placeholder in examples shown to user)crunch setup call requires the user to supply oneapi.github.com (public repo, no auth needed)| Operation | Requires network | Endpoint |
|---|---|---|
crunch setup | Yes | hub.crunchdao.com |
crunch push | Yes | hub.crunchdao.com |
crunch download | Yes | hub.crunchdao.com |
crunch test | No | Local only |
crunch list | Yes | hub.crunchdao.com |
pip install | Yes | pypi.org |
| Quickstarter browsing | Yes | api.github.com |
Each competition needs its own virtual environment (dependencies can conflict).
mkdir -p ~/.crunch/workspace/competitions/<competition>
cd ~/.crunch/workspace/competitions/<competition>
python -m venv .venv && source .venv/bin/activate
pip install crunch-cli jupyter ipykernel --upgrade --quiet --progress-bar=off
python -m ipykernel install --user --name <competition> --display-name "Crunch - <competition>"
# Get token from: https://hub.crunchdao.com/competitions/<competition>/submit
crunch setup <competition> <project-name> --token <TOKEN>
cd <competition>-<project-name>
For competition-specific packages and full examples, see references/competition-setup.md.
crunch list # List competitions
Read the quickstarter code (main.py or notebook) and competition's SKILL.md/README.md. Provide walkthrough covering: Goal, Interface, Data flow, Approach, Scoring, Constraints, Limitations, Improvement ideas.
Analyze current approach, cross-reference competition docs (SKILL.md, LITERATURE.md, PACKAGES.md), generate concrete code suggestions:
crunch test # Test solution locally
crunch test # Always test first
crunch push -m "Description" # Submit
| User says | Action |
|---|---|
what competitions are available | crunch list |
show quickstarters for <name> | Fetch from GitHub API |
set up <competition> | Full workspace setup |
download the data | crunch download |
get the <name> quickstarter | crunch quickstarter --name |
explain this quickstarter | Structured code walkthrough |
propose improvements | Analyze and suggest code improvements |
test my solution | crunch test |
compare with baseline | Run both, side-by-side results |
submit my solution | crunch push |
main.py (default for crunch push/crunch test)resources/ directory