Logo van Centering A Part With The Gripper

Centering A Part With The Gripper

Organisatie
runtime-si
centering-a-part-with-the-gripper

Centres a loose part between the jaws without perceiving it - closes on it, opens, turns the wrist a quarter turn about the hand's approach axis, closes again (each close squares the part up along one axis), opens and turns back; fails when the jaw gap after a close says nothing is between the pads. Use when the hand already stands around a small part whose estimated position is a few millimetres off (before a pick that must be centred, an insertion of a plug or peg, or threading a ring held in the fingers), the part is free to slide on its support, and the hand is open or empty.

Overzicht

Uitgeverruntime-si
RepositoryRoboSkillHub
Skillnaamcentering-a-part-with-the-gripper
Sterren
242
Forks
27
Meegeleverde bestanden
2
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 2

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door runtime-si op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Centering A Part With The Gripper in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/centering-a-part-with-the-gripper
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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/centering-a-part-with-the-gripper .claude/skills/centering-a-part-with-the-gripper
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Centering A Part With The Gripper in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Centering A Part With The Gripper automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Centering A Part With The Gripper niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

centering-a-part-with-the-gripper

Square a small loose part up between the jaws by touch, with no camera. A parallel gripper closing on a part pushes it toward the jaws' midline along the closing axis; turned a quarter turn and closed again it does the same along the other axis, so after two closes the part sits under the tool centre in both horizontal directions.

The motion

  1. Close (robot.close_gripper). If the measured jaw gap is within min_held_width of the closed stop, open and exit nothing_caught.
  2. Open (robot.open_gripper).
  3. Turn the wrist turn_deg (90) about the hand's approach axis, in place, with robot.go_to_pose_cartesian; judge the turn from a fresh robot.get_ee_pose. If it does not arrive, try the opposite turn (o2ac does the same). If neither does, turn the last joint by the same amounts with robot.move_to_joints from the joints read at the start (joint_fallback); either quarter turn counts. If nothing arrives, exit unreachable.
  4. Close again, with the same empty check (open, turn back, nothing_caught).
  5. Open (skip with release=false to keep the part held), and turn back to the start rotation (return_to_start, default true).

The jaw gap is robot.close_gripper's returned position (or robot.get_gripper), 1.0 = open, converted to metres through robot.describe_gripper's width_fit (or span_m), as verifying-grasps does. A hand that cannot be read is treated as holding something: absent evidence is not a failed centring.

Inputs (all optional)

  • check_held (true): the empty-close test after each close.
  • min_held_width (0.003 m): a close ending within this of the closed stop held nothing. Lower it for parts thinner than about 4 mm.
  • turn_deg (90), clockwise (false): the turn tried first.
  • return_to_start (true), release (true), skip_first_close (false): o2ac's move_back_to_initial_position and skip_first_grasp; release is new.
  • joint_fallback (true): turn the last joint when a pose turn does not arrive. An IK that leaves wrist roll free (RoboSimStudio's default on the YAM) reaches the turned pose without turning; o2ac's own docstring turns "the robot's last joint". A connector that refuses joint moves (the real YAM station bridge) just routes the refusal.
  • rotation_tolerance_deg (10), position_tolerance (0.015 m): arrival bounds of the turn.
  • arm_id (0), passed to the connector only when nonzero.

Preconditions

  • The hand already stands around the part: top-down over it, tool centre at the part's height, the part inside the open jaws in both directions. The skill does not move the hand down or sideways.
  • The part slides on its support and is narrower than the open hand. Neighbours within the open jaws' sweep (the fingers turn through a quarter circle) get pushed too.

Outputs

first_width, second_width (m, -1 when not measured), turned_deg (the turn that arrived, signed, as read back), turned_by (pose or last_joint), returned. The part's position is not measured: the exit says the hand closed on something twice, not where the part ended. Re-perceive it if that matters.

The constants, and why

  • TURN_DEG = 90: o2ac's tau / 4; two closes square the part along two perpendicular axes.
  • MIN_HELD_WIDTH = 0.003 m: o2ac's simple_gripper_check fails under 1 mm (6 mm on its imprecise hand); 3 mm is the hub's verifying-grasps margin, set from an empty close measured at 1.8 mm.
  • ROTATION_TOLERANCE_DEG = 10, POSITION_TOLERANCE = 0.015 m: no tighter than the connectors' own arrival bounds (a servo's 3 deg / 4 mm, a real YAM station's 0.04 rad / 12 mm per move).

Measured in a YAM station twin

RoboSimStudio's YAM station twin (left arm, linear_4310 hand, a 30 mm cube on the table), one rollout, default inputs. A setup script stood the open hand top-down with robot.grasp_frame's rotation, tool centre about 19.7 mm over the cube's bottom (the descent to 18 mm stopped 1.7 mm short), offset from the cube's centre; sim.get_object_obb measured the cube against robot.get_ee_pose before and after:

asked offset (mm)cube off the tool centre beforeafterjaw gap at the two closes
+8, 07.8 mm0.22 mm31.7 / 31.4 mm
0, +87.8 mm0.09 mm31.4 / 31.5 mm
+6, -68.2 mm0.17 mm31.4 / 31.4 mm
-5, +78.6 mm0.39 mm31.4 / 31.4 mm
+7, +79.6 mm1.11 mm31.4 / 31.4 mm
-10, 010.1 mm0.72 mm31.4 / 31.7 mm (first / second)

All six exited centered and turned back. The cube never tipped (tilt 0.0 deg) and turned at most 6 deg about the vertical. Over empty table (the hand 120 mm from the cube) the first close read 0.0 mm and the skill exited nothing_caught without turning; the cube did not move.

The twin's IK leaves wrist roll free, so every pose turn "arrived" without turning the hand (read back 90 deg off): the turns ran by the last joint, and the turn back likewise. A first rollout without the joint fallback routed all six unreachable; its first close alone had already centred the cube along the jaws' axis (0, +8 mm: 7.8 to 0.43 mm) and left it 7.8 mm off across them, which is what the second close is for. On a real YAM station the pose turn is expected to arrive (its IK solves the full rotation) and robot.move_to_joints is refused; that path has not been run on hardware.

Provenance

Adapted from o2ac-ur's center_with_gripper and simple_gripper_check (catkin_ws/src/o2ac_routines/src/o2ac_routines/common.py, MIT, Team O2AC, World Robot Summit 2020 assembly). Changed: robot.* connector tools instead of MoveIt and the Robotiq driver; the hand opens fully between closes instead of to a commanded opening_width, because the YAM station offers only open and close; the empty test converts the jaw gap through robot.describe_gripper; the turn is about the hand's approach axis from its current rotation, judged from a fresh pose reading; refused moves route instead of raising; release is new. o2ac's gripper force and speed arguments have no counterpart here.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Centering A Part With The Gripper?

Centres a loose part between the jaws without perceiving it - closes on it, opens, turns the wrist a quarter turn about the hand's approach axis, closes again (each close squares the part up along one axis), opens and turns back; fails when the jaw gap after a close says nothing is between the pads. Use when the hand already stands around a small part whose estimated position is a few millimetres off (before a pick that must be centred, an insertion of a plug or peg, or threading a ring held in the fingers), the part is free to slide on its support, and the hand is open or empty.

Waarom Centering A Part With The Gripper gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Centering A Part With The Gripper bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Centering A Part With The Gripper in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/runtime-si/RoboSkillHub/tree/main/skills/centering-a-part-with-the-gripper. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Centering A Part With The Gripper gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Centering A Part With The Gripper gebruiken?

Zoveel als je wilt. Je kunt Centering A Part With The Gripper gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Centering A Part With The Gripper gratis?

Ja. Deze skill is door runtime-si op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇