Grasping Container Rims 标志

Grasping Container Rims

组织
runtime-si
grasping-container-rims

Grasps a thin-walled open container (box, bin, tray, cup, bowl) by its rim - picks a wall midpoint the arm can reach, turns the open jaws across the wall (one finger inside the mouth, one outside), hovers above, comes straight down until the pads straddle the wall below the rim top, closes, checks the jaw gap reads about the wall's thickness (not empty, not wider), and lifts a little; tries the other walls when one misses. Use when an open container must be picked or held and a body grasp would close on the empty inside (or the container is wider than the open hand), with its oriented box from a perception skill and the hand empty.

概览

发布者runtime-si
代码仓库RoboSkillHub
技能名称grasping-container-rims
星标数
242
复刻数
27
附带文件
2
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 runtime-si 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Grasping Container Rims AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/grasping-container-rims
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/grasping-container-rims .claude/skills/grasping-container-rims
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Grasping Container Rims,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Grasping Container Rims。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Grasping Container Rims 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

grasping-container-rims

Pick an open container by one of its walls instead of its hollow body.

The motion

  1. Open the hand. Take the container's rim frame from its oriented box: the rim top (the box's highest corner), its bottom, its centre, and its two horizontal axes. With container_cloud (world points of the container, e.g. from geometry's mask-to-points), the rim top, the opening's centre and its half-extents come from the cloud's top 20 mm band instead (RoboRSI's container_opening).
  2. The candidate rim points are the four wall midpoints, half a wall in from the outer face. They are tried nearest to the hand first (side names one: +x, -x, +y, -y, the box's own axes), each previewed with robot.solve_ik at the grasp pose for both wrist solutions. A point whose open inner jaw would reach the opposite wall is skipped.
  3. Turn the jaws across the wall: robot.grasp_frame with the close heading along the wall's outward normal, top-down. Go to a hover hover_height above the grasp pose (straight up first if the hand is lower). Read the rotation back; if the jaws are more than yaw_tolerance_deg off the wall's normal (an arm whose solver leaves the wrist roll free reaches the pose unturned), turn the rest on the last joint (robot.move_to_joints) and re-centre over the hover.
  4. Come straight down until the tool centre is grip_depth below the rim top (floored so the fingertips stay 3 mm over the container's bottom and the tool centre 15 mm over it). A descent that stops more than descent_tolerance high (a finger on the rim) is a miss on that wall.
  5. Close and read the jaw gap: robot.close_gripper's position (or robot.get_gripper), 1.0 = open, through robot.describe_gripper's width_fit. Within empty_margin of the closed stop is a close on nothing; above wall_thickness + full_margin (or max_wall) is something else. Either opens the hand, rises to the hover, and tries the next wall.
  6. Lift lift_height and read the gap again: a wall that slipped out reads empty and is a miss. A lift that rises short with the gap still on the wall (a heavy or fixed container) is still grasped, said in detail.

Inputs

  • container_obb: the container's oriented box, world frame, half-extents.
  • container_cloud (optional): its points, world frame ({"points": N x 3} or a list of xyz).
  • wall_thickness (unknown): when given, the rim point sits half of it in from the outer face and the gap must read at most it + full_margin.
  • side (auto), try_other_sides (true).
  • grip_depth (0.012 m), hover_height (0.06 m), lift_height (0.03 m, 0 skips the lift), empty_margin (0.0015 m), full_margin (0.006 m), max_wall (0.012 m), yaw_tolerance_deg (5), roll_limits (the last joint's range, default the YAM's +-120 deg), reach_tolerance (0.015 m), descent_tolerance (0.008 m), check_reach (true), arm_id.
  • tip_reach (from the robot): fingertips past the tool centre [m]. Unset, it is robot.describe_gripper's finger.reach_m when finger.stated; with neither the skill exits hand_geometry_unknown (no robot's value is assumed; a YAM linear_4310's is 10.2 mm).

Outputs

side (the wall tried last), grasp_position (its tool-centre target), close_heading_deg, jaw_error_deg (the jaws' read-back heading off the wall's normal), wrist_turn_deg (turned on the last joint), grip_width (gap after the close, m; -1 unread), held_width (after the lift), wall_thickness (as given, -1 unknown), lifted (m), attempts (walls tried down to the hover). The exit is what the hand measured, not where the container is: re-perceive it before relying on having moved it.

Preconditions

  • The hand is empty (it is opened at the start).
  • The container stands upright and its walls are thinner than the open hand minus twice a finger; the space outside the chosen wall is free for the outer finger (half the open span, 47 mm on a YAM).

The constants, and why

  • GRIP_DEPTH = 0.012 m is RoboRSI's _BELOW_RIM_M. HOVER_HEIGHT 0.06 m (RoboRSI 0.10) and LIFT_HEIGHT 0.03 m (RoboRSI 0.07) are shorter so the hover and lift stay inside a YAM's reach over a table box.
  • EMPTY_MARGIN = 0.0015 m, plus half the wall when wall_thickness is given: a wall can be thinner than the hub's usual 3 mm empty margin. In the YAM station twin an empty close read 0.4 mm, and a 3 mm wall that slid out of the jaws during the lift left 0.9 mm, which the earlier 0.8 mm margin called grasped. Walls read 1.7-2 times their thickness there (2.3 mm: 4.0-4.6 mm, 3 mm: 6.0 mm). A real YAM station's empty close has read 1.8 mm (verifying-grasps), so on hardware raise empty_margin to about 2 mm and expect walls under ~3 mm to be indistinguishable from empty by the gap alone.
  • FULL_MARGIN = 0.006 m, MAX_WALL = 0.012 m: a choice; a close on a corner or a handle reads far wider.
  • DESCENT_TOLERANCE = 0.008 m: a fingertip on the rim top stops the tool centre grip depth plus the fingertip reach high (22 mm on a YAM, 10 mm reach).
  • YAW_TOLERANCE_DEG = 5, REACH_TOLERANCE = 0.015 m: no tighter than the connectors' own arrival bounds (servo 3 deg / 4 mm, a real YAM station 0.04 rad / 12 mm per move).
  • RIM_BAND = 0.02 m and the 90th percentiles of the cloud refinement are RoboRSI's container_opening.

Measured in a YAM station twin

RoboSimStudio's YAM station twin, left arm, linear_4310 hand (94 mm span, fingertips 10.2 mm past the tool centre), the open box 100 x 100 x 40 mm with 2.3 mm walls, turned -94.4 deg, welded to the table. A setup script built the box's oriented box and wall thickness from sim.get_region_obb('in_box') (the inside) and the walls' own colliders (sim.get_collision_world: 2.3 mm, the yaw, the rim top); the skill ran once per wall with side set and try_other_sides=false. An empty close in the air read 0.0 mm.

With lift_height=0 (the box cannot be lifted):

wallexitgap after the closewalljaws off the wall's normallast-joint turn
+xgrasped4.54 mm2.3 mm-0.01 deg+37.5 deg
-xgrasped4.56 mm2.3 mm+0.03 deg-10.1 deg
+ygrasped4.36 mm2.3 mm0.00 deg-87.8 deg
-ygrasped4.01 mm2.3 mm-0.02 deg+6.7 deg

Every wall was reachable, the tool centre stopped within 0.6 mm of its target, and a second reading just before the hand opened agreed within 0.04 mm (the closure held). The gap reads 1.7-2.3 mm over the wall: it is the blade tips' separation from the finger travel, not the pads' at the contact, which is why full_margin is 6 mm. The twin's IK leaves the wrist roll free, so every hover arrived with the jaws turned wrong by 7-88 deg and the last-joint turn did the rest. A negative run with the box moved 70 mm out past its -x wall closed on air (0.0 mm) and exited missed.

With the default lift_height (30 mm) on the welded box, the arm rose 28 mm every time and the pads slid off the wall's top: the gap read 0.0-0.7 mm after the lift and all four walls exited missed. The twin's servo pulls the fingers off a fixed wall rather than stalling, so a held lift has not been measured; on a free container the lift is the test that the grip carries it.

Provenance

Adapted from RoboRSI's grasp_rim/robotwin policy and its _perception.container_opening (Apache-2.0). RoboRSI was itself unvalidated ("EXPERIMENTAL"). Changed: a world-frame oriented box (optionally refined by a cloud's rim band along the box's axes) instead of a Grounded-SAM mask read inside the simulator; all four wall midpoints, nearest the hand first and IK-previewed, instead of the arm's x-side and its opposite; jaws turned with robot.grasp_frame and finished on the last joint when the solver leaves the roll free; the grip depth is the tool centre's and floored over the bottom; RoboRSI's is_holding (simulator contact) and verify_holding_visual (a VLM) are replaced by the jaw gap measured against the wall thickness after the close and after the lift; refused moves route instead of raising.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Grasping Container Rims AI 技能有什么作用?

Grasps a thin-walled open container (box, bin, tray, cup, bowl) by its rim - picks a wall midpoint the arm can reach, turns the open jaws across the wall (one finger inside the mouth, one outside), hovers above, comes straight down until the pads straddle the wall below the rim top, closes, checks the jaw gap reads about the wall's thickness (not empty, not wider), and lifts a little; tries the other walls when one misses. Use when an open container must be picked or held and a body grasp would close on the empty inside (or the container is wider than the open hand), with its oriented box f...

为什么在 TypingMind 中使用 Grasping Container Rims?

因为您只需安装一次,就能搭配任何模型使用。Grasping Container Rims 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Grasping Container Rims?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/runtime-si/RoboSkillHub/tree/main/skills/grasping-container-rims。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Grasping Container Rims?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Grasping Container Rims 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Grasping Container Rims 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Grasping Container Rims AI 技能免费吗?

是的。runtime-si 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇