Aligning Parts By Connector Constraintsのロゴ

Aligning Parts By Connector Constraints

組織
runtime-si
aligning-parts-by-connector-constraints

LEGOまたはDUPLOの組み立てに関するコネクタレベルの指示(「パーツPのチューブをベースBのスタッドに合わせ、Pのスタッド(a, b)をBのスタッド(i, j)の上に配置し、rだけ回転する」)を、正確なプレート上のセル、層、ワールド座標の姿勢に変換します。スタッド格子上で依存関係の順に解きます(Manual2Skill++のコネクタ対応姿勢アラインメント。スタッドとチューブの場合は整数格子の計算に相当します)。2つの指示で指定されたパーツ(2つのベースにまたがるブリッジなど)は、どちらの指示から求めても同じ結果になる必要があります。対応していないパーツ(ベースのスタッドに乗らないもの)、重なり、循環依存、未知のベース、プレートからはみ出すパーツは報告されます。planning-brick-assembly-orderが読み取る手順と、computing-brick-pose-from-stud-gridが使うパーツごとのセル位置を出力します。組み立て手順書のページを読むVLMや、「赤い2x4の左側の2つのスタッドに1x2を置いて」といった人の指示など、LDrawファイルではなくコネクタ単位で組み立て内容が記述され、正確なスタッド格子上の位置が必要な場合に使用します。

概要

公開者runtime-si
リポジトリRoboSkillHub
スキル名aligning-parts-by-connector-constraints
スター
242
フォーク
27
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    runtime-siがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Aligning Parts By Connector Constraints」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/aligning-parts-by-connector-constraints
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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/aligning-parts-by-connector-constraints .claude/skills/aligning-parts-by-connector-constraints
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAligning Parts By Connector Constraintsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAligning Parts By Connector Constraintsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Aligning Parts By Connector Constraintsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

aligning-parts-by-connector-constraints

A manual page or a person describes a build by its connections: this brick on those studs of that one, turned this way. Manual2Skill++ turns such connector statements into 6D part poses by aligning connector frames. For studs and tubes every connector frame is a lattice node with a vertical axis, so the alignment is exact integer arithmetic; this skill does that part.

Statements

{part, on, at: [i, j], rotation, part_stud: [a, b]}: part's stud part_stud (default its stud (0, 0)) goes over the base's stud at, in the base's own stud coordinates (u along its first size number, v along its second), with the part turned rotation degrees (0, 90, 180, 270) about +z relative to the base. on: "plate" (or plate.id) is the baseplate, coordinates (0, 0) at its corner. size "AxB" (or in parts), height_units 3 for a brick and 1 for a plate.

How it solves

  1. Read the statements; a part's size and height come from parts, else from its first statement (a later different size is a conflict).
  2. Repeatedly place every part whose bases are all placed (cycles and unknown bases are reported): the part's stud (0, 0) goes to base.stud(at - R_r(part_stud)), its rotation is the base's plus r, its bottom on the base's top (base z + base height).
  3. Checks: at least min_support (1) of its studs sit over the base's studs; the same cells and height (rotation modulo the brick's symmetry) from every statement that names it; no shared cell with a part whose height range overlaps; inside the plate's stud area.
  4. Out: per part the plate cell of its footprint's corner (cell x, y, layer, rotation), spans, z_units, height_units, kind, step; with plate.origin the footprint centre's world position and yaw (cells to metres by the pitch, 8 mm LEGO / 16 mm DUPLO); steps_json is one step per part in solve order, in planning-brick-assembly-order's format.

Checked

No arm motion, no robot tools. Tests (tests/bundles/test_aligning_parts_by_connector_constraints.py): a turned brick on a brick, a part-stud anchor on a turned base, a bridge spelled from both bases (agreeing and disagreeing), each inconsistency kind, one-stud overhangs and min_support, world poses on a turned plate, plates stacking by their own height, and two LDraw models round-tripped: the hub's brick plans for pyramid.ldr (13 bricks) and the 1869 South African Flag (82 bricks) re-written as connector statements (each brick on the plate or on a brick under it, at that base's stud of its own stud (0, 0)) and solved back - every brick's cells and height identical to the plan - then fed to planning-brick-assembly-order, which places all of them (finger check off).

Limits

  • Stud-to-tube connections only (no SNOT, Technic pins, hinges, jumper half-stud offsets).
  • The statements must already be in stud coordinates; turning a manual page into them is a VLM's job (extracting-a-subassembly-tree-from-manual-pages or a prompt), and its mistakes come out as constraints_inconsistent only when they are inconsistent.
  • No stability analysis (checking-design-connectivity-and-collisions).

Provenance

The connector-alignment idea is Manual2Skill++'s (Tie et al., ICRA 2026). Its repository has no licence, so nothing was copied; for LEGO the solver is a few lines of lattice arithmetic written here. The lattice and cell conventions are computing-brick-pose-from-stud-grid's and planning-brick-assembly-order's.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Aligning Parts By Connector Constraints」では何ができますか?

LEGOまたはDUPLOの組み立てに関するコネクタレベルの指示(「パーツPのチューブをベースBのスタッドに合わせ、Pのスタッド(a, b)をBのスタッド(i, j)の上に配置し、rだけ回転する」)を、正確なプレート上のセル、層、ワールド座標の姿勢に変換します。スタッド格子上で依存関係の順に解きます(Manual2Skill++のコネクタ対応姿勢アラインメント。スタッドとチューブの場合は整数格子の計算に相当します)。2つの指示で指定されたパーツ(2つのベースにまたがるブリッジなど)は、どちらの指示から求めても同じ結果になる必要があります。対応していないパーツ(ベースのスタッドに乗らないもの)、重なり、循環依存、未知のベース、プレートからはみ出すパーツは報告されます。planning-brick-assembly-orderが読み取る手順と、computing-brick-pose-from-stud-gridが使うパーツごとのセル位置を出力します。組み立て手順書のページを読むVLMや、「赤い2x4の左側の2つのスタッドに1x2を置いて」といった人の指示など、LDrawファイルではなくコネクタ単位で組み立て内容が記述され、正確なスタッド格子上の位置が必要な場合に使用します。

TypingMindでAligning Parts By Connector Constraintsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Aligning Parts By Connector Constraintsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAligning Parts By Connector Constraintsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/runtime-si/RoboSkillHub/tree/main/skills/aligning-parts-by-connector-constraintsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Aligning Parts By Connector Constraintsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Aligning Parts By Connector Constraintsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAligning Parts By Connector Constraintsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Aligning Parts By Connector Constraints」は無料ですか?

はい。runtime-siがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇