← 返回 Skills 市场
philippwassibauer

Crunch Compete

作者 philippWassibauer · GitHub ↗ · v0.1.2
cross-platform ✓ 安全检测通过
759
总下载
2
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install crunch-compete
功能描述
Use when working with Crunch competitions - setting up workspaces, exploring quickstarters, testing solutions locally, or submitting entries.
使用说明 (SKILL.md)

Cruncher Skill

Guides users through Crunch competition lifecycle: setup, quickstarter discovery, solution development, local testing, and submission.

Prerequisites

  • Python 3.9+ with venv module (included in standard Python)
  • pip for package installation

Package Installation

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

  • Always use a virtual environment — never install into system Python
  • Only install known packages listed above or referenced in competition docs (PACKAGES.md)
  • Ask the user before installing any package not listed here
  • All packages are from PyPI — no custom URLs, no --index-url overrides, no .whl files from unknown sources

Credentials

Submission Token (required for setup & submit)

  • How to get: User logs into CrunchDAO Hub, navigates to the competition's submit page (/competitions/\x3Ccompetition>/submit), and copies their token
  • How it's used: Passed once via --token \x3CTOKEN> during crunch setup
  • Persistence: After setup, the CLI stores the token in the project's .crunch/ config directory. All subsequent commands (crunch test, crunch push, crunch download) authenticate automatically — no need to pass the token again
  • If token expires: Run crunch update-token inside the project directory to refresh it

Agent rules for tokens:

  • Always ask the user to provide the token — never assume, guess, or reuse tokens from other projects
  • Never write tokens into source files, scripts, notebooks, or any committed file
  • Never log or echo tokens in shell output (use --token \x3CTOKEN> placeholder in examples shown to user)
  • Tokens are user-specific and project-scoped — each crunch setup call requires the user to supply one

GitHub API (optional, unauthenticated)

  • Used only for browsing quickstarter listings via api.github.com (public repo, no auth needed)
  • Rate-limited to 60 requests/hour per IP; sufficient for normal use

Network Access

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

Quick Setup

Each competition needs its own virtual environment (dependencies can conflict).

mkdir -p ~/.crunch/workspace/competitions/\x3Ccompetition>
cd ~/.crunch/workspace/competitions/\x3Ccompetition>
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 \x3Ccompetition> --display-name "Crunch - \x3Ccompetition>"

# Get token from: https://hub.crunchdao.com/competitions/\x3Ccompetition>/submit
crunch setup \x3Ccompetition> \x3Cproject-name> --token \x3CTOKEN>
cd \x3Ccompetition>-\x3Cproject-name>

For competition-specific packages and full examples, see references/competition-setup.md.

Core Workflow

1. Discover

crunch list                    # List competitions

2. Explain

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.

3. Propose Improvements

Analyze current approach, cross-reference competition docs (SKILL.md, LITERATURE.md, PACKAGES.md), generate concrete code suggestions:

  • Model: mixture densities, NGBoost, quantile regression, ensembles
  • Features: volatility regimes, cross-asset correlation, seasonality
  • Architecture: online learning, Bayesian updating, horizon-specific models

4. Test

crunch test                    # Test solution locally

5. Submit

crunch test                    # Always test first
crunch push -m "Description"   # Submit

Phrase Mapping

User says Action
what competitions are available crunch list
show quickstarters for \x3Cname> Fetch from GitHub API
set up \x3Ccompetition> Full workspace setup
download the data crunch download
get the \x3Cname> 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

Important Rules

  • Entrypoint must be main.py (default for crunch push/crunch test)
  • Model files go in resources/ directory
  • Respect competition interface and constraints (time limits, output format)
  • Ask before installing new packages

Reference

安全使用建议
This skill appears coherent for Crunch competition workflows, but take these practical precautions before installing or letting an agent run it: 1) Only install crunch-cli and competition SDKs after confirming their source (review the package/project on PyPI/GitHub) — pip packages run code at install time. 2) Use the recommended virtualenvs and do not install into system Python. 3) Be aware the submission token you provide will be stored in the project's .crunch/ directory; review its contents and file permissions and rotate the token if you later suspect compromise. 4) Follow the skill's rule to approve any additional packages before installation (don’t allow silent auto-install of arbitrary PyPI packages). 5) If you want lower risk, perform installation and the first crunch setup yourself locally rather than granting the agent autonomous permission to run install/setup commands.
功能分析
Type: OpenClaw Skill Name: crunch-compete Version: 0.1.2 The skill bundle is designed for interacting with CrunchDAO competitions, providing instructions for setting up environments, installing packages, and using the `crunch-cli`. The `SKILL.md` explicitly defines agent rules for secure package installation (only PyPI, virtual environments, user confirmation for unlisted packages) and token handling (never log, store in source, or assume tokens). Network access is limited to legitimate CrunchDAO, PyPI, and GitHub API endpoints. There are no indications of prompt injection attempts to manipulate the agent into malicious actions, data exfiltration, persistence, or unauthorized execution. All commands and instructions align with the stated purpose of managing competition workflows.
能力评估
Purpose & Capability
The name/description (Crunch competitions: setup, test, submit) matches the SKILL.md: it directs use of the crunch-cli, creating per-competition venvs, testing locally, browsing quickstarters, and submitting. There are no unrelated required binaries, env vars, or config paths in the registry metadata that would be out of scope.
Instruction Scope
Runtime instructions stay within the competition workflow: creating venvs, pip installing Crunch-related packages from PyPI, running crunch commands, and using the Crunch hub and GitHub API. The skill explicitly requires the user to supply the submission token interactively and instructs the agent to ask before installing unknown packages and not to log tokens. There is no instruction to read unrelated system files or exfiltrate data to unexpected endpoints.
Install Mechanism
This is an instruction-only skill (no install spec). It recommends installing packages from PyPI into isolated virtualenvs and forbids custom URLs or wheel files from unknown sources. Instruction-only status keeps disk-write/install risk low; pip-from-PyPI in a venv is the expected mechanism for this purpose.
Credentials
The registry declares no required env vars or primary credential, which aligns with the skill being interactive. The SKILL.md does require a user-supplied submission token passed via CLI (not an env var) and documents that the CLI will persist it under the project's .crunch/ config. This is expected for a submit workflow but warrants user awareness because persisted tokens on disk are sensitive and depend on the CLI's storage practices.
Persistence & Privilege
always:false and no system-level installs are requested. The skill creates per-project files/venvs and relies on the crunch-cli to store the token under the project's .crunch/ directory — normal for this use case and not an elevation of agent privileges or modification of other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install crunch-compete
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /crunch-compete 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
- Added detailed prerequisites, package installation rules, and network requirements. - Clarified handling and security of CrunchDAO submission tokens. - Expanded explanation of isolated virtual environments and allowed packages. - Documented all web endpoints used and when network access is needed. - Updated setup instructions to use standard Python venv instead of `uv venv`. - No breaking changes to commands or workflow.
v0.1.1
- Clarified that a pre-configured local ML Engineer environment is assumed. - Removed the prerequisites section for Python environment setup via uv. - No changes to workflows or commands; documentation reworded for clarity. - Reference links and example pointers remain unchanged.
v0.1.0
Initial release of crunch-compete skill: guides users through all stages of participating in Crunch competitions. - Introduces a complete workflow for setting up competition workspaces, managing Python environments, and using crunch-cli tools. - Details requirements and installation steps, including use of `uv` for environment isolation. - Documents core workflow: discovering competitions, quickstarters, proposal of improvements, local testing, and submission process. - Provides user phrase mapping to automate routine tasks. - Outlines important rules and references for smooth competition participation.
元数据
Slug crunch-compete
版本 0.1.2
许可证
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Crunch Compete 是什么?

Use when working with Crunch competitions - setting up workspaces, exploring quickstarters, testing solutions locally, or submitting entries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 759 次。

如何安装 Crunch Compete?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install crunch-compete」即可一键安装,无需额外配置。

Crunch Compete 是免费的吗?

是的,Crunch Compete 完全免费(开源免费),可自由下载、安装和使用。

Crunch Compete 支持哪些平台?

Crunch Compete 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Crunch Compete?

由 philippWassibauer(@philippwassibauer)开发并维护,当前版本 v0.1.2。

💬 留言讨论