Logo di Classifying Failure From Proprioception

Classifying Failure From Proprioception

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

Panoramica

Pubblicato daruntime-si
RepositoryRoboSkillHub
Nome della skillclassifying-failure-from-proprioception
Stelle
242
Fork
27
File inclusi
2
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da runtime-si su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Classifying Failure From Proprioception in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/classifying-failure-from-proprioception
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Classifying Failure From Proprioception in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Classifying Failure From Proprioception non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Classifying Failure From Proprioception non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Classifying Failure From Proprioception su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Classifying Failure From Proprioception è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Classifying Failure From Proprioception in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/runtime-si/RoboSkillHub/tree/main/skills/classifying-failure-from-proprioception. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Classifying Failure From Proprioception?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Classifying Failure From Proprioception?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Classifying Failure From Proprioception: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Classifying Failure From Proprioception è gratuita?

Sì. È pubblicata su GitHub da runtime-si con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇