Logo de Centering A Part With The Gripper

Centering A Part With The Gripper

Organização
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.

Visão geral

Publicado porruntime-si
RepositórioRoboSkillHub
Nome da habilidadecentering-a-part-with-the-gripper
Estrelas
242
Forks
27
Arquivos incluídos
2
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 2

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por runtime-si no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Centering A Part With The Gripper no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/centering-a-part-with-the-gripper
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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/centering-a-part-with-the-gripper .claude/skills/centering-a-part-with-the-gripper
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Centering A Part With The Gripper em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Centering A Part With The Gripper automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Centering A Part With The Gripper não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Centering A Part With The Gripper faz?

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.

Por que usar Centering A Part With The Gripper no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Centering A Part With The Gripper é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Centering A Part With The Gripper no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/runtime-si/RoboSkillHub/tree/main/skills/centering-a-part-with-the-gripper. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Centering A Part With The Gripper?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Centering A Part With The Gripper?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Centering A Part With The Gripper com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Centering A Part With The Gripper é gratuita?

Sim. A habilidade é publicada no GitHub por runtime-si sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇