Logo vun Challenge Troubleshoot

Challenge Troubleshoot

OrganisatiounBeléift
AgibotTech
challenge-troubleshoot

Use when something in the Simulation Challenge pipeline is misbehaving — auth errors, agent disconnects, jobs stuck in Pending, jobs ending in Failed, drain frames. Maps a symptom to its likely cause and the next command to run.

Iwwersiicht

EditeurAgibotTech
Repositorygenie_sim
Skill-Nummchallenge-troubleshoot
Stären
1.4K
Forks
119
Matgeliwwert Fichieren
Nëmmen Instruktiounen
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 AgibotTech op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Challenge Troubleshoot 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/AgibotTech/genie_sim/tree/main/source/geniesim_benchmark/skills/robocoliseum/challenge-troubleshoot
  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/AgibotTech/genie_sim.git /tmp/genie_sim
mkdir -p .claude/skills
cp -r /tmp/genie_sim/source/geniesim_benchmark/skills/robocoliseum/challenge-troubleshoot .claude/skills/challenge-troubleshoot
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Challenge Troubleshoot 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 Challenge Troubleshoot automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Challenge Troubleshoot 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.

challenge-troubleshoot — Symptom → cause → next command

When the user reports a problem, do this in order:

  1. Reproduce / verify the symptom with a read-only call (/jobs, /result, /log, /current-user-info) before doing anything destructive. For "what's the status" questions, /jobs is the only endpoint that carries one.
  2. Match the symptom to the table below.
  3. Hand the user the next command from the Action column. Do NOT auto-resubmit jobs (quota cost) or auto-kill agents (loses in-flight cases) without explicit confirmation.

Diagnostic heuristic: 4xx is never a network blip

A structured {"status":"error", ...} body with HTTP 4xx (400/401/403/404) is a semantic rejection by the platform — the request reached the server and was refused on its merits. Retrying it without changing the request gets the same answer and, for POST /api/challenge/job, burns a daily submission slot each time.

Only these qualify as transient and may be retried with backoff:

  • TCP connection reset / timeout / DNS failure (curl exits non-zero before getting a response)
  • HTTP 5xx (server-side, signals a transient backend failure)

If the user says "可能是网络抖动 / maybe a network blip" but you have a 4xx body in hand, push back: name the actual error and point at the table row.

Diagnostic heuristic: 5xx is often a missing / wrong token, not a real platform outage

curl -fsS collapses any HTTP 5xx to a terse (22) The requested URL returned error: 5XX and hides the body. Before concluding the platform is down, check this in order:

  1. State file sourced? Each Bash call should start with [ -f ~/.simubotix-challenge.env ] && . ~/.simubotix-challenge.env — AI assistants spawn every command in a new subshell, so plain export from a previous call is gone.
  2. Token presence after sourcing. echo "len=${#CHALLENGE_TOKEN}" — if it's 0, either the file doesn't exist (re-run challenge-login Step 1) or the file exists but doesn't contain the key (the previous login silently failed — see challenge-login Step 1's status check).
  3. Token shape. Should be a 3-segment JWT (two dots). echo "$CHALLENGE_TOKEN" | head -c 20; echo — gibberish or null means a previous step persisted a bad value.
  4. Body of the actual response. Drop -f so curl prints the body even on non-2xx:
    bash
    [ -f ~/.simubotix-challenge.env ] && . ~/.simubotix-challenge.env
    curl -sS -i "$BASE_URL/api/challenge/current-user-info" \
      -H "Authorization: Bearer $CHALLENGE_TOKEN" | tail -15
    The body usually says exactly what's wrong (often a 401-style message returned with a 500 status code).

Only after the token is confirmed valid (e.g. the same value just succeeded against /login) should you treat the 5xx as a real platform issue and retry with backoff.

Symptom table

#SymptomLikely causeAction
1POST /api/challenge/job returns HTTP 400 invalid board / no task templates for boardconfig.board is missing or not in the currently-supported setToday the supported values are instruction (default), spatial, manip, robust. Use one of those and resubmit. Do not retry the same wrong board — 400 is a semantic rejection, retrying burns a daily submission slot each time. This holds even when the user says "maybe a network blip" — see the heuristic above. If a contestant insists a new board exists, verify with the organizers first; challenge-submit-job Step 2 is the only list to trust.
2POST /api/challenge/job returns an "upload limit" error / /api/challenge/submission/quota returns remaining: 0Today's submission quota is used upWait until Beijing midnight (UTC+8), or work with an existing job. Report the actual used / limit from the endpoint — don't quote a cap from memory.
3Any plain HTTP /api/challenge/* call (login, result, log, job, tunnel-endpoint) returns 401Invalid / expired CHALLENGE_TOKENchallenge-login Step 3 to refresh; if refresh also 401s, fall back to Step 1 (email + password). This only affects the plain HTTP APIs — it does not touch a JOB_TOKEN-based tunnel dial.
3bThe WS handshake (GET /api/challenge/tunnel) returns 401When dialing with JOB_TOKEN (the default per challenge-run-agent), the handshake does not 401 on token expiry — job_tokens don't expire. A 401 here means the ?job= UUID is not owned by this account, the job is in a terminal state, or the ?job= doesn't match the job the token was issued for. If still dialing with CHALLENGE_TOKEN (no JOB_TOKEN available, e.g. an older platform build), a 401 can additionally mean the login token itself expiredVerify JOB_UUID / ?job= came from this account's POST /api/challenge/job and that the job isn't terminal. Only if dialing with CHALLENGE_TOKEN, also try challenge-login Step 3 to refresh.
4Agent connects, then immediately disconnectsPer-user parallelism cap exceeded — too many agents onlineReduce K in challenge-run-agent, or wait for older agents to finish.
5Job stuck at detailed_status: pending / inference_disconnected, or progress not advancing for minutesNo agent online, or all agents dropped past the 30 s windowps/check the agent processes; relaunch via challenge-run-agent if needed. queued is different — it means the cluster has no free GPU; the agent is fine and you must keep it online.
6Agent disconnected unexpectedly mid-runNetwork blipWithin the gateway-side 30 s reconnect window, tunnel.sh redials automatically with the same agent_id to resume the open session. Do not manually relaunch in that window — you'd race the automatic redial and the gateway will reject the duplicate. Past 30 s the open session is gone; resubmitting a new job costs a daily submission slot — confirm before suggesting it.
7Received drain control framePlatform finished dispatching cases and is asking for graceful shutdownLet in-flight sessions finish, close the socket, and do NOT reconnect.
8Job ends at detailed_status: failed (list status = 4)A case exhausted its retries, which kills the whole jobGET /api/challenge/job/$JOB_ID/log (see challenge-poll-result). Read failure_reason before any log text: 5/6/7/8 are platform-side teardowns, not your bug — 8 in particular means a different case was the root cause. 9 (tunnel lost) is the opposite — it usually means your agent dropped the WebSocket; check result.error for the sub-reason and see rows #5/#6 above. For 1/3/4, fetch result.stdout (usually a presigned URL, not inline text) and read the traceback. Common causes: handler exception during warmup (row #11), OOM, action-encoding mismatch. Fix the bug locally before resubmitting — resubmission costs a daily submission slot.
9/api/challenge/tunnel/endpoint returns empty stringGateway not yet readyFall back to the fixed default ws://120.92.88.78/api/challenge/tunnel; the endpoint may simply be omitted because the host never changes.
10parallelism in the job response is 0User's MaxConcurrentCases is misconfigured (not "exhausted" — exhaustion is a runtime gateway check, not a response field)Stop and surface to organizers; do not launch agents.
11Agent stuck in WARMUP, never reaches RUNNING — or the job ends Failed with a traceback referencing frame_bytes=b'' / zero-length decode in the /log outputInference handler errored on the warmup empty frameThe warmup call passes an empty frame — handlers must tolerate that (e.g. short-circuit when len(frame_bytes) == 0 and return a no-op action). Fix in the inference repo, then resubmit (mind quota).
12tunnel.sh exits with code 1 immediatelyBad arguments / handler import failure / reconnect retries exhaustedRe-check <gpu_index> <job_uuid> <gateway_url> argument order; check inference-repo handler import path.
13tunnel.sh exits with code 130Ctrl-CExpected; user-driven.
14POST /api/challenge/job returns HTTP 400 paper_link is not a valid URL / paper_link too longOptional paper_link field is malformed or > 512 charsFix the URL or omit the field entirely; resubmit. Consumes a submission slot only if the call gets past validation.

Diagnostics shortlist

Run these in order when triaging an unclear failure:

bash
# 1. Token still valid?
curl -fsS "$BASE_URL/api/challenge/current-user-info" \
  -H "Authorization: Bearer $CHALLENGE_TOKEN" | jq

# 2. Job exists, what status? (status lives on the LIST — /result has no status field)
curl -fsS "$BASE_URL/api/challenge/jobs?page=1&per-page=100" \
  -H "Authorization: Bearer $CHALLENGE_TOKEN" \
  | jq -c --argjson id "$JOB_ID" '.items[] | select(.id == $id)
          | {id, status, detailed_status, progress, score}'

# 3. If detailed_status == failed, get the log (read failure_reason first)
curl -fsS "$BASE_URL/api/challenge/job/$JOB_ID/log" \
  -H "Authorization: Bearer $CHALLENGE_TOKEN" | jq

# 4. Scores, once terminal
curl -fsS "$BASE_URL/api/challenge/job/$JOB_ID/result" \
  -H "Authorization: Bearer $CHALLENGE_TOKEN" | jq

# 5. Gateway endpoint sane?
curl -fsS "$BASE_URL/api/challenge/tunnel/endpoint" \
  -H "Authorization: Bearer $CHALLENGE_TOKEN"

$JOB_ID must be the numeric id; the UUID belongs only to the tunnel dial. Passing a UUID to these paths yields 400 invalid job_id, which curl -fsS hides behind a bare exit code 22.

Things NOT to do

  • The website/API domain is robocoliseum.ai, but the gateway host is fixed at 120.92.88.78 and is a separate host: BASE_URL=https://robocoliseum.ai, TUNNEL_ENDPOINT=ws://120.92.88.78/api/challenge/tunnel. Do not "fix" the tunnel URL by swapping in the website domain. Prefer a tunnel_endpoint from the job response if present, but the fixed default is a safe fallback.
  • Do not reconnect after a drain — the platform is finishing up, and the connection will be rejected.
  • Do not spam POST /api/challenge/job to "retry" — each call consumes one of the day's submission slots. Remaining quota is not authorization to guess (e.g. guessing a board because "quota 还有"). Skill rules forbid the guess itself, independent of remaining slots.
  • Do not state the daily cap from memory. Read GET /api/challenge/submission/quota and quote its limit / used / remaining; the limit is a platform setting and has changed before.
  • Do not kill running agents to "free a slot" without checking the job list first; you may be killing the agent that's about to finish your last case.
  • Do not retry a 4xx as if it were a network blip — see the diagnostic heuristic at the top of this file.
  • Do not poll /result for status — it returns only {tasks, total}. A loop that branches on .status there never terminates. Use detailed_status from GET /api/challenge/jobs.

Reference

For the WS wire protocol (dial, control frames, binary frame layout, state machine, reconnect, heartbeat), see the appendix of challenge-run-agent — it is inlined there in full. Most contestants don't need it; ./scripts/tunnel.sh from the inference repo already implements it. For the observation/action payload schema inside the data frames, see challenge-inference-protocol.

Heefeg gestallte Froen

Wat mécht de KI-Skill Challenge Troubleshoot?

Use when something in the Simulation Challenge pipeline is misbehaving — auth errors, agent disconnects, jobs stuck in Pending, jobs ending in Failed, drain frames. Maps a symptom to its likely cause and the next command to run.

Firwat Challenge Troubleshoot op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Challenge Troubleshoot 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 Challenge Troubleshoot an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/AgibotTech/genie_sim/tree/main/source/geniesim_benchmark/skills/robocoliseum/challenge-troubleshoot 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 Challenge Troubleshoot 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 Challenge Troubleshoot benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Challenge Troubleshoot 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 Challenge Troubleshoot gratis?

De Skill gëtt vum AgibotTech op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. 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 👇