RoboSkillHub
Catalog / Skills
skill

classifying-failure-type-vlm

Classifies why a manipulation step failed from camera frames taken before, during (optional, a short video as frames) and after it - asks a VLM RoboFAC's failure questions (detection, its six failure types, explanation, high- and low-level correction) together with a routing class and exits on the class - missed_grasp, slipped, wrong_object, misaligned, collision_or_stuck, incomplete, or no_failure - with the VLM's explanation and correction. Use when a graph knows (or suspects) a step went wrong and must pick the recovery that fits the cause, with only cameras, after capturing a robot.get_observation before the step.

Kind
Skill · judge: decides whether the task is done
Robots
any robot
Tasks
pick-place failure-detection
Takes
before Observation, task string, step string
Gives
failed bool, failure_class string, robofac_type string, misalignment string, explanation string, correction string, low_level_correction string
Calls
vlm
Robot tools
robot.get_observation
License
MIT
Source
source on GitHub · SKILL.md · upstream code · https://arxiv.org/abs/2505.12224 · v0.1.0

Exits

What the skill reports when it ends; a policy branches on these.

no_failure The VLM said the step succeeded (AFTER shows its intended result); the class is ignored.
missed_grasp The gripper closed but the object is not in it - closed beside it or on air, or pushed it away.
slipped The object was held at some point and is no longer in the hand - slipped or fell while lifting or carrying.
wrong_object The robot grasped, moved or holds an object other than the one the task names.
misaligned The right object, the step carried out, but the object or hand ended offset or turned from its target (placed beside the box, tilted); `misalignment` is translation / rotation when RoboFAC's type says which.
collision_or_stuck The hand or the object ran into something (a wall, a fixture, another object, the table) and stopped or jammed.
incomplete The step stopped short or part of it was never done, with no collision and no wrong object.
no_verdict No camera has RGB in both BEFORE and AFTER, vlm.query raised, the reply had no JSON, no success verdict, or a failure with neither a class nor a RoboFAC type that maps to one.

Scripts

classify_failure_vlm

Use it

Take this bundle (and the tools it calls) into a registry for your task, then point your policy generator at it:

git clone https://github.com/runtime-si/RoboSkillHub
cd RoboSkillHub && uv sync
uv run --no-sync roboskillhub search "classifies why a manipulation step failed from camera…" --why
uv run --no-sync roboskillhub view --bundles classifying-failure-type-vlm --out my_registry

See Get started for searching by task and robot, locking what a policy uses, and fetching it on the robot.