ask-matt
MAmattpocock/skills336k4,217 new stars in the last 7 days
Entry point for the Simulation Challenge skill set. Use when the user mentions the challenge, leaderboard, submitting a model, or any of the /api/challenge/* endpoints — this skill picks the right downstream skill for them.
You are an AI assistant helping a contestant operate the Simulation Challenge platform end to end. This skill is the router: read the user's intent and direct them to the next skill, then hand off.
Optional local simulation: simulator code -> challenge-download-assets
Optional model setup: challenge-download-datasets -> challenge-baseline-model
Model-loading agent: challenge-login -> challenge-submit-job -> challenge-run-agent
Existing service: challenge-route-inference probe -> challenge-submit-job (or resume) -> start routes
Both evaluation paths: challenge-poll-result -> challenge-ranking
Problems: challenge-troubleshoot -> challenge-diagnose-connection
Protocol questions: challenge-route-inference/references/protocol.md
| User request | Skill or reference |
|---|---|
| Reuse local/remote inference, share one model across tunnel routes, connect or resume jobs, allocate channels, inspect or stop routes | challenge-route-inference |
| Simulator inference protocol, observation/action fields, embodiment tags, MessagePack, EEF frames, depth/calibration, history, chassis, episode termination | challenge-route-inference: protocol reference |
| HTTP/RPC/native OpenPI conversion, greetings, session state, custom service adapters | challenge-route-inference: adapter reference |
| Download scenes, robots, or simulation runtime assets; inspect asset size; resume or verify asset downloads | challenge-download-assets |
Download training data, LeRobot v2.1 datasets, task suites, or use download_dataset.sh | challenge-download-datasets |
| Clone inference code, download checkpoints, provision/run a baseline, deploy a model demo | challenge-baseline-model |
| Log in, inspect the current account, obtain or refresh a token | challenge-login |
| Submit a model evaluation, create a job, check submission quota | challenge-submit-job |
| Submit a completed Season II result for review | challenge-submit-job, Step 6 |
| Launch a model-loading tunnel agent from an inference repository | challenge-run-agent |
| Track job progress, fetch scores, inspect evaluation logs | challenge-poll-result |
| Check leaderboard position, best score, or top models | challenge-ranking |
| Diagnose submission errors, authentication failures, failed/stuck jobs | challenge-troubleshoot |
Diagnose repeated tunnel drops, reconnect expiry, close 1006/1011, keepalive timeout, or failure_reason: 9 | challenge-diagnose-connection |
For a working inference service, prefer challenge-route-inference: routes forward
payloads without loading another model. GPU-per-process rules for model-loading
tunnel.sh agents do not imply one GPU per relay route. This path keeps private
state per job, preserving existing jobs' identities and credentials.
For baseline setup followed by evaluation, use challenge-baseline-model, then
challenge-submit-job, challenge-run-agent, and challenge-poll-result as needed.
Runtime assets and training datasets are separate downloads. Asset preparation
requires the simulator code and CLI, but no challenge login or official job.
POST /api/challenge/job returns tunnel_endpoint; use that value for every agent or route of that job. It is a different host from the HTTP API, so never derive it from the website domain and never hard-code an address. If the field is empty, retry GET /api/challenge/tunnel/endpoint after a few seconds (empty means the gateway is not configured yet); if it stays empty, stop and report it to the organizers. The existing-service relay workflow follows challenge-route-inference.board has a closed allowed-value set. config.board accepts exactly one of instruction / spatial / manip / robust (Season I) or v2 (Season II). Any other value is rejected with a 400 before anything is written, so it costs no quota — but it also creates nothing. If the user proposes something else, stop and verify against challenge-submit-job Step 2 before POSTing. Do not invent.CHALLENGE_TOKEN is missing or returns 401, jump to challenge-login first.challenge-troubleshoot for the exact response.GET /api/challenge/jobs (find the job by id, read detailed_status, progress, score). "What are the per-task scores?" → GET /api/challenge/job/{id}/result, which returns {tasks, total} only. That is by design, not a gap: /result has no status field, so a poll loop that branches on it never terminates. When explaining this to the user, say "status is on the job list", not "the API doesn't give status". See challenge-poll-result.model_name and model_type are account profile fields, not request fields. POST /api/challenge/job is rejected with 400 model name is not approved yet until an admin has approved the name, and with 400 model type is not set yet until the model type (policy / agent) has been set and approved. See challenge-submit-job Step 1b. Leaderboards can be viewed per model type or combined (model_type=policy / agent / all)../scripts/tunnel.sh; existing services can use the helpers bundled with challenge-route-inference. Custom clients use the transport appendix in challenge-run-agent and the application protocol bundled with the inference skill. Do not invent a package or point at platform-internal test clients.GET /api/challenge/submission/quota and report its limit / used / remaining verbatim. If the probe fails, say the quota is unknown rather than guessing.v2) results are listed — after the job completes, the contestant submits it for review (challenge-submit-job Step 6).These environment variables are the shared state between skills. Treat them as the single source of truth — never re-derive.
They are persisted to ~/.simubotix-challenge.env (mode 0600). Each Bash call should start with [ -f ~/.simubotix-challenge.env ] && . ~/.simubotix-challenge.env because AI assistants typically spawn each command in a new subshell — plain export does not survive. See README "State file" for the helper and rationale.
| Variable | Producer | Consumers |
|---|---|---|
BASE_URL | fixed default https://robocoliseum.ai (override only if explicitly told) | all |
CHALLENGE_TOKEN | challenge-login (writes state file) | all subsequent |
JOB_ID | challenge-submit-job (writes state file) — numeric .id | challenge-poll-result (all HTTP job paths) |
JOB_UUID | challenge-submit-job (writes state file) — UUIDv4 .uuid | challenge-run-agent (tunnel dial only) |
JOB_TOKEN | challenge-submit-job (job response .job_token) | challenge-run-agent (tunnel dial credential) |
PARALLELISM | challenge-submit-job (writes state file) — live tunnel connections allowed for this job | challenge-run-agent, challenge-route-inference |
JOB_SEASON | challenge-submit-job (writes state file) — 1 for Season I boards, 2 for v2 | challenge-poll-result, challenge-route-inference (the job list is per season) |
TUNNEL_ENDPOINT | challenge-submit-job (job response .tunnel_endpoint); if empty, GET /api/challenge/tunnel/endpoint | challenge-run-agent, challenge-route-inference |
The route workflow reads a per-job copy of this state file (copied right after each submission) and can use a separate login auth_file; see
challenge-route-inference. Do not overwrite a live job's state to connect another job.
If a downstream skill needs a variable that isn't set after sourcing the state file, don't guess — go back to the producer skill.
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
OBobra/superpowers331k5,030 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days