一键导入
robot-grasp
Control robot grasping actions — grasp objects, retract arms, and handover items via scripts.(控制机器人抓取动作 — 通过演示脚本抓取物体、收回手臂及向用户递交物品。)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Control robot grasping actions — grasp objects, retract arms, and handover items via scripts.(控制机器人抓取动作 — 通过演示脚本抓取物体、收回手臂及向用户递交物品。)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Search and install agent skills from ClawHub, the public skill registry.
Schedule reminders and recurring tasks.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Google Calendar: Show upcoming events across all calendars.
Google Calendar: Create a new event.
Google Calendar: Manage calendars and events.
| name | robot-grasp |
| description | Control robot grasping actions — grasp objects, retract arms, and handover items via scripts.(控制机器人抓取动作 — 通过演示脚本抓取物体、收回手臂及向用户递交物品。) |
| metadata | {"nanobot":{"emoji":"🦾","requires":{"bins":["python"]}}} |
Control the robot's manipulation capabilities, including object grasping, arm retraction, and handing over items to users.
BEFORE executing any motion-related command:
1. Run: curl -s http://localhost:18790/api/home/status | jq '.data.available | any(. == "运动")'
2. If the output is false: STOP and tell the user "Motion mode is not enabled"
4. If found: Proceed with the motion command
DO NOT skip this check. DO NOT execute motion commands without verification.
Before performing the grasp, the object list in {baseDir}/objects.txt must be read first.
All commands should be executed from the {baseDir}/scripts/ directory using the specific uv environment Python interpreter.
cd {baseDir}/scripts/ && uv run [script_name].py [argument]
Grasp a specific item on a surface based on its class name.
grasp.pyobject_name (e.g., apple, bottle, orange)
Example:cd {baseDir}/scripts/ && uv run grasp.py apple
Retract the specified arm after performing a grasp.
retract.pyleft or rightExample (Retract Right Arm):
cd {baseDir}/scripts/ && uv run retract.py right
Identify a user and hand over the item held in the specified hand.
handover.pyleft or rightExample (Handover from Left Hand):
cd {baseDir}/scripts/ && uv run handover.py left
The scripts will return a text output. Successful execution is indicated by a string starting with [Unitree].
Example:
grasp action, ensure that the target object is clearly visible in the robot's camera field of view. If the object is not visible, navigate to the location of the object first.If the user specifies going to a specific location to pick up an object, it is also necessary to first determine whether the object exists.retract or handover motions.retract after a grasp to ensure the robot returns to a stable posture before moving.控制机器人的操控能力,包括物体抓取、手臂收回以及向用户递交物品。
在执行任何运动相关命令之前:
1. 运行:curl -s http://localhost:18790/api/home/status | jq '.data.available | any(. == "运动")'
2. 如果输出为 false:立即停止并告知用户"运动模式未启用"
3. 如果输出为 true:继续执行运动命令
不要跳过此检查。未经验证不要执行运动命令。
在执行抓取之前,必须先读取{baseDir}/objects.txt中的物体列表。
所有命令须在 {baseDir}/scripts/ 目录下,使用指定 uv 环境的 Python 解释器执行。
cd {baseDir}/scripts/ && uv run [script_name].py [argument]
根据类别名称抓取表面上的特定物品。
grasp.pyobject_name(例如,苹果、瓶子、橙子)
示例:cd {baseDir}/scripts/ && uv run grasp.py apple
抓取完成后收回指定手臂。
retract.pyleft(左)或 right(右)示例(收回右臂):
cd {baseDir}/scripts/ && uv run retract.py right
识别用户并将指定手中持有的物品递交给用户。
handover.pyleft(左)或 right(右)示例(从左手交接):
cd {baseDir}/scripts/ && uv run handover.py left
脚本将返回文本输出。执行成功的标识为以[Unitree]开头的字符串。
示例:
grasp 动作前,确保目标物体在机器人摄像头视野中清晰可见,如果物体不可见需要先导航至物体所在处。若用户指定去某个具体位置拿取物体,也需要先判断物体是否存在。retract 或 handover 动作期间,确保手臂活动范围内没有人员或易碎障碍物。grasp 之后调用 retract,以确保机器人在移动前恢复稳定姿态。