Reset failure

From nssmd/RoboRSI · View interactive version

Reset failure is an AI agent skill from the GitHub repository nssmd/RoboRSI. After a failed beat_block_hammer episode, classify the failure mode and run a VLM-driven recovery using base tools. Each high-frequency mode gets its own DataStore label for later distillation into a learnt failure-recovery policy.

How to use this skill

Skill file

beat_block_hammer / reset_failure

The hard one. After a failed episode the world is in a **degraded but

ill-defined** state — hammer might be on the floor, gripper might be wedged,

block might be flipped.

Pipeline

  1. capture_image head_camera.
  2. Ask VLM to classify the failure into one of a fixed taxonomy (and free-form):
  1. Dispatch a recovery sub-routine per mode (each is base-tool sequence). For sim

the cheap fallback is env.reset(next_seed); for real, the recovery has to

be physical.

  1. Log the whole sequence (pre-image + classification + recovery actions + result)

into DataStore label beat_block_hammer_reset_failure_<mode>/.

Why per-mode labels

So atomic.train can train a reset-policy that handles each mode. Common modes

get more data → better recovery. Rare modes still trigger VLM until they too

accumulate enough data.

Implementation note

Currently sim falls back to env.reset(next_seed) for any mode (sim is cheap

to reset). Real-mode recoveries use the dispatch table; for now those branches

raise NotImplementedError until the corresponding base-tool sequences are written.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.