Hierarchically detects a parent object (DINO+VLM), crops to its bounding box, then detects and segments a named subpart (DINO+SAM3) for reliable grasping of small affordances like pan handles or drawer pulls.
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.
Two-step zoom-in perception. The full image gives a small subpart (e.g. a frypan handle is ~3% of pixels) bad signal-to-noise for SAM3 text segmentation; cropping to the parent first brings the subpart up to ~30% of pixels in the cropped image — within SAM3's reliable range.
About
parent_promptandsubpart_prompt: they are literal Python strings, NOT subgraph inputs. They are author-time constants per subgraph instance. DO NOT declare them in the subgraph's top-levelinputsblock, and DO NOT writeRef("in.parent_prompt")or any otherRef(...)for them. Write the strings directly on the inner script node, e.g."parent_prompt": "frying pan", "subpart_prompt": "long horizontal handle of the frying pan". Onlycamerasis a flowed subgraph input (wired from the workflow's observation source, identical toperceiving-objects'scamerasinput).
perceiving-objects with object_name="handle" fails because
there are multiple handles in the scene (drawer pull, microwave
door, cabinet, ...) and DINO can't disambiguate.perceiving-objects is faster and
produces a cleaner OBB).observation # rgb + depth + intrinsics + camera pose
│
▼ grounding-dino.detect(rgb, parent_prompt)
parent_box (BoundingBox2D) # broadest of the boxes, or VLM-picked
│
▼ crop_rgb_to_box(parent_box, padding=30)
cropped_image # H_new × W_new × 3 uint8
│
▼ grounding-dino.detect(crop, subpart_prompt) → sam3.segment_text
cropped_mask # subpart mask in crop coordinates
│
▼ uncrop(cropped_mask → original H × W)
full_mask # H × W uint8, zeros outside crop
│
▼ geometry.mask_to_world_points(full_mask, depth, K, T_cam)
world_cloud (PointCloud)
│
▼ geometry.filter_noise → geometry.compute_obb
subpart_obb # the split calls keep the unfiltered-cloud
# fallback when DBSCAN strips too many points
perceiving-objects){
"skill": "perceiving-object-parts",
"inputs": {},
"nodes": {
"observe": {
"type": "tool",
"tool": "robot.get_observation"
},
"perceive_handle": {
"type": "script",
"script": "scripts/perceive_subpart.py",
"inputs": {
"cameras": {"$ref": "observe.cameras"},
"parent_prompt": "frying pan",
"subpart_prompt": "long horizontal handle of the frying pan",
"padding_px": 30
}
},
"found": {"type": "noop"}
},
"edges": [
["START", "observe"],
["observe", "perceive_handle"],
["perceive_handle", "found"],
["found", "END"]
],
"outputs": {
"target_obb": {"$ref": "perceive_handle.obb"},
"target_mask": {"$ref": "perceive_handle.mask"},
"target_cloud": {"$ref": "perceive_handle.cloud"},
"target_parent_obb": {"$ref": "perceive_handle.parent_obb"},
"target_parent_cloud": {"$ref": "perceive_handle.parent_cloud"}
},
"exit": {"router_field": null, "success_values": ["found"]},
"on_error": "not_found"
}
HARD RULE — do NOT add a
geometry.filter_and_compute_obbnode and bindtarget_obbto it. Unlikeperceiving-objects, this skill's script already returns a clean, noise-filtered OBB in itsobboutput (computed viageometry.filter_noise+geometry.compute_obb, with a fallback to the unfiltered cloud when DBSCAN strips a thin part belowmin_points). You MUST bindtarget_obbdirectly to{"$ref": "perceive_handle.obb"}. A redundantfilter_and_compute_obbnode re-filters an already-tiny subpart cloud — DBSCAN on a thin handle shell routinely classifies most of it as noise, collapsing the OBB — and loses the script's unfiltered-cloud fallback.
Key points:
"inputs": {} — no subgraph-level inputs.cameras is produced inside the subgraph by robot.get_observation, identical to perceiving-objects.parent_prompt and subpart_prompt are literal strings on the perceive_handle node, NOT subgraph inputs.mask is the PARENT object's mask (used for collision
isolation downstream); the subpart's own mask is the subpart_mask
output. The obb/cloud outputs ARE the subpart's.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
hierarchical-perception, subpart-detection, robotic-grasping, dino, sam3, vlm
/open-robot-skills:perceiving-object-partsfrom 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