Top-down grasping with axis-locked linear descent and collision-aware cuRobo planner fallback. Use when cuRobo is installed and a perceived object (OBB) must be grasped.
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.
Top-down grasping with a fast axis-locked linear descend and a
collision-aware cuRobo fallback. The primary path rises to a hover height,
translates over the target while rotating to the grasp yaw, and descends
straight down (Z-only, orientation locked) onto the object — which, unlike a
goalset planner, happily grips a flat object by simply lowering onto it. If
the straight-line solve is infeasible, the same node hands off to the cuRobo
planner, which builds a per-observation collision world and searches the whole
candidate fan for a reachable, collision-free wrist. This is the
grocery_packing grasp motion, distilled to the general single-object case.
This skill depends on the curobo tool bundle (curobo.plan_directed_linear,
curobo.plan_to_grasp_poses). cuRobo JIT-compiles CUDA extensions at install
time — build isolation must be off and CUDA_HOME must point at a toolkit
matching your torch build:
export CUDA_HOME=/usr/local/cuda
uv sync --extra curobo # (pip: pip install -e "open-robot-skills[curobo]" --no-build-isolation)
See tools/curobo/SKILL.md for the full recipe and gotchas.
curobo is deployed — clean or cluttered.curobo not deployed. Use grasping-direct-ik instead.geometry.top_down_grasp_candidates are centered on the OBB XY, so they slip
on hollow centers and miss handles. Use grasping-short-axis for elongated
handles, where the centroid is graspable but orientation is what matters.6 states, in order:
open → compute_grasp → goto_grasp → observe → close → grasped
(grasped is the success-marker noop from sg.add_exit("grasped"),
with an edge to END.)
State details:
open — type: tool, tool: "robot.open_gripper", inputs: { settle_steps: 40 }.
compute_grasp — type: tool, tool: "geometry.top_down_grasp_candidates",
inputs: { obb: Ref("in.target_obb") }. Returns
candidates: {poses: list[Se3Pose]} — a yaw fan of top-down grasps.
goto_grasp — type: script, file scripts/<sg>/grasp_descend_linear.py
from this bundle's canonical_scripts. Inputs:
grasp_pose = Ref("compute_grasp.candidates.poses.0"),
candidate_poses = Ref("compute_grasp.candidates.poses"),
target_obb = Ref("in.target_obb"), hover_z = 0.2. Rises to hover_z,
translates over the target at the grasp yaw, then Z-locked linear-descends
onto it (shallow grip near the perceived top, floored a hair above the
object base so the fingers never ram the table). On an infeasible cartesian
solve it falls back to curobo.plan_to_grasp_poses over candidate_poses.
observe — type: tool, tool: "robot.get_observation",
inputs: {}. Captures the arm state AT the grasp (post-descend, pre-close)
so ee_pose_at_grasp reflects the real TCP pose the object was gripped at.
close — type: tool, tool: "robot.close_gripper", inputs: { settle_steps: 60 }.
Edge directly from close to the grasped success marker; the subgraph's
on_error: "failed" catches any raise from goto_grasp (both paths failed).
Whether the gripper actually closed on the object is checked by the
target_held postcondition checkpoint (see ## Checkpoints), NOT by a
re-check-and-raise node (none such exists).
The subgraph publishes two cross-subgraph outputs:
ee_pose_at_grasp — the live TCP pose captured at the observe step
(which sits between the descend and close). Downstream
transporting-objects uses it to compute a drop height that accounts for
the panda hand-to-tcp offset and the held object's geometry.grasp_pose — the computed grasp pose emitted by compute_grasp,
i.e. what the descend is targeting. Distinct from ee_pose_at_grasp
(the actual EE pose at grasp time). Exposing grasp_pose lets the
checkpoint author write an output-anchored verifier like
predicate=lambda w, o: o["grasp_pose"]["position"]["z"] > 0.01 to catch
sub-table grasp poses before they cascade into a target_held=False
failure.Hard rule on the output binding: the robot.get_observation response
is an Observation { cameras: list[CameraFrame]; arms: list[ArmState] }.
There is no flat ee_pose field — the EE pose lives at
arms[0].ee_pose. The binding must therefore be exactly:
sg.set_outputs(
ee_pose_at_grasp=Ref("observe.arms.0.ee_pose"),
grasp_pose=Ref("compute_grasp.candidates.poses.0"),
)
Do not write Ref("observe.ee_pose") — that path does not exist and the
cross-subgraph binding will silently resolve to None, sending the downstream
compute_drop_pose.py into its inferior no-ee_pose_at_grasp fallback
(drop height too high, placement misses).
Cross-subgraph data flow is by name, so any downstream subgraph that
declares ee_pose_at_grasp as an input automatically receives it.
"edges": [ ..., ["close", "grasped"], ["grasped", "END"] ],
"conditional_edges": {},
"exit": { "router_field": null, "success_values": ["grasped"] },
"on_error": "failed"
The lift onto a safe carry height is handled by the next
transporting-objects subgraph (its waypoint_move script lifts before
lateral motion); do NOT add a lift step here.
For a thin/elongated target (frypan handle, screwdriver, spoon, rod) insert ONE
type: script state select_short_axis (scripts/<sg>/select_short_axis.py)
between compute_grasp and goto_grasp. Inputs:
target_obb = Ref("in.target_obb"),
candidate_poses = Ref("compute_grasp.candidates.poses"). It reorders the
candidate fan so poses whose finger-opening axis aligns with the OBB's short
horizontal axis come first (count and pose values preserved — only the ordering
changes), then wire goto_grasp's grasp_pose/candidate_poses against
Ref("select_short_axis.poses...") instead. For a deterministic,
geometry-locked single short-axis pose use the dedicated grasping-short-axis
skill instead.
| End state | Meaning |
|---|---|
grasped | Gripper has closed on the object after the descend. Route to next subgraph (typically transporting-objects). |
failed | Grasp-attempt failure: the cartesian descend AND the cuRobo planner fallback both failed (a raise to on_error). Coordinator routes to abort. Lives only in on_error — never declare a failed node. |
references/design_grasp_curobo.md — the Z-locked (fingertip-frame,
orientation-LOCK) linear descend and why it beats a blended rotate+descend.references/gripper_settle_constants.md — settle-step tunings.scripts/{grasp_descend_linear,select_short_axis}.py — canonical scripts.examples/canonical_subgraph.json (opens in a new tab)references/design_grasp_curobo.md (opens in a new tab)references/gripper_settle_constants.md (opens in a new tab)scripts/approach_above.py (opens in a new tab)scripts/build_world.py (opens in a new tab)scripts/compute_align_pose.py (opens in a new tab)scripts/grasp_descend_linear.py (opens in a new tab)scripts/plan_grasp.py (opens in a new tab)scripts/select_short_axis.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
grasping, manipulation, collision-aware, curobo, linear-descent
40 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./open-robot-skills:grasping-with-plannerfrom open-robot-skills
npx claudepluginhub graph-robots/open-robot-skills --plugin open-robot-skillsOther plugins' skills for the same job