Logo: Inserting A Held Peg Top Down

Inserting A Held Peg Top Down

Organisatioun
runtime-si
inserting-a-held-peg-top-down

Inserts a peg that one arm holds top-down (tip below the fingers) into a perceived hole straight down - aligns the tip over the mouth from the hand read back, refines from the wrist camera with the tip and the mouth in the same depth view until the lateral error is under half the clearance, descends with stop-on-contact, runs a bounded spiral (and, with a chamfer, a tilt-then-upright try) if blocked at the mouth, pushes to the target depth with a tracking-lag limit, releases, backs out and probes the peg's top with the closed fingers to tell a tip at depth from a peg that slid up in the grip. Use after a top-down regrasp (handing-over-a-peg-to-a-top-down-grasp gives `held`) when the hole's mouth and depth are perceived (`hole`), on an arm with no force sensor (YAM).

Iwwersiicht

Editeurruntime-si
RepositoryRoboSkillHub
Skill-Numminserting-a-held-peg-top-down
Stären
242
Forks
27
Matgeliwwert Dateien
2
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    runtime-si huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Inserting A Held Peg Top Down an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/inserting-a-held-peg-top-down
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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/inserting-a-held-peg-top-down .claude/skills/inserting-a-held-peg-top-down
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Inserting A Held Peg Top Down an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Inserting A Held Peg Top Down automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Inserting A Held Peg Top Down net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

inserting-a-held-peg-top-down

The third step of the left-side-grasp, right-top-down-regrasp, top-down-insert strategy for elongated parts (pens, pins, dowels, plugs). The right hand holds the peg vertically from above, the tip below the fingers; the hole's mouth is perceived. This skill puts the tip in, pushes it home, and checks where the tip really ended up after letting go.

It composes four hub skills, loaded from beside it (or a GAP_SKILLS_PATH root), and adds the parts a held, top-down peg needs:

stagedone by
align the tip on the hole's axis, standoff (25 mm) over the mouth, refine from the hand read backinserting-a-peg-with-pose-refinement (align_pre_insert)
refine from the wrist camera: tip and mouth in the same depth viewnew (view parsing from correcting-insertion-offset-from-port-opening)
descend with stop-on-contact (contact outcome, or the hand shoved off its line)inserting-a-peg-with-pose-refinement (push_insert, no back-off)
blocked at the mouth: hexagonal spiral, nearest firstgrid from searching-insertion-spiral; probes new (arm_id, tip depth as held)
chamfer: tilt-then-upright, four directionsnew
push to the target depth with a lag limitpressing-in-with-guarded-push (target, max_lag 4 mm)
release, back out, probe the peg's topnew (the probe is a guarded push with closed fingers)

Inputs

  • held (the handover's output): arm ("right" -> arm_id 1), T_TCP_object (the peg's frame in the tool frame: origin on the axis at mid-length), tip_offset_m (used only without a peg length), sigma_mm (sets the spiral's radius: 3 sigma + 1 mm, inside 2-6 mm; and the camera's search band). tip_offset_m and T_TCP_object must come from the grasp height as measured, not as commanded. A hand sent to grip a peg at a given depth below its top can stop on top of it instead and close there: on a real YAM picking pens by the cap, 36 of 40 descents stopped 8-12 mm short (pens task, 2026-11-10), and a pen held back by its socket can slide ~10 mm in the jaws on the lift. The tip then hangs that much lower than the commanded grasp says, the descent meets the face early and the station's reach check fails (15 mm off) before any search. Take the offset from the hand's read-back where it stopped (verifying-grasps verify_reach with approach_start: shortfall_vector) or from a wrist-camera measure of the tip after the lift.
  • hole: T_world_mouth (z into the hole, within 30 deg of straight down), diameter_m, depth_m, chamfer_m (optional; the tilt try needs >= 0.3 mm).
  • peg: length_m, diameter_m, axis_in_object ([0, 0, 1]), tip_end ("+z" / "-z"). Without length_m the top cannot be probed: unverified.
  • finger_reach or hand.tip_reach_m: how far the closed fingertips reach past the tool centre; else robot.describe_gripper's finger.reach_m (10.2 mm on a YAM linear_4310, for example); with neither, hand_geometry_unknown.
  • insert_depth (default: hole depth less 2 mm, capped so the tool centre stays finger_clear over the mouth: by default the fingertip reach + 5 mm), enter_depth (4 mm), mouth_band (3 mm), depth_tolerance (2 mm), slip_tolerance (2 mm), max_lag (4 mm), camera (default: a wrist camera of the holding arm), use_camera, cam_steps (6), max_probes (37), tilt_deg (3), retreat (40 mm), top_probe, release, check_reach, arm_id.

The wrist-camera refinement

The arm's read-back cannot see a peg that sits tilted or off-centre in the fingers, nor a hole estimate that is off. One depth frame from the holding arm's wrist camera sees both:

  • tip: depth points within the peg radius plus a search band of the predicted shaft, above the mouth plane; the lowest 3 mm of them, their centroid pushed away from the camera by 2r/pi (only the near half of the shaft is visible). Its lateral shift corrects the tip-in-hand transform once.
  • mouth: points on the fixture's top face (within 1.5 mm of the mouth plane) round the estimate; per 24 angular bins the innermost is the rim; a Kasa circle through the rims (the peg hides some of them), accepted when its radius is within 30 % of the hole's.

Both are in the same camera frame, so the camera's own extrinsic error mostly cancels in their difference. The hand steps by that difference (at most 1.5 mm a step, 6 mm in all) until it is under half the diametral clearance. A view that does not show both, or a mouth more than 6 mm from the estimate, leaves the arm-only alignment (refined_by: arm) and the spiral covers the rest.

Telling a slipped peg from an inserted one

Without a force sensor the hand cannot feel a peg slide up the fingers: the push reads as free travel (pressing-in-with-guarded-push: "a part that slides is not felt"). So after the release the closed fingers probe down onto where the peg's top should be (a guarded push, resistance from tracking lag). The top's height minus the peg's length is the tip's real depth: within 2 mm of the hand's is inserted, higher is slipped_in_grip.

Simulation check

YAM station twin (MuJoCo at 500 Hz, SIM_GRIP=1), right arm. A 10 x 100 mm peg (32-gon prism, 20 g) stands on the table and the right arm grasps it top-down 15 mm under its top, then lifts it over a 1.5 kg block with a round hole (32 sectors, 30 mm deep, 0.5 mm chamfer). The skill gets a nominal held (the peg on the tool's axis, no tilt, sigma 1.5 mm) and a hole estimate shifted by the case's offset. Simulator ground truth only sets the case up and judges it.

First rollout (clearance 0.5 mm, offset 2 mm, hand tilt 0): the twin's grasp left the peg 5.0 deg tilted and 6.4 mm off-centre in the fingers. The wrist camera gave no reading (refined_by: arm). The descent was blocked at the mouth, and the spiral entered on its second probe. The push took the hand 28.5 mm in, but the peg slid 10.6 mm up the fingers. The top probe reported slipped_in_grip, which was correct: the true tip depth was 6.6 mm. The probe's own estimate of the tip depth was 17.9 mm, off by 11 mm, because the tilted peg's top is not where the probe looked. The rollout took 345 s of wall time.

The sweep is not finished: clearances 1.0 / 0.5 / 0.2 mm, offsets 0 / 2 / 4 mm, hand tilt 0 / 3 deg, 5 seeds each. See the PR for its status.

Limits

  • Vertical holes only (within 30 deg); side insertion is inserting-a-peg-with-pose-refinement on its own.
  • The spiral pitch is sqrt(3) x (radial clearance + chamfer), at least 0.5 mm, 37 probes at most: a 0.2 mm hole with no chamfer relies on the camera.
  • The camera refinement needs depth on a thin shaft and a flat top face round the hole; a dark, unlit or reflective hole may give no reading.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Inserting A Held Peg Top Down?

Inserts a peg that one arm holds top-down (tip below the fingers) into a perceived hole straight down - aligns the tip over the mouth from the hand read back, refines from the wrist camera with the tip and the mouth in the same depth view until the lateral error is under half the clearance, descends with stop-on-contact, runs a bounded spiral (and, with a chamfer, a tilt-then-upright try) if blocked at the mouth, pushes to the target depth with a tracking-lag limit, releases, backs out and probes the peg's top with the closed fingers to tell a tip at depth from a peg that slid up in the gri...

Firwat Inserting A Held Peg Top Down op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Inserting A Held Peg Top Down besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Inserting A Held Peg Top Down an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/runtime-si/RoboSkillHub/tree/main/skills/inserting-a-held-peg-top-down an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Inserting A Held Peg Top Down benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Inserting A Held Peg Top Down benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Inserting A Held Peg Top Down domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Inserting A Held Peg Top Down gratis?

Jo. runtime-si huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇