Grasping Flat Objects 标志

Grasping Flat Objects

组织
runtime-si
grasping-flat-objects

Grasps an object lying flat on a surface that is too thin for a normal top-down pinch at its box centre (a card, a phone, a thin plate or lid, a coin if wide enough) - turns the jaws across its short side, brings the fingertips down to just above the support (as low as the tool-centre floor allows), closes, checks the jaw gap reads about the slab's width, lifts and checks again; retries once across the long side. An optional tilt brings one fingertip in along the support at the slab's edge (it did not hold in a station twin). Use when a flat object must be picked from a table and a grasp at its box centre would close on air above it, with its oriented box from a perception skill and the hand empty.

概览

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

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

  • 兼容任何大语言模型

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

  • 2 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/grasping-flat-objects
  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-flat-objects .claude/skills/grasping-flat-objects
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

grasping-flat-objects

Pick a slab lying flat on a table by pinching its body just above the support, instead of at its box centre.

The motion

  1. Take the slab's frame from its oriented box: centre, top, and its two horizontal axes, the shorter first. The support height is support_z when given, else the 5th height percentile of object_cloud (RoboRSI), else the box's bottom.
  2. Work out the heights over the support. Level (the default): the fingertips meet the slab grasp_fraction of its thickness up, no lower than min_tip_clearance; the tool centre may not go under 15 mm (a real YAM station refuses lower) and the fingertips reach tip_reach below it (10.2 mm on a YAM linear_4310, so its fingertips are at 4.8 mm at the lowest). If they would end less than 1.5 mm below the slab's top the axis is refused as too thin, rather than closing on air (an 8 mm slab is pinched at 4.8 mm; a 5 mm one is refused level).
  3. Preview the grasp pose with robot.solve_ik for both wrist solutions; turn the jaws with robot.grasp_frame (close heading along the axis). Open the hand fully (RoboRSI), hover hover_height above (straight up first if the hand is lower), read the jaws back and finish a free wrist roll on the last joint.
  4. Come straight down. A descent that stops more than descent_tolerance high is a miss on that axis (a fingertip on the slab's top).
  5. Close and read the gap (robot.close_gripper's position, 1.0 = open, through robot.describe_gripper's width_fit). Within empty_margin of the closed stop is empty; more than full_margin over the slab's width across the jaws is something else; more than narrow_margin under it means a fingertip went over the top or past a corner. Any of these opens the hand, rises, and tries the long axis (RoboRSI's single retry).
  6. Lift lift_height and read the gap again; a slab that slipped out reads empty and is a miss.

The optional tilt (not in RoboRSI; did not hold in the twin)

With tilt_deg (or auto_tilt) the hand leans about the normal of the plane its jaws close in, so one fingertip is lower than the other. The jaws open only to the slab's width plus 12 mm each side (robot.set_grip), the hand comes down with the lower open fingertip 1 mm over the support, then narrows the jaws to the slab's edges in four steps, following each down so that fingertip slides along the support into the slab's bottom edge, and closes. auto_tilt takes the tilt whose close line runs from the slab's bottom edge to 1.5 mm under its far top edge, or the steeper tilt the tool-centre floor needs to bring the lower fingertip to 1 mm (11.3 deg for the 8 mm slab, 17.4 deg for the 15 mm one, 40 mm across). The tilt lets a thinner slab pass the too-thin check (a 5 mm slab at 25 deg). But in the station twin every tilted close pushed the slab 8-41 mm aside and ended narrower than it (below), so leave it off unless your hand's fingertips are compliant enough to wedge under an edge.

Inputs

  • object_obb: the slab's oriented box, world frame, half-extents.
  • object_cloud (optional): its points, world frame ({"points": N x 3} or a list of xyz), for the support height.
  • support_z (optional): the support's height, overriding both.
  • tilt_deg (0, at most 35), auto_tilt (false), try_long_axis (true).
  • grasp_fraction (0.45), min_tip_clearance (0.004 m), hover_height (0.06 m), lift_height (0.05 m, 0 skips the lift), empty_margin (0.003 m), full_margin (0.008 m), narrow_margin (0.006 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.006 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, and with neither the skill exits hand_geometry_unknown.

Outputs

axis (short or long, the one tried last), close_heading_deg, tilt_deg, grasp_position (the tool-centre target at the close), tip_height (the lower fingertip's planned height over the support where it meets the slab), object_width (the slab across the jaws), thickness, jaw_error_deg, wrist_turn_deg, grip_width (gap after the close, m; -1 unread), held_width (after the lift), lifted (m), attempts (axes tried down to the hover). The exit is what the hand measured, not where the slab is: re-perceive it before relying on its pose in the hand.

Preconditions

  • The hand is empty (it is opened at the start).
  • The slab lies flat and is free to be pinched: nothing within half the open span (47 mm on a YAM) of its centre along the jaws.
  • One of its sides fits the open hand (94 mm on a YAM, less 2 x the finger clearance) and it is thicker than about 6.3 mm (the 4.8 mm fingertip floor + 1.5 mm); thinner slabs exit unreachable (slide them to an edge first).

The constants, and why

  • GRASP_FRACTION = 0.45, MIN_TIP_CLEARANCE = 0.004 m are RoboRSI's _GRASP_FRAC and _MIN_ABOVE_TABLE_M.
  • MIN_TOOL_HEIGHT = 0.015 m: a real YAM station refuses a tool centre under 14 mm over its table. The fingertip reach comes from the robot (a YAM linear_4310's fingertips reach 10.2 mm below the tool centre). RoboRSI lowered its own descend floor to the table instead, which a YAM station will not do.
  • MIN_BITE = 0.0015 m: a choice; less pad than that on the slab's side pinches its top edge, if anything.
  • HOVER_HEIGHT = 0.06 m (RoboRSI 0.09) and LIFT_HEIGHT = 0.05 m (RoboRSI 0.06): kept inside a YAM's reach.
  • EMPTY_MARGIN = 0.003 m, FULL_MARGIN = 0.008 m, NARROW_MARGIN = 0.006 m: level pinches in the twin read 0.1 mm under to 1.3 mm over the 40 mm side; tilted closes that missed read 5-26 mm.
  • DESCENT_TOLERANCE = 0.006 m: over the servo's own 4 mm arrival bound; the twin's servo reported reached 2.5 mm high over the 8 mm slab (a first version that held the stop under 60 % of the bite read that as a fingertip on the slab and missed all three 8 mm grasps). A fingertip on a slab whose top is less than this over the fingertips is therefore not told apart from arrival by the pose; the gap check after the close catches it.
  • TILT_TIP_CLEARANCE = 0.001 m, FOLLOW_STEPS = 4, OPEN_CLEARANCE = 0.012 m, MAX_TILT_DEG = 35: choices for the tilt.
  • REACH_TOLERANCE = 0.015 m, YAW_TOLERANCE_DEG = 5: no tighter than the connectors' own arrival bounds (servo 4 mm / 3 deg; a real YAM station 12 mm / 0.04 rad per move).

Measured in a YAM station twin

RoboSimStudio's YAM station twin, left arm, linear_4310 hand (94 mm span, fingertips 10.5 mm past the tool centre by the hand's own reading), with two 20 g box slabs (friction 0.8) added beside the cube: 60 x 40 x 8 mm turned 15 deg and 60 x 40 x 15 mm turned -10 deg. Before each grasp a script read the slab's oriented box from the simulator (standing in for perception) and passed it in; after it, the slab's own pose was read while the hand still held it, then the hand set it down, opened and rose. An empty close read 0.0 mm. Default inputs (level pinch, 50 mm lift):

slabtriesexitjaw gap at closeafter the liftslab roseslab tilt in the hand
8 mm3 (+1 recheck)grasped 4/441.2-41.3 mm39.9 mm50.8-50.9 mm0.4-0.8 deg
15 mm3grasped 3/340.7-41.3 mm40.4-40.5 mm50.6-51.5 mm0.2-0.3 deg

Every grasp closed across the short side on the first axis, the fingertips planned 4.8 mm (8 mm slab) and 6.75 mm (15 mm slab) over the table, and each slab came back down within 1.6 mm of where it started. The jaws read 1 mm over the 40 mm side at the close and settled 0.1 mm under to 0.5 mm over it in the lift. The twin's IK leaves the wrist roll free; the last-joint turn squared the jaws to within 0.6 deg (up to 32 deg turned).

With auto_tilt the hand did not hold either slab:

slabtiltliftexitjaw gap at closeslab pushed
15 mm17.4 degnonemissed (25.5 mm, not across it)25.5-25.7 mm7.8-8.8 mm
8 mm11.3 degnonemissed (4.9 mm)4.9-5.1 mm17.3-17.5 mm
8 mm, 2 runs11.3 / 7.4 deg, both axes50 mmmissed (slipped out)0.0-12.5 mm33-41 mm
15 mm, first run17.4 / 11.8 deg, both axes50 mmmissed (slipped out)0.0-34.0 mm27 mm

The lower fingertip pushed the slab aside along the table rather than wedging under its edge, and the jaws closed past it. Before narrow_margin was added the two no-lift runs exited grasped (the gap was neither empty nor too wide); with it they exit missed (the recheck run above). The first run also held the descent check under 60 % of the bite, which only changed the level 8 mm grasps (see DESCENT_TOLERANCE).

Provenance

Adapted from RoboRSI's grasp_flat/robotwin policy (Apache-2.0), which its authors marked EXPERIMENTAL and unvalidated. Kept: the oriented-box footprint, the support from the cloud's 5th height percentile, the fingertips at 0.45 of the thickness (at least 4 mm over the support), the wide-open level pinch across the short side, one retry across the long side, the lift check. Changed: a world-frame oriented box in, not a Grounded-SAM mask read inside the simulator; the grasp height is the tool centre's, floored at 15 mm over the support, and an axis whose fingertips would stay above the slab is refused (RoboRSI lowered its descend floor to the table); each axis is IK-previewed and the jaws turned with robot.grasp_frame, finished on the last joint when the solver leaves the roll free; RoboRSI's is_holding (simulator contact) and verify_holding_visual (a VLM) are replaced by the jaw gap against the slab's width after the close and after the lift; refused moves route instead of raising. Added: the optional tilt with its stepped close (not in RoboRSI).

附带文件

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

常见问题

Grasping Flat Objects AI 技能有什么作用?

Grasps an object lying flat on a surface that is too thin for a normal top-down pinch at its box centre (a card, a phone, a thin plate or lid, a coin if wide enough) - turns the jaws across its short side, brings the fingertips down to just above the support (as low as the tool-centre floor allows), closes, checks the jaw gap reads about the slab's width, lifts and checks again; retries once across the long side. An optional tilt brings one fingertip in along the support at the slab's edge (it did not hold in a station twin). Use when a flat object must be picked from a table and a grasp at...

为什么在 TypingMind 中使用 Grasping Flat Objects?

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

如何在 TypingMind 中安装 Grasping Flat Objects?

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

哪些 AI 模型可以使用 Grasping Flat Objects?

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

Grasping Flat Objects 可以搭配多少个 AI 模型使用?

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

Grasping Flat Objects AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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