Classifying Failure From Proprioception logo

Classifying Failure From Proprioception

Organization
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.

Overview

Publisherruntime-si
RepositoryRoboSkillHub
Skill nameclassifying-failure-from-proprioception
Stars
242
Forks
27
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by runtime-si on GitHub. Read the source before you install it.

Installation

Install the Classifying Failure From Proprioception AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/classifying-failure-from-proprioception
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Classifying Failure From Proprioception in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Classifying Failure From Proprioception on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Classifying Failure From Proprioception is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Classifying Failure From Proprioception AI skill do?

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.

Why use Classifying Failure From Proprioception on TypingMind?

Because you install it once and use it with any model. Classifying Failure From Proprioception is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Classifying Failure From Proprioception in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/runtime-si/RoboSkillHub/tree/main/skills/classifying-failure-from-proprioception. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Classifying Failure From Proprioception?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Classifying Failure From Proprioception?

As many as you like. As long as a model supports skills, you can use Classifying Failure From Proprioception with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Classifying Failure From Proprioception AI skill free?

Yes. It is published on GitHub by runtime-si under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇