RoboSkillHub
Catalog / Skills
skill

perceiving-next-item

Loop-head perception for pack-all / clean-all-items tasks. From ONE observation it localizes BOTH the destination container (basket, bin, box) AND the next remaining target item, using the pairwise VLM crop tournament with a container-excluding description so the target is never confused with the basket, then makes a clean found / none decision: an item was found (grasp it) or only the container remains (all items packed — exit the loop to done). Use when a workflow must pick up EVERY object and place each into a container in a loop (pack-all / clean-all-items) and each pass must reliably answer "is there still a graspable item, or are we done?" while also exposing a fresh container OBB for the downstream place. This subgraph is self-contained and takes NO inputs (inputs: {}); the container and item phrases are literal strings written inside the perception nodes, never subgraph parameters — do not declare item_name / container_name / item_description as subgraph inputs.

Kind
Skill · perceive: finds and measures things in the scene
Robots
any robot, tuned on panda
Tasks
pick-place sorting
Takes
nothing
Gives
target_obb OrientedBoundingBox, target_mask Mask, container_obb OrientedBoundingBox, container_mask Mask, container_cloud PointCloud
Calls
geometry, grounding-dino, sam3, vlm
Robot tools
robot.get_observation
License
MIT
Source
source on GitHub · SKILL.md · upstream code · v0.1.0

Exits

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

found A graspable target item distinct from the container was localized; target_obb/mask and container_obb/mask/cloud bound in the subgraph outputs. Route to a grasp skill.
none No target item remains — only the container is left, so every item is packed. This is the clean loop terminator; route to done (NOT abort — it is a success).
perception_failed Perception raised an actual error (empty detection is NOT this — that is the normal `none` path). Route to abort. Named so it is never confused with "nothing left"; do NOT route it to done.

Scripts

perceive_dino_vlm, exterior_view, decide_next_item

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 "loop-head perception for pack-all / clean-all-items tasks" --why
uv run --no-sync roboskillhub view --bundles perceiving-next-item --out my_registry

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