Logo von Computing Stable Placements

Computing Stable Placements

Organisation
runtime-si
computing-stable-placements

Enumerates the stable resting faces of a rigid object - from its oriented bounding box or a perceived point cloud closed down to the table - by convex hull and centre-of-mass projection, and reports for each rest the tipping angle, the centre-of-mass height, the turn from the object's current orientation that puts that face down, its footprint, and (given a goal point) the resting pose; also says which rest the object is on now, or that it is on none (leaning, tilted, held). Routes placements or no_stable_pose. Use when a graph must choose how to set a part down (a brick, a domino on its end or flat, a jigsaw piece), decide whether a part lying on the table needs a regrasp or flip, or reject a placement too easy to tip; geometry only, no motion.

Übersicht

Herausgeberruntime-si
RepositoryRoboSkillHub
Skill-Namecomputing-stable-placements
Sterne
242
Forks
27
Mitgelieferte Dateien
2
LizenzBSD-2-Clause
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 2

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von runtime-si auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Computing Stable Placements in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/computing-stable-placements
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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/computing-stable-placements .claude/skills/computing-stable-placements
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Computing Stable Placements in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Computing Stable Placements automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Computing Stable Placements nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

computing-stable-placements

Which faces can this part rest on, how firmly, and how far must it turn to get there?

text
perceive (OBB or cloud) -> rests (this skill) -> choose a rest -> place / flip / regrasp

What it computes

TSR's stable_poses_mesh, unchanged in substance: the convex hull of the object, its facets grouped into faces by coplanarity (a 4D grid over normal and offset, matched against each group's first plane), and for each face the centre of mass projected onto it. A face is a rest when the projection lies inside the face's support polygon (the 2D hull of its contact points) by more than the length tolerance; the tipping angle is atan(support_margin / com_height): how far the object must be tilted about the nearest support edge before the COM passes over it. Rests are sorted most stable first (upstream place_mesh).

Each rest in rests:

fieldmeaning
label+x ... -z (the OBB's local face) or face-k for a cloud
tipping_deg, support_margin_m, com_height_mstability, as above
center_height_mheight of the reference point (OBB centre, or the COM for a cloud) over the support when resting
turn_deg, rotation_to_restthe minimal world rotation from the current orientation that puts this face down (yaw is then free)
face_normal_worldthe face's outward normal now
footprint_radius_mfarthest horizontal reach from the COM at rest (what a free yaw sweeps)
posewith goal_position: the reference point's world pose resting there (rotation = rotation_to_rest x current)

current_index is the rest whose face points within current_tol_deg (10) of straight down, or -1: the object is not resting on a stable face (tilted, leaning on something, or held).

Inputs

  • object_obb (world, half-extents): the exact path, a box with the COM at its centre unless com is given. Use it for bricks, dominoes, holders, jigsaw pieces.
  • points (world cloud) with support_z: a top-down camera sees no underside, so the cloud is closed down to the support:
    • closing: prism (default): footprint of the points in the upper half of the object's height (mixed depth pixels at the edges fall below it), simplified (3 mm Douglas-Peucker) and extruded from the support to the top (p98). Exact geometry, so upstream's tight tolerances apply.
    • closing: drop: every point plus its drop onto the support; the hull of the raw cloud, with faces merged within 0.05 rad and 2 mm.
    • closing: none / no support_z: the cloud as given (a registered mesh's vertices, a multi-view scan).
  • com: defaults to the OBB centre or the hull's volume centroid (uniform density). Pass it for top-heavy or compound parts.
  • min_margin_deg (0, upstream's default): drop rests that tip more easily. 5 degrees removes the knife-edge rests a noisy footprint produces.
  • surface_half_extents [hx, hy]: drop rests whose footprint does not fit at every yaw (upstream _fits, about the COM here).

Checks

Exact geometry (unit tests): a domino 48 x 24 x 7.5 mm and a LEGO 2x4 brick 31.8 x 15.8 x 11.4 mm give six rests each with tipping angles equal to the analytic atan(min half-side / half-height) to 0.01 deg (domino: flat 72.65, on its long edge 17.35, on its end 8.88; brick: 54.19 / 35.81 / 19.72). A COM moved 10 mm toward one end of the domino gives 15.0 and 6.3 deg on the two ends (atan(3.75/14), atan(3.75/34)). A box cloud tilted 30 deg reports six rests with turns 30.6 / 60 / 90 / 120 / 150 deg and no current rest.

Real station (overhead D405 frame top_before.npz of a gsota probe run, points inside each holder's measured footprint + 6 mm, over the table), against the holders' wrist-measured boxes:

grey holder (wrist: 76.2 x 100.4 x 24.5 mm)restsflat rest: tipping, COM heightcurrent
measured box, OBB path672.2 deg, 12.2 mmflat
OBB fitted to the cloud (minAreaRect of the upper points, p98 top: 73.0 x 97.0 x 23.7 mm)672.0 deg, 11.8 mm; sides 18.0 / 13.7 deg vs 17.8 / 13.7flat
cloud, prism (7-gon 73.0 x 99.5 x 23.7 mm)768.8 deg, 11.8 mmflat
cloud, drop (raw hull)376.1 deg, 9.3 mmflat
  • For box-like parts fit an OBB first. The fitted OBB matched every rest of the measured box within 0.2 deg and 1.7 mm. The prism keeps the flat rest and the current one right, but its footprint polygon has cut corners (the holder's footprint fills 78 % of its rectangle), so one short side splits into two bent segments: rests at 4.0 deg and the side angles off by up to 3 deg. The raw drop hull is a rounded frustum (mixed pixels widen its base to 88 x 112 mm): 3 rests of 6, COM 3 mm low.
  • Uniform density is an assumption. The black holder with 12 markers standing in it (cloud top 126 mm) becomes a solid 68 x 91 x 124 mm prism whose most stable rest is on its side (34 deg vs 25.6 deg upright); the real object's mass is in the holder. Pass com for such parts.
  • No arm motion, so no simulation check; nothing was placed to confirm a rest physically.

Relation to other skills

  • standing-a-lying-domino-by-reorient-and-regrasp, tipping-over-a-surface-edge: the motions that change the rest; this skill says which rest to aim for and whether the part is on one now.
  • placing-with-contact-descent / placing-into-container-obb: use best_pose / center_height_m for the release height.

Changes from TSR

Adapted from src/tsr/placement/_stable_poses.py and the place_mesh / _fits logic of stable_placer.py (BSD-2-Clause, licence in LICENSE.tsr):

  • Input is a world OBB or a perceived cloud instead of a mesh in its own frame; the cloud closings (prism, drop) and the cloud tolerances are new.
  • COM defaults to the hull's volume centroid.
  • Output is per-rest world numbers (turn, normal now, pose at a goal) instead of TSR templates with sampling bounds; the current rest is identified.
  • The surface fit is measured about the COM, from given half-extents.
  • The analytic primitives (cylinder, sphere, torus, compound shapes) are not ported; a cylinder lying on its side is not a rest in upstream either.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Computing Stable Placements?

Enumerates the stable resting faces of a rigid object - from its oriented bounding box or a perceived point cloud closed down to the table - by convex hull and centre-of-mass projection, and reports for each rest the tipping angle, the centre-of-mass height, the turn from the object's current orientation that puts that face down, its footprint, and (given a goal point) the resting pose; also says which rest the object is on now, or that it is on none (leaning, tilted, held). Routes placements or no_stable_pose. Use when a graph must choose how to set a part down (a brick, a domino on its en...

Warum Computing Stable Placements in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Computing Stable Placements besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Computing Stable Placements in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/runtime-si/RoboSkillHub/tree/main/skills/computing-stable-placements ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Computing Stable Placements nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Computing Stable Placements verwenden?

So viele Sie möchten. In TypingMind können Sie Computing Stable Placements mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Computing Stable Placements kostenlos?

Ja. Der Skill wird von runtime-si auf GitHub unter der Lizenz BSD-2-Clause veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇