Classifying Failure From Proprioceptionのロゴ

Classifying Failure From Proprioception

組織
runtime-si
classifying-failure-from-proprioception

Classifies the last moments of a manipulation step from proprioception alone - the gripper opening, the tool-centre pose and the arm joints over a short window (passed in from earlier nodes, sampled here, or both) - into stall, never_gripped, fumble, drop, stuck_mid_air or ok, with VoLoAgent's rolling-window rules re-based on the work surface and the gripper's stroke. Use when a graph must know cheaply, with no camera and no force sensor, whether a grasp, lift or carry went wrong and how, before spending a perception or VLM call or choosing a recovery.

概要

公開者runtime-si
リポジトリRoboSkillHub
スキル名classifying-failure-from-proprioception
スター
242
フォーク
27
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

AIスキル「Classifying Failure From Proprioception」を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/classifying-failure-from-proprioception
  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/classifying-failure-from-proprioception .claude/skills/classifying-failure-from-proprioception
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にClassifying Failure From Proprioceptionを読み込みます。

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

classifying-failure-from-proprioception

What went wrong, from what the arm can feel about itself.

How a graph uses it

The skill reads a window of samples, each one {"ee_position": Vec3, "gripper_fraction": float (1 = open), "joints": [...], "target_position": Vec3 (optional), "commanded_closed": bool (optional)}:

  • history: samples earlier nodes recorded (one per control segment or per node boundary; history in the output is the window, so a later call can continue it);
  • plus n_samples (4) it takes now from robot.get_observation, sample_interval_s (0.05 s) apart, stamped with target_position (or the last history sample's target) and commanded_closed when given.

hand (optional, robot.describe_gripper's shape: span_m, width_fit, min_grasp_width_m, finger.reach_m) gives the gripper; fields it leaves out come from robot.describe_gripper.

The last window (16, upstream's) samples are classified. With only its own samples, after a blocking move, the window is a still arm: the jaw signals (never_gripped, slip-drop, held) work from one moment, but stall and stuck_mid_air need the commanded target (target_position) and drop-by-opening, fumble and placed need a history that covers the step.

Heights are over table level: surface_z (or robot.describe_workspace().surface_z) plus the fingertip reach (finger.reach_m) from the hand input or else robot.describe_gripper (the tool-centre height with the fingertips on the table). The opening in metres is gripper_fraction x span_m (span_m from the same place); the closed stop is width_fit.at_closed_m (else min_grasp_width_m, else 0). No robot's span or reach is assumed: when one is missing the exit is hand_geometry_unknown.

The rules, in upstream's order

  1. stall / stuck_mid_air: frozen (z range < 30 mm, mean travel < 2 mm per sample) while short of the target by more than lag_tolerance (15 mm), or expect_motion with no target. Holding above carrying height -> stuck_mid_air, else stall.
  2. drop (slip): a held jaw went to its stop with the hand shut, above carrying height.
  3. never_gripped: the jaw ended at its stop without holding anything in the window; or (upstream) no transitions and never closed, once chunks_elapsed >= 30.
  4. fumble at the table: >= 6 transitions, tool centre below placing height.
  5. ok / held: closed above carrying height, moving (z range > 30 mm), or still and on target. Frozen and short of the target -> stuck_mid_air.
  6. fumble: >= 4 transitions.
  7. Open: descended > 5 mm in > 40 % of the 15 samples before the last opening -> ok / placed; opened above drop height -> drop; opened after > 20 consecutive closed samples -> ok / placed; low -> ok / placed; else ok / open.
  8. Closed and low -> ok / approaching.

chunks_elapsed (999 = judge everything) gates stall (10), fumble (15) and the never-closed rule (30) as upstream, for a caller that classifies while a step is still running.

The constants, and why

  • WINDOW = 16, STALL_Z_RANGE = 0.03 m, STALL_SPEED = 0.002 m/sample, fumble 6 / 4 transitions, the 5 mm / 40 % / 15-sample placement rule, the 20-sample open-was-closed rule, the chunk gates, the confidences: VoLoAgent's, calibrated on 89 robolab episodes (failure F1 0.75). A VoLoAgent sample is one VLA action chunk; segments of about a centimetre keep the speed threshold meaningful.
  • Heights re-based from robolab's absolute z (table level 0.22 m) to offsets over table level: DROP_DZ = 0.06 (robolab drop_z - table_z), PLACE_DZ = 0.03 (robolab place_z - table_z), CARRY_DZ = 0.03 (LIBERO's carry_z - table_z; robolab's 0 calls a hand closed at grasp height "carrying"). The fumble-at-table bound is placing height (upstream: table_z itself, which a tool centre held up by its fingertips does not go under).
  • Jaw "closed" = more than 3.2 % of the stroke off the open stop (upstream's never-closed width -0.05 over its closed finger sum -pi/2), 3.0 mm on the linear_4310's 94 mm stroke, floored at 2 mm. Upstream thresholds a commanded (or measured) closure at 0.5, which on a 94 mm hand calls a 50 mm object held "open"; a sample's commanded_closed still wins when given.
  • Empty = within EMPTY_MARGIN = 3 mm of the closed stop (verifying-grasps: an empty linear_4310 close measured 1.8 mm).
  • LAG_TOLERANCE = 0.015 m: no tighter than a real YAM station's 12 mm per-move bound (a servo arrives within 4 mm).

Changed from upstream, and why

  • Stall needs a reason to move. VoLoAgent watches a VLA that is always commanding motion, so "frozen" is a stall. A graph's moves block, so the arm is still whenever a node runs; here frozen is a stall only with tracking lag (the measured tool centre short of its commanded target, the YAM's stand-in for a force sensor) or expect_motion.
  • The jaw against its stroke: never_gripped also covers a close on nothing (the YAM's commonest grasp failure), and a held object's jaw collapsing to the stop with the hand shut is a drop even without an opening.
  • stuck_mid_air is checked with the stall (upstream's stall rule fires first and makes it nearly unreachable).
  • mean_joint_speed is the mean joint-space step (upstream computed the change of joint deltas and did not use it); reported, not used.
  • Upstream's done / progress / failure becomes one exit per class; ok's state keeps upstream's done / progress label.

Measured in a YAM station twin

16 staged episodes, left arm, the station cube (31 mm between the closed jaws), every move a 1 cm Cartesian segment with one robot.get_observation sample after it (the target stamped on it), then the skill with that history plus its own 4 samples, defaults throughout (describe_workspace surface 0.750 m, fingertip reach 10.2 mm). Truth is what the cube did (sim.get_object_obb), not what the episode was meant to do:

truth \ predictedoknever_grippeddropstallstuck_mid_airfumble
ok (held, cube lifted 90-96 mm)600000
never_gripped (closed on air)040000
drop (opened 105 mm over table level)001000
stall (pushed 40 mm into the table)000500
  • ok: 2 top-down grasp-and-lifts (state held, jaw 31.4 mm) and the four grasps sent 25 mm off the cube (+/- along each horizontal jaw axis): the twin's linear_4310 caught the cube every time (pulled it 25 mm into the jaws along the closing axis; along the blade width the 25 mm still left the blade over the cube) and lifted it 90-96 mm, so the skill's ok / held was right and the staged "never_gripped" label was not.
  • never_gripped: grasps 35 and +/-45 mm off along the blade width and 45 mm along the closing axis; the jaw closed to 0.0 mm and nothing lifted.
  • drop: lift 10 cm, open, lift 3 cm more (opening at 105 mm over table level).
  • stall: closed hand (3 spots) and open hand (2), 10 more pushes after the stop; the tool centre stopped 2.8 mm over table level, z range under 0.1 mm, 0.8-1.5 mm per sample, 51-72 mm short of the target.
  • stuck_mid_air and fumble were not staged (unit tests only).

Surprises: pressing a closed hand into the table pried the jaw open by up to 3.0 mm (exactly EMPTY_MARGIN), which made one frame read "held" and set the slip signal; the stall rule runs first so it did not matter. The arm also slid up to 50 mm sideways along the table while pushing, so lag_final_m mixes the vertical block with that drift. Each stalled push spent the servo's whole step budget (one stall episode 400-650 s, about 15 000 steps).

Provenance

Adapted from VoLoAgent's FailureSignalDetector / SignalConfig (vlm_orchestrator/failure_handlers/signal_detector.py, NVIDIA, Apache-2.0). It reports what the hand did, not what the object did: re-perceive before relying on where an object went.

同梱ファイル

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

よくある質問

AIスキル「Classifying Failure From Proprioception」では何ができますか?

Classifies the last moments of a manipulation step from proprioception alone - the gripper opening, the tool-centre pose and the arm joints over a short window (passed in from earlier nodes, sampled here, or both) - into stall, never_gripped, fumble, drop, stuck_mid_air or ok, with VoLoAgent's rolling-window rules re-based on the work surface and the gripper's stroke. Use when a graph must know cheaply, with no camera and no force sensor, whether a grasp, lift or carry went wrong and how, before spending a perception or VLM call or choosing a recovery.

TypingMindでClassifying Failure From Proprioceptionを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Classifying Failure From Proprioceptionはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにClassifying Failure From Proprioceptionをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/runtime-si/RoboSkillHub/tree/main/skills/classifying-failure-from-proprioceptionを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Classifying Failure From Proprioceptionを使えるAIモデルはどれですか?

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

Classifying Failure From Proprioceptionで使えるAIモデルの数に制限はありますか?

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

AIスキル「Classifying Failure From Proprioception」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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