Loop-head perception for pack-all/clean-all tasks. From one observation, localizes both the destination container and the next target item using VLM crop tournament, returning found/none for loop control.
Ships in open-robot-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The repeating head of a pack-all loop. One robot.get_observation feeds two
perceptions — the destination container and the next remaining item —
and a decide router turns the item verdict into the loop's continue/terminate
signal. It is perceiving-objects (the reliable pairwise-tournament perception)
composed with (a) a second perception for the container and (b) a clean none
exit, so a "pick up every object and place it in the basket" workflow has one
subgraph that answers "is there still an item, and where is the basket?" every
pass.
Detection uses the same pairwise VLM crop tournament as perceiving-objects
(~30% → 97% object-ID over a one-shot Set-of-Marks pick on the LIBERO-PosVar
study). The clean loop terminator comes from the item's container-excluding
object_description: once only the basket remains, the tournament + verify
gate answer "no grocery item", perceive_item returns found=False, and the
decide router emits none → the loop exits to done.
transport
routes its success edge back here), where each pass must reliably decide
"grasp the next item" vs "everything is packed, stop".container_obb/container_mask/container_cloud alongside the
target).perceiving-objects
(one target, no loop, no container co-perception).perceiving-objects subgraph for the basket + perceiving-objects-oneshot
for the looping target. This skill deliberately re-localizes both each pass
(robust to a nudged basket, one observation, one clean none).perceiving-objects for the target identity — its pairwise-tournament plus
object_description hints disambiguate look-alikes (it lacks the clean
loop none, so you would add your own decide).perceiving-objects-oneshotoneshot also has a clean not_found loop terminator, but it identifies with a
single Set-of-Marks VLM pick (weaker on small/similar items) and perceives
only the target (no container). This skill uses the pairwise tournament
and co-localizes the container, so both the "is anything left?" decision and
the downstream place are more reliable — at the cost of a second perception per
pass.
observe → exterior_view → perceive_container → filter_obb_container
→ perceive_item → decide ──found──▶ filter_obb_item ──▶ found
└──none──▶ none
See examples/canonical_subgraph.json for the exact node/edge/output wiring —
emit it verbatim, adapting only the object_name/object_description literals
to the task's items and container.
State details:
observe — type: tool, robot.get_observation, inputs: {}.exterior_view — type: script, scripts/<sg>/exterior_view.py,
inputs: {cameras: Ref("observe.cameras")}. Drops the wrist cam so the
container OBB is not bloated by the angled eye-in-hand view.perceive_container — type: script, scripts/<sg>/perceive_dino_vlm.py,
inputs: {cameras: Ref("exterior_view.cameras"), object_name: "basket"}.filter_obb_container — type: tool, geometry.filter_and_compute_obb,
inputs: {points: Ref("perceive_container.cloud")}.perceive_item — type: script, scripts/<sg>/perceive_dino_vlm.py,
inputs: {cameras: Ref("observe.cameras"), object_name: "grocery item", object_description: "…never the wicker basket…"} (the exclusion is a HARD
rule above). For SUBSET tasks (specific items only), add
reject_unverified: True and name exactly the allowed items in the
literals — see the subset-scoping HARD rule.decide — type: router, scripts/<sg>/decide_next_item.py,
inputs: {found: Ref("perceive_item.found"), cloud: Ref("perceive_item.cloud"), container_obb: Ref("filter_obb_container.obb")}. Maps
found → filter_obb_item, none → none.filter_obb_item — type: tool, geometry.filter_and_compute_obb,
inputs: {points: Ref("perceive_item.cloud")}.sg.add_exit("found")
sg.add_exit("none")
sg.set_exit(success_values=["found", "none"]) # BOTH are clean exits
sg.set_on_error("perception_failed")
sg.set_outputs(
target_obb=Ref("filter_obb_item.obb"),
target_mask=Ref("perceive_item.mask"),
container_obb=Ref("filter_obb_container.obb"),
container_mask=Ref("perceive_container.mask"),
container_cloud=Ref("perceive_container.cloud"),
)
At the top level, route this subgraph's found → grasp, none → done,
perception_failed → abort.
| End state | Meaning |
|---|---|
found | A graspable item distinct from the container was localized. Route to a grasp skill. |
none | Only the container remains — all items packed. Route to done (a success, not an abort). |
perception_failed | Unexpected perception error (not "nothing left" — that is none). Route to abort. Lives only in on_error. |
scripts/perceive_dino_vlm.py — the pairwise-tournament perception (shared with perceiving-objects).scripts/decide_next_item.py — the unprivileged loop router: per-pass VLM
all-packed check (primary stop) + same-target no-progress guard + perception
verdict; sim.check_success is telemetry only (GAP_DECIDE_TRUST_ENV=1 opts
into trusting it on benchmarks).scripts/exterior_view.py — wrist-cam drop for a clean container OBB.prompts/vlm_pairwise.md — the pairwise-tournament VLM prompt template.examples/canonical_subgraph.json (opens in a new tab)prompts/vlm_pairwise.md (opens in a new tab)references/geometry_calling_conventions.md (opens in a new tab)references/perception_pipeline_invariants.md (opens in a new tab)scripts/decide_next_item.py (opens in a new tab)scripts/exterior_view.py (opens in a new tab)scripts/perceive_dino_vlm.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/open-robot-skills:perceiving-next-itemfrom open-robot-skills
npx claudepluginhub graph-robots/open-robot-skills --plugin open-robot-skills40 skills in this plugin
/anchoring-a-free-endPins one end of a cable with the support hand before any crossing is attempted — asks the support-hand planner for the anchor grasp as joint-space legs, refuses it when its worst IK error is past the limit, streams the legs, closes the jaws to the plan's own width and dwells for the fingers' travel, and carries the solved chain and grasp orientation out on the exit so later pay-outs seed from them. Use when a deformable linear object must be held at one end so a sideways pull bends it instead of dragging the whole thing./computing-feature-mating-posesComputes approach, engaged, and mate TCP poses from a held feature in the hand and a fixture feature, resolving free mate symmetries from the current robot pose without executing motion. Use when a held loop must go over a shaft or hook, or a held shaft or tip must enter an aperture, and explicit approach, engaged, and mate poses are needed for planning./curoboNVIDIA cuRobo motion planning — collision-free trajectories to grasp goalsets, transport with an attached object, constrained linear moves, single-pose planning, geometric IK, batch grasp feasibility, and joint-trajectory collision validation. Use when a workflow needs GPU-accelerated, collision-aware arm motion plans.Other plugins' skills for the same job