Logo di Following A Visual Plan

Following A Visual Plan

Organizzazione
runtime-si
following-a-visual-plan

Follows a visual plan from robobrain.trace or molmo-motion.forecast (the shared visual-plan schema) the way those models can be trusted - the plan's endpoint pixel becomes a target lifted with the measured depth and the calibrated camera (not the model's depth), checked (on the table, in reach by IK preview, optionally against a pointing model for the target phrase), and geometry decides the motion - rise, travel at a height that clears the measured scene (optionally through the plan's path), hover above the target, descend to the caller's goal height or a clearance over the object's measured top. Optionally asks the planner once more from a fresh frame when a check fails. Use when a model proposes where something should go ("place the cube in the box", "move the cable end to the ring") and the hand should be brought there, above or into the target, before a placing, inserting or releasing step.

Panoramica

Pubblicato daruntime-si
RepositoryRoboSkillHub
Nome della skillfollowing-a-visual-plan
Stelle
242
Fork
27
File inclusi
3
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: 3

    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 Following A Visual Plan 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/following-a-visual-plan
  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/following-a-visual-plan .claude/skills/following-a-visual-plan
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Following A Visual Plan 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 Following A Visual Plan 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 Following A Visual Plan 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à.

following-a-visual-plan

A trajectory model's plan is good in the image and poor in 3D. On real YAM station frames RoboBrain 2.5's traces ended on the right target 12/12 times (cube into the box), but their heights were a generic lift-and-arc ending 14-28 cm over the target, and the model's own depth read 25-45 % short (tools/robobrain, Measured). MolmoMotion forecasts only motion already under way: from a still frame it returned none. So this skill keeps only the image part of a plan and lets measured geometry do the rest.

Two scripts with a clean hand-off:

  • propose_target_from_plan (stage propose): plan or instruction (+ observation) -> proposal, target_point, goal_pose, hover_pose, waypoints, approach_direction, target_obb. Routes proposed / plan_rejected / no_plan. Moves nothing.
  • follow_proposal (stage execute): proposal -> routes arrived / unreachable.
text
propose_target_from_plan
    proposed      -> [previewing-target-overlay: goal_pose + intent] -> follow_proposal
    plan_rejected -> re-perceive / another planner / ask a human
    no_plan       -> start the motion another way (a policy, executing-keypoint-motion)
follow_proposal
    arrived       -> placing-with-contact-descent (place_position = target_point) / open / insert
    unreachable   -> recover

target_obb (a column from the table to the measured top at the target) is in approaching-above-a-target's input shape, so a graph that wants that skill's hover (rise in place, keep the rotation, 12 cm over the top) can use it in place of follow_proposal.

The plan

The visual-plan schema (tools/molmo-motion/SKILL.md): found, tracks[i] with query_pixel (the start) and pixels ([F][u, v], the keypoints after it, in order), plus 3D fields this skill ignores. Pass a plan computed elsewhere as plan, or let the skill ask planner (default robobrain.trace; molmo-motion.forecast or any tool returning the schema) with the camera's RGB, depth, intrinsics and pose, the instruction, and start_pixel as start_point (query_points for a *.forecast tool, which requires it). planner_args adds or overrides arguments (mode="object").

Proposing

  1. Endpoint: the track's last pixel. Within MIN_PLAN_PX (12 px) of the start is no_plan; outside the image is plan_rejected.
  2. Target: the endpoint lifted with the median measured depth of a 7 x 7 window and the camera's intrinsics and camera-to-world pose (the surface the plan points at: a box's floor, the board under a ring).
  3. On the table: the table plane is table_z, else robot.describe_workspace's surface_z, else the depth image's fullest 4 mm height bin. A target more than on_table_tolerance (2 cm) under it (the floor past the table's edge) or max_target_height (0.30 m) over it, or outside workspace_bounds ({"x": [lo, hi], "y": [lo, hi]}), is rejected.
  4. Object top: the 5th-highest measured point within top_radius (6 cm) of the target, the hand itself excluded (a box's rim, not its floor).
  5. Goal height: goal_height (world z of the tool centre) when given, else the top + goal_clearance (3 cm); never under 15 mm over the table.
  6. Approach direction: the plan's last segment in the image, carried to the target's height: the side the plan comes from (approach_direction, a horizontal unit vector). With approach_offset > 0 the route passes that far back along it before the hover.
  7. Travel height: at least travel_height (12 cm) over the table and travel_clearance (8 cm) over the object's top, then raised until it clears by travel_clearance everything the depth image shows in a 4 cm corridor under every travel leg (hand -> waypoints -> target), the hand excluded. Over max_travel_height (0.35 m) is rejected.
  8. Waypoints (follow_path, default off): every path pixel but the last, carried along its camera ray to the travel height (where a point at that height would be seen at that pixel), closer than 3 cm to the previous or to the target dropped, unreachable ones (IK preview) dropped.
  9. Reach: robot.solve_ik previews the hover and the goal with the hand's current rotation, then robot.grasp_frame's top-down rotation and its flip (allow_top_down); the first that reaches both is used. None is plan_rejected. A connector without IK preview skips this.
  10. Cross-check (target_phrase): cross_check_tool (gemini-er.point; locate-anything.point, robobrain.point take the same call) points at the phrase on the same frame; its nearest point, lifted the same way, must be within cross_check_tolerance (5 cm) of the target. No point is plan_rejected; a tool that raised is noted in detail and does not block.
  11. Replan (replan, default off; needs instruction): when the first plan routes no_plan or plan_rejected, take a fresh robot.get_observation and ask the planner once more; detail lists both. RoboBrain decodes greedily, so the same frame gives the same plan: a replan helps after the scene or the hand moved, or when the first plan was computed earlier and passed in.

Following

Rise in place to the travel height (robot.go_to_pose, as approaching-above-a-target does), then straight-line legs (robot.go_to_pose_cartesian) through the waypoints to the hover above the target and straight down to the goal, all with the chosen rotation. Every refused move (raised, or reached: false / an outcome other than reached) routes unreachable with its leg, except a servo timeout that left the hand within reach_tolerance of the leg's end (read back), which continues and is named in detail (the YAM twin's servo timed out 4-5 mm over the goal on 7 of 13 descents); arrival is judged from a fresh robot.get_ee_pose against reach_tolerance (15 mm, no tighter than a real station's 12 mm per move). tolerance / max_steps go to the free move only when set; arm_id only when nonzero.

The constants, and why

  • MIN_PLAN_PX = 12: MolmoMotion moved a still cube or cable tip 0-3.5 mm (~0-2 px at 0.9 m); RoboBrain's plans moved 50-150 px.
  • ON_TABLE_TOLERANCE = 0.02, MAX_TARGET_HEIGHT = 0.30 m: a few times the calibrated camera's 5.4 mm RMS; anything higher is an arm or a held object, not a place.
  • TOP_RADIUS = 0.06 m: reaches a 100 mm box's walls from its centre. TOP_RANK = 5: a 2.3 mm rim is a few per cent of that disc, so a percentile misses it; the 5th-highest of every 2nd pixel ignores single noisy edge pixels.
  • GOAL_CLEARANCE = 0.03 m: a 30 mm part under the hand clears the rim.
  • TRAVEL_HEIGHT = 0.12 m: approaching-above-a-target's and executing-keypoint-motion's hover clearance. TRAVEL_CLEARANCE = 0.08 m: placing-with-contact-descent's approach height. MAX_TRAVEL_HEIGHT = 0.35 m: RoboBrain's own arcs rose to 0.22-0.33 m.
  • CORRIDOR_RADIUS = 0.04 m: half an open linear_4310's 94 mm span. HAND_RADIUS = 0.08 m (from 6 cm under the tool centre up): the hand and fingers in the depth image.
  • CROSS_CHECK_TOLERANCE = 0.05 m: half the box; RoboBrain's cable endpoints missed a ring by 20-35 px (~4-7 cm at 0.9 m), which this rejects.
  • MIN_TOOL_HEIGHT = 0.015 m: a real YAM station refuses a tool centre under 14 mm over its table.
  • REACH_TOLERANCE = 0.015 m: placing-with-contact-descent's.

Measured

Simulation (2026-11-07, YAM station twin on a shared Brev L40S, left arm, rendered top-camera RGB-D at the calibrated pose). The twin's camera puts the box floor 2 px and the cube 0.4 px from where the fit to the real frame saw them. Each of RoboBrain's 12 saved cube-to-box plans on the real frame (tests/bundles/data/robobrain_traces_station.json, both modes, with and without a start and depth anchor) went through both scripts with the default arguments, plus one run of the plan through the graph's own nodes (13 runs):

result
proposed13/13; measured top 42.0-42.1 mm over the table (the box is 40 mm), travel 122 mm
arrived13/13; 7 of them after a descent timeout 4.1-4.9 mm short, which the read-back accepts
position error (skill's reading)1.7-4.9 mm, median 4.1 mm
target from the box's centre8.4-48.9 mm, median 20.7 mm (the inner half-width is 47.7 mm)
hand inside the walls (simulator truth)12/13: cube0/end_effector/start ended 0.9 mm past the inner wall, over the far wall, where its endpoint pixel is (3.7 px inside the box's far edge)
hand over the rim31.3-34.5 mm over the true rim (42 mm: a 40 mm box on the 2 mm cloth; goal: measured top + 30 mm)
rejectionsan endpoint on the floor past the table's edge (616 mm under the table plane) and one off the image: plan_rejected, hand moved 0.0 mm

Before the timeout read-back was added, the same run routed 3 of its first 5 descents unreachable with the hand 3.8-4.9 mm over the goal. The no-depth rejection was not exercised (the render had no invalid depth); it and the pointing cross-check are covered by the unit tests only. No planner model was called during the simulation: the plans are robobrain.trace's real answers on the real frame, replayed. Each run took ~4 min of wall time on a GPU shared with other simulators at 100 % utilization.

Unit tests (40, FakeContext) put every saved trace through a ray-cast depth image of the same scene built from the station's calibration (camera pose and intrinsics, table at -21 mm, box and cube where the twin's fit put them): 12/12 over the box, 11/12 inside its walls (the same far-wall endpoint). On the cable frame, the depth-anchored "insert the free end of the white cable into the left black ring" trace ends within 5 cm of a point on that ring (proposed) and "move ... through the black ring" ends 40 px off it (rejected by the cross-check).

The approach direction. The plan's last segment, carried to the target's height, points mostly toward the camera (-y in the station frame) on these traces: on the tilted overhead camera the descent at the end of RoboBrain's arc projects as motion down the image. approach_from: whole_path (start to end) gives the lateral direction instead (+x, cube to box, 12/12 in the unit tests). Neither is a 3D approach axis.

Not run: a live planner call from the skill, the cross-check against a live pointing model, replan, follow_path waypoints and an obstacle-raised travel height in the twin (unit tests only), and anything on a real YAM.

Provenance

Written for the hub (no upstream code). The design follows the live checks of the hub's robobrain and molmo-motion tools on real YAM station frames (2026-11-07): RoboBrain 2.5 (BAAI, arXiv:2601.14352, Apache-2.0 weights) places the endpoint right in the image but not in depth or height; MolmoMotion continues motion and does not invent it.

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 Following A Visual Plan?

Follows a visual plan from robobrain.trace or molmo-motion.forecast (the shared visual-plan schema) the way those models can be trusted - the plan's endpoint pixel becomes a target lifted with the measured depth and the calibrated camera (not the model's depth), checked (on the table, in reach by IK preview, optionally against a pointing model for the target phrase), and geometry decides the motion - rise, travel at a height that clears the measured scene (optionally through the plan's path), hover above the target, descend to the caller's goal height or a clearance over the object's measur...

Perché usare Following A Visual Plan su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Following A Visual Plan è 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 Following A Visual Plan in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/runtime-si/RoboSkillHub/tree/main/skills/following-a-visual-plan. 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 Following A Visual Plan?

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 Following A Visual Plan?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Following A Visual Plan: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Following A Visual Plan è 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 👇