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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    runtime-siがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Grasping Flat Objects」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGrasping Flat Objectsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Grasping Flat Objectsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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).

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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...

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Grasping Flat Objectsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Grasping Flat Objectsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGrasping Flat Objectsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Grasping Flat Objects」は無料ですか?

はい。runtime-siがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇