RoboSkillHub
Catalog / Skills
skill

executing-keypoint-motion

Plans and executes a one-step manipulation from a language instruction with MOKA's mark-based visual prompting - candidate keypoints on the named objects and a lettered waypoint grid are drawn on the overhead image, a VLM picks the grasp point, the function point, the target point and the pre/post-contact waypoint tiles and heights, depth makes them world points, and the arm grasps the object at the grasp point (or closes its hand) and carries the function point through pre-contact, target and post-contact. Use when a short instruction such as "push the cube to the right", "press the button", "sweep the cable aside with the stick" or "put the plug on the board" must become one motion without a task-specific skill, with a calibrated overhead RGB-D camera and a hand that is empty.

Kind
Skill · plan: plans motions or orders steps
Robots
any robot
Tasks
tool-use pick-place
Takes
observation Observation, instruction str
Gives
final_function_point Vec3, hand_offset Vec3, held bool
Calls
gemini-er, sam3, vlm
Robot tools
robot.close_gripper, robot.get_ee_pose, robot.get_gripper, robot.go_to_pose, robot.go_to_pose_cartesian, robot.grasp_frame, robot.open_gripper
License
MIT
Source
source on GitHub · SKILL.md · upstream code · https://arxiv.org/abs/2403.03174 · v0.1.0

Exits

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

planned (plan only) The VLM's reply named offered marks and tiles, every chosen keypoint has depth, and `plan` holds the world points, heights, mode and hand heading; execute follows.
no_plan (plan only) The instruction names no object, an object was not found (sam3 / gemini-er returned nothing), no candidate had depth, or every VLM reply (up to `attempts`) was unparsable or picked marks that were not offered; `detail` says which. Nothing moved.
done (execute only) Every phase reached its point within reach_tolerance (read back from the arm), including the grasp (jaws above empty_fraction) when there is one; the hand then released and lifted. This is what the hand did, not what the object did - re-perceive before relying on it.
grasp_failed (execute only) The jaws closed to empty_fraction or less at the grasp keypoint; the hand opened and rose back to the safe height.
unreachable (execute only) A free move (the first lift, a hover above the grasp or the pre-contact point) or the descent to the grasp was refused or ended off with every rotation tried (nothing touched), or a contact move (pre-contact, target, post-contact) stopped short; `detail` names the phase. After a contact-phase shortfall the hand still released and lifted.

Scripts

plan_keypoint_motion, execute_keypoint_motion

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 "plans and executes a one-step manipulation from a language…" --why
uv run --no-sync roboskillhub view --bundles executing-keypoint-motion --out my_registry

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