Inserting Mid Air Between Two Held Parts 标志

Inserting Mid Air Between Two Held Parts

组织
runtime-si
inserting-mid-air-between-two-held-parts

将一只手臂握持的零件插入(或压到)另一只手臂握持的零件中,两个零件都悬在空中。此技能使用 ACT 的脚本化双臂插入流程:将两个零件沿同一轴线、彼此相对地移至共同接合点,并保持一定间距,然后沿该轴线闭合间隙;使用零件在手内的偏移量代替模拟器姿态。任何零件接触之前,移动零件的尖端会根据握持手臂的读数进行横向对齐;随后逐步插入,并在没有力传感器的情况下感知两只手臂上的接触(依据推动手臂相较于自由运动时增加的跟踪延迟、握持手臂偏离其姿态的程度,以及已公布的关节作用力)。当双臂工作站需要连接分别由两只手臂握持的两个零件时使用,例如将销钉插入插座、将插针插入孔中,或将 DUPLO 积木块装到已握持的组件上。使用此技能时,需测量两个零件在手中的接触点(通过 registering-held-objects 或感知),并以 arm_id 指定两只手臂。

概览

发布者runtime-si
代码仓库RoboSkillHub
技能名称inserting-mid-air-between-two-held-parts
星标数
242
复刻数
27
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 2 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Inserting Mid Air Between Two Held Parts。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

inserting-mid-air-between-two-held-parts

Join two parts that are each in one hand, without putting either down. The holder (holder_arm, 0) holds the receiving part (a socket, a bore, a brick whose studs face out); the mover (mover_arm, 1) holds the moving part (a peg, a pin, a brick whose sockets face out) and pushes it in along the insertion axis. Every robot call names its arm (arm_id); one arm moves per call.

How it composes

  • Before it: each arm grasps its part; the part's contact feature is measured in the hand - registering-held-objects (feature_in_tcp, pass its position as moving_tip_in_tcp / receiving_entry_in_tcp) or a perceived world point with that arm unmoved since (moving_tip, receiving_entry). Turn each hand so its part's axis lies along the insertion axis (both parts face each other) with moving-both-arms-together or single-arm moves; this skill only translates the hands (ACT keeps fixed hand quaternions throughout). Check the approach with checking-dual-arm-clearance (the connectors do not collide one arm against the other).
  • After it: inserted with release: none leaves both hands on the assembly: hand it over (handing-over-between-arms), let one go, or carry it with both (moving-both-arms-together, keep_relative). misaligned can go back to registration (a fresh in-hand offset) or to a search (searching-insertion-spiral with the holder still, as in holding-steady-while-other-arm-acts).

The motion

  1. Two arms, both holding. Refuse (unreachable) if the arm ids are equal or the holder's pose reads as the mover's (within 1 mm) or as no pose. A jaw opening at the stop on either arm is slipped.
  2. In-hand offsets. The moving tip and the receiving entry are taken into each hand's tool frame (from world points and the hands' poses read now, or directly from *_in_tcp); from here on both are placed by the hands' read-back poses, rotation included. The axis is insertion_axis, or from the tip toward the entry.
  3. Rendezvous (ACT's meet point). With meet_position the holder carries its entry there (keeping its rotation); without it the holder stays where it is and the entry is the meet point. The mover goes to its stand-off: the tip standoff (50 mm) back from the entry along the axis. mode: both_move is ACT's two-sided closing: the holder first stops standoff/2 beyond the meet point, the mover standoff/2 short of it, then the holder brings its part in to the meet point and holds still. After each free move a wrist roll more than 1 deg off the hand's rotation is turned back on the last joint (robot.move_to_joints, read back; PORTING lesson 10) and the hand re-centred.
  4. Align on the holder's actual entry. Both hands are read back, the tip and the entry placed from them, and the receiving part's axis turned with the holder's hand since it was measured; the tip's offset across that axis must be within half the diametral clearance (1 mm: 0.5 mm). Up to three corrections of the mover (robot.go_to_pose with tolerance fine_tolerance 0.3 mm, passed only to a verb that takes it), its wrist roll turned back on the way, else misaligned. The two parts' axes more than angle_tolerance_deg (2 deg) apart is misaligned (a hand that tilted since the parts were measured).
  5. Approach. One straight move to 5 mm short of the entry, re-aligned there the same way.
  6. Step in step (2.5 mm) at a time with robot.go_to_pose, the commanded line holding the last lateral correction, to insert_depth past the entry. After each step (the mover read until it stands still):
    • lag: commanded minus measured tool centre along the axis, against the median of the last three free steps; over lag_threshold (3 mm) is contact;
    • holder: the holder's tool centre more than holder_shift_threshold (2 mm) from where it stood when the steps began (the push reached it through the parts);
    • effort: when the observation carries both arms' joint efforts, a joint's residual against the mean of the free windows over effort_threshold (0.5 N.m) or four sigma.
  7. Seated check (verify, on by default). The depth above is the hands' and the in-hand offsets': a part pushed along its jaw pads slides back in the hand without either arm lagging (measured, see below). With the tip at depth, the mover is moved across the axis by half the clearance plus 1 mm, both ways along two directions, and back each time: a part in its hole stops at the wall (the mover falls short, or carries the holder along, by more than 0.5 mm); one on the outside face does not. No probe stopped: slipped.
  8. Decide. Tip within depth_tolerance (3 mm) of insert_depth and seated: inserted (a contact there is the bottom; the mover backs off 3 mm). Stopped with the tip under 2 mm past the entry: misaligned (the rim), the mover goes back to its stand-off. Stopped further in: stalled, the mover backs off 3 mm. With release: mover an inserted mover opens and backs out retreat (50 mm) along its own approach, and the holder's jaws are read again.

Inputs

  • moving_tip / moving_tip_in_tcp: the moving part's leading point (peg tip centre, brick's socket-face centre), world with the mover unmoved since it was measured, or in the mover's tool frame.
  • receiving_entry / receiving_entry_in_tcp: the receiving part's entry centre (hole mouth, stud-top face centre), likewise for the holder.
  • insertion_axis (none: tip toward entry), insert_depth (0.02 m past the entry), meet_position (none: the holder stays), mode (holder_still | both_move), mover_arm (1), holder_arm (0).
  • clearance (0.001 m, diametral), standoff, step, signal (auto | lag | effort), lag_threshold, holder_shift_threshold, effort_threshold, depth_tolerance, fine_tolerance, step_max_steps (0: the connector's), reach_tolerance (0.02 m), angle_tolerance_deg, fix_roll (true), release (none | mover), verify (true), retreat, empty_fraction (0.04), settle_period (0.3 s; 0 reads once).

Required end states

  • inserted: both hands hold (or the holder holds the assembly and the mover is backed out); the depth is the hands' and the offsets', not a sighting. Re-perceive (verifying-placement, a wrist close-up) when it matters.
  • misaligned: nothing went in; the mover is at its stand-off with its part.
  • stalled: the tip is partly in, the mover 3 mm back from where it stopped, both hold.
  • slipped: see detail; a part may be on the table.
  • unreachable: see detail.

The constants, and why

  • STANDOFF = 0.05 m: ACT's InsertionPolicy approaches the meet point at +-0.10 m and inserts to +-0.05 m: 0.05 m of closing per arm.
  • STEP = 0.0025 m, LAG_THRESHOLD = 0.003 m, EFFORT_THRESHOLD = 0.5 N.m, BASELINE_WINDOW = 3: detecting-contact-from-joint-effort's (the real YAM threading station's SETTLE_STEP / SETTLE_CONTACT, i2rt's clog threshold).
  • CLEARANCE = 0.001 m: the task this was checked on (a peg 1 mm under its hole); the lateral bound is half of it, floored at 0.2 mm.
  • FINE_TOLERANCE = 0.0003 m: passed as robot.go_to_pose's tolerance on alignment moves and steps (the twin's go_to_pose_cartesian takes none); a simulator servo's default 4 mm ball is four times the whole clearance.
  • HOLDER_SHIFT_THRESHOLD = 0.002 m: a choice (see the simulation check for what the holder read while the other arm stepped in free air).
  • ENTRY_MARGIN = 0.002 m, DEPTH_TOLERANCE = 0.003 m, BACKOFF = 0.003 m, CONTACT_MARGIN = 0.005 m: a stop within 2 mm of the mouth is the rim; a hand short by less than the lag threshold is in; backing off one lag stops the push; the straight approach ends beyond a servo's 4 mm ball from the rim.
  • ANGLE_TOLERANCE_DEG = 2, ROLL_TOLERANCE_DEG = 1: two axes 2 deg apart cross by 0.7 mm over a 20 mm depth, more than a 1 mm clearance's half; 1 deg of free wrist roll swings a tip held 50 mm off the tool axis by 0.9 mm.
  • PROBE_MARGIN = 0.001 m, PROBE_RESIST = 0.0005 m: the seated probe goes 1 mm past the half-clearance; half of that, over the 0.3 mm fine arrival ball, is a wall. A choice, checked in the twin below.
  • REACH_TOLERANCE = 0.02 m, EMPTY_FRACTION = 0.04: as handing-over-between-arms.

Connectors and arm_id

  • RoboSimStudio: every robot verb used here takes arm_id (0 = work arm, 1 = support arm; an id past the last arm is clamped to it, hence step 1); robot.go_to_pose takes tolerance / max_steps, passed only when set; the observation carries joint positions, no efforts, so it decides by lag and by the holder's displacement.
  • The real YAM station bridge (yam_real.py, 2026-11-06) drives the left arm whatever arm_id says and reads no second arm's pose: this skill refuses there (unreachable, "no separate arm"). On a dual-arm bridge the alignment is only as good as the two arms' base calibration against each other (a few mm on the YAM station today), far over a 1 mm clearance: register the parts against each other (both in one wrist view) before trusting it.

Simulation check

RoboSimStudio YAM station twin (yam-station-20261103-gsota, two i2rt YAM arms, MuJoCo-Warp at 500 Hz, RTX 4090 host), 2026-11-08. The twin has no parts, so the harness builds them from convex pieces: a 30 x 40 x 30 mm socket block with a blind 13 x 13 mm square hole 25 mm deep, and a peg (30 mm cube handle, 12 x 12 x 70 mm shaft): 1 mm diametral clearance, no chamfers, friction 0.8. The left arm (holder, 0) picks the socket, the right arm (mover, 1) the peg, each hand's last joint turns its part's axis onto world +y, then the skill runs with the true peg tip plus an injected in-hand error, the true socket mouth, meet_position 170 mm over the bench and insert_depth 20 mm. Truth from sim.get_object_pose after each trial; the peg is pulled back out, still held, between trials (no re-grasp). Minimum arm clearance measured from the two arms' collision meshes every 20 ms (the twin does not collide one arm with the other).

runinjected tip errorroutetruthpeg moved in its handmin arm clearance
without the probe0insertedin: 21.4 mm deep, 0.56 mm off axis, 2.8 deg7.4 mm from the tool centre0.1 mm
without the probe1.0 mminsertednot in: on the face (-0.1 mm), 4.7 mm offslid to 22.5 mm0.0 mm
with the probe0slipped (0 of 4 probes stopped)not in: -0.4 mm, 3.8 mm off, 7 degslid to 28.5 mm0.3 mm
with the probe1.0 mmslipped (0 of 4)not in, peg turned 30 deg in the jaws35.4 mm, jaw 0.150.1 mm
with the probe0.5 mm (after the 30 deg turn above)inserted (1 of 4)not in: peg 85 deg off the socket's axis44.8 mm0.0 mm

What this shows, honestly:

  • Success 1 of 3 clean attempts at zero injected error, 0 of 2 with 0.5-1 mm. The read-back alignment brought the tip within 0.5 mm of the entry's line before every push (by the hands and the offsets), but the truth at the end was 0.6-5 mm off: a peg held by its handle tilts and slides in the twin's jaws as the moves go on, so the offsets given at the start are stale by the push. Re-register the tip in the hand (registering-held-objects) just before the rendezvous.
  • Neither arm feels a part sliding back along its jaw pads: tracking lag stayed within 0.13 mm of free motion and the holder moved 0.15-0.41 mm (under its 2 mm threshold) in every trial, jam or not. The twin's observation has no joint efforts, so effort was not checked.
  • The seated probe turned both slides of the second run into slipped (the false inserted of the first run). It missed a peg already turned 85 deg in its hand by the trial before (one probe stopped against the socket's outside): the skill compares the hands' rotations, not the parts', so a part turned in its jaws is invisible to it - re-measure the part's axis after anything that may have turned it.
  • The two hands' fingertips came within 0.0-0.1 mm of each other at full depth (the twin lets them pass through): with a 70 mm shaft and grasps at each part's middle, the jaws meet. On a real station grip the parts further apart along the axis and check with checking-dual-arm-clearance.
  • One trial took 70-870 s of simulated servo time: robot.go_to_pose with a 0.3 mm tolerance runs to the twin's step cap on most alignment and probe moves.
  • DUPLO press (PARTS=duplo: two 2 x 2 bricks lying on their sides, 9.4 mm studs 4.5 mm high, 0.1 mm wall play, rigid, clearance 0.2 mm, insert_depth 4.5 mm, step 1.5 mm): 0 of 2 seated (0 and 0.5 mm injected). Both routed slipped correctly (0 of 4 probes stopped): the hands went 4.0 mm, the brick 0.1 and 0.8 mm, 0.45 and 0.25 mm off the studs' axis (over the 0.1 mm play) and 2.5-5.5 deg tilted, sliding back in its jaws while neither arm lagged (0.01-0.02 mm) nor the holder moved (0.27-0.30 mm). Fingertips again at 0.0 mm.
  • Not run: mode: both_move, release: mover.

Re-run with the sim harness's grip fix (2026-11-09/10)

The stock twin let held parts creep through and pivot in the jaws: MuJoCo friction creep on light bodies, and no torsional friction on the blade-tip pads (~/yam_gap/skill_sources/SIM_GRIP.md). The same harness (peg 12 mm in a 13 mm blind hole, default 9 trials of injected tip error, holder still) was re-run on GCP RTX PRO 6000 hosts:

twinpeg inheld socket's axis error over the trialssocket's offset from the left tool centre
grip fix (impratio 100, solimp 0.99), no pad torsion0 of 922.5 -> 78.1 deg14.2 -> 22.4 mm
+ pad torsion (condim 4, 0.004 m), first 8 trials1 of 8 (trial 0, 0 mm injected: 17.0 mm deep, 0.75 mm off axis, 4.1 deg); trial 4 (1 mm) part-way, 2.2 mm4.1 -> 66.1 deg15.8 -> 17.3 mm
  • Pad torsion keeps the parts in place in the jaws between trials: the socket's offset from the tool centre now stays within 1.5 mm. The first clean insertion went 17 mm deep.
  • Each push still turns the held parts about 10 deg. The skill's push through a 70 mm shaft held at its handle puts more torque on the grip than the pads hold. Real jaws may well turn too, so re-register the parts (or re-grasp) between attempts rather than reuse offsets.

Provenance

Adapted from ACT's scripted InsertionPolicy (https://github.com/tonyzhaozh/act/blob/main/scripted_policy.py, MIT): the two-hand meet point with the parts facing each other on one axis, the stand-off and the closing along the axis, fixed hand rotations. Changed: in-hand offsets measured while held and the hands' read-back poses in place of simulator part poses and ACT's tuned lift_right; a lateral alignment on the holder's read-back entry; stepped closing with contact felt on both arms (lag, holder displacement, efforts) in place of open-loop interpolation; one arm per call with explicit arm_id; routed exits. ACT's pick phase is not part of this skill (any grasp skill does it).

附带文件

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

常见问题

Inserting Mid Air Between Two Held Parts AI 技能有什么作用?

将一只手臂握持的零件插入(或压到)另一只手臂握持的零件中,两个零件都悬在空中。此技能使用 ACT 的脚本化双臂插入流程:将两个零件沿同一轴线、彼此相对地移至共同接合点,并保持一定间距,然后沿该轴线闭合间隙;使用零件在手内的偏移量代替模拟器姿态。任何零件接触之前,移动零件的尖端会根据握持手臂的读数进行横向对齐;随后逐步插入,并在没有力传感器的情况下感知两只手臂上的接触(依据推动手臂相较于自由运动时增加的跟踪延迟、握持手臂偏离其姿态的程度,以及已公布的关节作用力)。当双臂工作站需要连接分别由两只手臂握持的两个零件时使用,例如将销钉插入插座、将插针插入孔中,或将 DUPLO 积木块装到已握持的组件上。使用此技能时,需测量两个零件在手中的接触点(通过 registering-held-objects 或感知),并以 arm_id 指定两只手臂。

为什么在 TypingMind 中使用 Inserting Mid Air Between Two Held Parts?

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

如何在 TypingMind 中安装 Inserting Mid Air Between Two Held Parts?

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

哪些 AI 模型可以使用 Inserting Mid Air Between Two Held Parts?

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

Inserting Mid Air Between Two Held Parts 可以搭配多少个 AI 模型使用?

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

Inserting Mid Air Between Two Held Parts AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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