Beat block hammer

From nssmd/RoboRSI · View interactive version

Beat block hammer is an AI agent skill from the GitHub repository nssmd/RoboRSI. Pick up a toy hammer with one arm, tap its head onto a coloured block's functional point. Dual-arm tabletop.

How to use this skill

Skill file

beat_block_hammer (atomic)

Scene

Tabletop, dual-arm robot (default aloha-agilex). Two objects:

Goal

Drop the hammer head onto the block's top. RoboTwin's check_success is the authoritative predicate.

Arm-selection rule

If block.x < 0 → left arm. Else → right arm. Other arm idle.

Lifecycle (4 sub-skills)

| sub-skill | what it does |

|---|---|

| zeroshot/ | VLM drives base tools (look / find_pixel / move_to_pixel / set_gripper). Successful runs land in DataStore as cold-start data. |

| train/ | π₀.5 finetune on accumulated successes. Streaming. |

| eval/ | Held-out seed eval, maintains active_executor state — switches from zeroshot to policy:<ckpt> once threshold crossed. |

| reset_success/ | Post-success scene reset — for sim, calls env.reset(new_seed). For real, uses base tools to nudge objects back. |

| reset_failure/ | Failure-case recovery — VLM-driven via base tools; high-frequency cases land in <task>_reset_failure_<mode>/ for later policy distillation. |

Why this task is the worked example

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.