Logo de Iterative Debugging Behavior

Iterative Debugging Behavior

Organização
NVlabs
iterative-debugging-behavior

Block-by-block fix loop on BEHAVIOR-1K (R1 Pro, OmniGibson on Isaac Sim). The policy is grown one code block at a time against what the robot actually did, and what carries across seeds is a skill library, not a program. Use for the two R1 Pro pickup tasks; Stage 1 learns on seeds 26-35, Stage 2 evaluates on 1-25 with a frozen library.

Add to TypingMind

Visão geral

Publicado porNVlabs
RepositórioASPIRE
Nome da habilidadeiterative-debugging-behavior
Estrelas
838
Forks
69
Arquivos incluídos
9
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 9

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por NVlabs no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Iterative Debugging Behavior no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/NVlabs/ASPIRE/tree/main/.claude/skills/iterative-debugging/behavior
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVlabs/ASPIRE.git /tmp/ASPIRE
mkdir -p .claude/skills
cp -r /tmp/ASPIRE/.claude/skills/iterative-debugging/behavior .claude/skills/iterative-debugging-behavior
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Iterative Debugging Behavior em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Iterative Debugging Behavior automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Iterative Debugging Behavior não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Block-by-Block Fix Loop on BEHAVIOR-1K

The parent skill (../SKILL.md) writes one whole program per task, freezes it, and replays that frozen program across the held-out seeds. That protocol does not apply here. BEHAVIOR tasks are long-horizon: the robot starts in another room, cannot see the target, and must search, drive, look down and grasp. A program authored up front is guessing at every stage past the first.

So on this benchmark the policy is grown, not authored:

  1. Write one # Code block N section.
  2. Run the whole policy.py on the seed, from a fresh reset.
  3. Read what actually happened: where the base ended up, what was localized, what the hand holds.
  4. Write the next block against that observed state, and run the whole program again.
  5. Repeat until the seed succeeds or the budget is spent.

The simulator resets on every attempt. Only policy.py persists and accumulates blocks.

What carries across seeds is the skill library, not any policy. Each seed's policy.py is disposable. Stage 2 measures whether the frozen library is enough for a fresh agent to solve an unseen seed, not whether one program generalizes.

The library is shared by both tasks. It lives at $RUN_ROOT/behavior/skill-library/, above the suite directories, and a task's Stage 1 extends what the previous task left. This is a deliberate departure from ASPIRE, which keeps one library per task. The reason is that most of what a campaign learns here is about the harness, the robot and the simulator rather than about one object, and re-discovering it per task wastes a bootstrap seed each time. It also asks a more interesting question: does a library built on one task help on a different one.

It leaks nothing, because the partition is per task. Knowledge measured on the radio's seeds says nothing about a soda-can instance, so the can's evaluation seeds stay unseen.

The cost is that every entry must carry the task it was measured on, and an entry from another task is a hypothesis rather than a rule until this task's seeds confirm it.

Difference from the parentConsequence
Long horizon, target not visible at resetBlocks are written against observed state, never predicted state
The deliverable is a libraryStage 1 promotes skills after every seed; policies are disposable
Stage 2 is agenticA fresh agent per evaluation seed writes its own blocks against the frozen library
Frames: odom is fixed where the base stood at resetLocalized objects stay valid after the base drives
Episodes cost minutes, not secondsEvery attempt replays every earlier block; keep blocks lean
Isaac Sim, not MuJoCoOMNIGIBSON_* variables, one Isaac process per GPU, exit 139 after a complete run is normal, judge by outcome.json
Planning runs in-process on cuRoboMotionStrategy() already means cuRobo; PyRoKi and port 8118 are not involved
Two arms, a torso and a basebehavior.* extensions move base and torso; RobotAction moves arms

Setup

  1. scripts/bootstrap_behavior.sh --accept-dataset-tos once per machine (see docs/behavior.md); it prints the activation block.
  2. Export the Benchmark Profile block from subagent-prompt.md verbatim in every shell that runs episodes. It sets CAP_HARNESS, SERVICE_PORTS, the OMNIGIBSON_* variables, CUDA_VISIBLE_DEVICES and ulimit -c 0. Run flags are spelled out in the run command rather than held in a variable, because zsh does not word-split one.
  3. Bootstrap the two provider venvs once (scripts/bootstrap_providers.sh --providers sam3,contact_graspnet --profile rtx4090; profiles live in configs/profiles/), then start them: scripts/supervise_services.sh --providers sam3,contact_graspnet --profile rtx4090. On a single-GPU bench they share the card with Isaac (about 8 GB of VRAM together); leave PyRoKi and cuRobo services down, they are not used.
  4. Read docs/api-reference.md (the behavior.* rows), docs/behavior.md ## Semantics (the odom paragraph), docs/run-artifacts.md, and main-agent-prompt.md.

Seeds

Seeds are task-instance ids; both tasks ship 300 training instances (0-299), so every partition below is valid without any init-mode switch.

PartitionSeedsRule
Stage 1, learning26-35Build the skill library here. Never inspect an evaluation seed.
Stage 2, evaluation1-25One fresh agent per seed, empty policy, frozen library, append-only.
Free diagnostics36-50One-off probes only; never reported.

The shipped examples under examples/behavior/ were verified on seeds 1-3, which are evaluation seeds. They are API documentation, not campaign material: a campaign never reads them, and the skill library starts empty.

Campaign Layout

$RUN_ROOT/behavior/
├── skill-library/               # SHARED and cumulative across both tasks
└── <suite>/
├── campaign-state.md            # coordinator's ledger: seed, stage, attempts, outcome
├── skill-library-frozen/        # this task's read-only snapshot, taken at its freeze
├── frozen-manifest.sha256
├── stage1/seed_26 … seed_35/
│   ├── policy.py                # grows block by block
│   ├── attempts/attempt_001/ …  # one harness run directory per attempt
│   └── seed-summary.md
└── stage2/seed_01 … seed_25/    # same shape, frozen library, fresh agent each

Run Order

  1. Create the layout above for the suite you are running. If this is the first task of a campaign, seed the shared skill-library/ with the topic files from skills/ as templates only, headings without contents. If a previous task has already run, the shared library is what it left: use it as it stands, and do not reset it.
  2. Stage 1: for each seed 26 to 35 in order, dispatch one worker with subagent-prompt.md at STAGE: 1. After each seed, fold what worked into skill-library/ and record the seed in campaign-state.md.
  3. Freeze after seed 35, following main-agent-prompt.md. Nothing in the library, the prompts, the config or the protocol changes after this point.
  4. Stage 2: for each seed 1 to 25, dispatch one fresh worker at STAGE: 2 with the frozen library. No information passes between evaluation seeds.
  5. Score with ./score_campaign.py <campaign-dir>. Do NOT hand-count attempts: the unit of scoring is the final policy, and the script finds it by hashing each run's source/program.py. Exactly two numbers are reported, both per seed: success, the seed's final policy succeeded at least once; and navigation, the seed's final policy reached the object. Reliability is not reported. Development attempts ran earlier programs with no grasp block and are excluded entirely. See Scoring in main-agent-prompt.md.
  6. Use clean-task-slate.md before reruns.
  7. Promote findings into this folder's skills/ files only between campaigns, never during Stage 2.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Iterative Debugging Behavior faz?

Block-by-block fix loop on BEHAVIOR-1K (R1 Pro, OmniGibson on Isaac Sim). The policy is grown one code block at a time against what the robot actually did, and what carries across seeds is a skill library, not a program. Use for the two R1 Pro pickup tasks; Stage 1 learns on seeds 26-35, Stage 2 evaluates on 1-25 with a frozen library.

Por que usar Iterative Debugging Behavior no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Iterative Debugging Behavior é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Iterative Debugging Behavior no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/NVlabs/ASPIRE/tree/main/.claude/skills/iterative-debugging/behavior. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Iterative Debugging Behavior?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Iterative Debugging Behavior?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Iterative Debugging Behavior com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Iterative Debugging Behavior é gratuita?

Sim. A habilidade é publicada no GitHub por NVlabs sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇