ASPIRE: Skill for Claude Code

.claude/skills/iterative-debugging/SKILL.md

iterative-debugging is a skill for Claude Code from NVlabs/ASPIRE. It costs 81 tokens per session (1,119 once invoked), scanned A, original, Apache-2.0.

A step-by-step debugging process for robot benchmark tasks. It runs a task, examines the recorded result, fixes the generated code, and checks the result on separate evaluation scenes.

In plain words
What is it for?
Use it to debug tabletop robot tasks in LIBERO-Pro or Robosuite and evaluate the resulting skill library on held-out benchmark cases.
Why use it?
It replaces guesswork with a repeatable loop for finding failures and checking whether fixes work beyond the scenes used during development.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions subagents.

This is NVlabs/ASPIRE's own configuration. It tells Claude Code how to work on ASPIRE itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ASPIRE configures →

Reuse

Borrowing it

Nothing to install: this file belongs to NVlabs/ASPIRE. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/NVlabs/ASPIRE/main/.claude/skills/iterative-debugging/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/NVlabs/ASPIRE

Made for: Claude Code.

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 iterative-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvlabs/aspire/iterative-debugging/github.svg)](https://agentmods.dev/skills/nvlabs/aspire/iterative-debugging)
Your own site
<a href="https://agentmods.dev/skills/nvlabs/aspire/iterative-debugging"><img src="https://agentmods.dev/badge/skills/nvlabs/aspire/iterative-debugging/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for iterative-debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvlabs/aspire/iterative-debugging"><img src="https://agentmods.dev/badge/skills/nvlabs/aspire/iterative-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,119 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00081 $0.01119
Opus 5.5 $0.00032 $0.00448
Sonnet 5.5 $0.00016 $0.00224
Haiku 4.5 $0.00008 $0.00112

Measured 21d ago against content hash 645502be2689, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

iterative-debugging scanned grade A with 0 findings 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 21d ago.

The scan reads SKILL.md. This mod also ships 18 executable files (behavior/score_campaign.py, robosuite/cube_lifting_fix_code.py, robosuite/cube_restack_fix_code.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/iterative-debugging/SKILL.md · 66 lines

How it starts

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

Iterative Debugging (Fix Loop)

For BEHAVIOR-1K (R1 Pro on Isaac Sim) use the sibling folder behavior/SKILL.md. It is a different protocol, not just different prompts: those tasks are long-horizon, so each seed grows its own policy one code block at a time, and the campaign freezes a skill library rather than a program. Everything below is for the tabletop benchmarks (LIBERO-Pro, Robosuite).

Use this skill to run a coordinated debugging campaign over any list of CaP benchmark tasks. No external baseline code or baseline output directory is used. Runs use the benchmark's own --init-mode (LIBERO: seeded, so development seeds 51–65 and the held-out partition are distinct scenes; Robosuite uses saved).

Setup

  1. Complete benchmark setup for the target embodiment (docs/libero-pro.md, or docs/robosuite.md), including the pinned environment (for LIBERO: scripts/bootstrap_libero.sh → .venv-libero) and SAM3 authentication.
  2. Export the benchmark environment variables (for LIBERO: LIBERO_CONFIG_PATH="$PWD/.libero", MUJOCO_GL=egl, PYOPENGL_PLATFORM=egl, EGL_PLATFORM=device, TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1).
  3. Start perception services (scripts/supervise_services.sh) and a persistent coordinator session.
  4. Read docs/api-reference.md, docs/run-artifacts.md, and main-agent-prompt.md.

Run Order

  1. Take the task list from the user (any set of (benchmark, suite, task_id) cases), write it to a JSON file (format in scripts/gen_progress.py), and initialize the campaign root: python3 .claude/skills/iterative-debugging/scripts/init_run.py --tasks <tasks.json>. This creates RUN_ROOT=outputs/runs/<stamp>/ (and points outputs/runs/LATEST at it) — every artifact of this campaign lives under it, one folder per task at $RUN_ROOT/<benchmark>/<suite>/task_<id>/. Generate progress with python3 .claude/skills/iterative-debugging/scripts/gen_progress.py. For Robosuite, append --dev-seeds $(seq 101 125) --unseen-seeds $(seq 126 130) --heldout-count 100 to initialization. LIBERO defaults remain development 51–65, unseen-check 66–80, and held-out 1–50. Read the assigned development seeds, unseen-check seeds, and HELDOUT_COUNT from campaign.json, preserving those settings when resuming.
  2. Follow main-agent-prompt.md as coordinator. You are also the curriculum: choose each round's tasks from what the library can currently teach, and record the decision in $RUN_ROOT/curriculum.md. Dispatch subagent-prompt.md once per pending task. Workers explore (skills/task-exploration.md), generate initial code, debug the assigned development seeds without reading external baseline outputs, and grade the skills they used in skill_report.json. Debugging is organized by failure mode rather than by seed, and every version is scored on all assigned development seeds. The selected program is then measured once on the assigned unseen-check seeds (LIBERO: 66–80; Robosuite: 126–130) before being handed over.
  3. The coordinator (not workers) runs the Stage 2 held-out evaluation (seeds 1–$HELDOUT_COUNT) for each stage1-done task with scripts/run_validation.py.
  4. When a task proposes skills, dispatch verifier-prompt.md on the same task. The verifier re-solves it from the skill library and the proposals alone — without the proposer's code — on the first few assigned development seeds (LIBERO: 51–55) within two attempts. Only verified proposals are promoted into skills/.
  5. Use clean-task-slate.md before reruns.
  6. Continue until every task has all $HELDOUT_COUNT held-out results, then run the phase-3 rerun sweep once: tasks that scored below threshold under a library that has since changed are re-run against the final library, into rerun_02/ beside the original attempt.

Read the full file on GitHub · 66 lines

Files

What ships with it

39 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 21d ago First seen · 66 lines · 81 tokens per session scan A 645502be2689

Subscribe to this mod's changes

iterative-debugging is a skill published in the GitHub repository NVlabs/ASPIRE (959 stars, last pushed 22d ago), licensed Apache-2.0. It adds 81 tokens to every session and 1,119 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-17.

Related

iterative-debugging compared with skills from other repositories

iterative-debugging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
iterative-debuggingNVlabs/ASPIRESkill95922d agoApache-2.0A81Claude Code
traceYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA18Claude Code
pos-tagging-fixesspencermountain/compromiseSkill12k2d agoMITA72Claude Code, Codex
smiles-validationsynthetic-sciences/openscienceSkill4.3k2d agoApache-2.0A24Claude Code, Codex
nonlinear-solversbeita6969/ScienceClawSkill1.0kyesterdayMITA63Claude Code
numerical-stabilitybeita6969/ScienceClawSkill1.0kyesterdayMITA61Claude Code
linear-solversbeita6969/ScienceClawSkill1.0kyesterdayMITA55Claude Code