Verifying Modelsのロゴ

Verifying Models

コミュニティ
lukapiskorec
verifying-models

Use when setting up or running the render-inspect-revise loop for a generated model, when an overlap check reports pairs, or when a model looks right but has not been verified.

概要

公開者lukapiskorec
リポジトリcraftbot
スキル名verifying-models
スター
191
フォーク
29
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lukapiskorec/craftbot.git /tmp/craftbot
mkdir -p .claude/skills
cp -r /tmp/craftbot/skills/verifying-models .claude/skills/verifying-models
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にVerifying Modelsを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Verifying models

Overview

Two verification channels catch disjoint defect classes, and neither substitutes for the other. The numeric overlap check sees penetrations that renders hide; renders see absence that the check is structurally blind to. In one full run, every collision was found by the check and none by the renders, while the one missing-geometry defect survived three iterations until a render view exposed it.

The numeric channel

  • If a collision check script exists in the repo's tools, use it to verify model intersections; otherwise, check element intersections directly by examining the model file. The proven form: a separating-axis test over every member pair (face normals plus edge cross products as candidate axes, AABB broad phase), run after every render, at 1 mm tolerance. Touching faces report zero, so legitimate contact (bearing, laps, decks on joists) is not noise. Cheap even at thousands of members.
  • Log two numbers per version: member count and penetrating-pair count. The pair is the regression metric. A count rising after a feature addition is the expected signal, not a surprise; new element families reopen collisions against every family already present, so budget a fix version after a multi-family addition.
  • Assert buildability constraints on derived values inside the script (a derived position stays inside its support, a brace clears its rafter), so a later parameter change fails loudly instead of producing a plausible wrong model.
  • A custom check's predicate needs its own debugging pass. A protrusion test can flag true positives of the literal test that are wrong answers to the question being asked; tighten the predicate against false positives before trusting its zero.

What the check cannot see

The overlap check is blind to three failure classes: geometry that is absent, geometry that leaves an unintended void, and surfaces that fail to cover what they should. A sign-inverted clipping plane does not make a wrong member, it makes no member, and the check stays clean. Bearing and continuity are never verified by the check either; walk each element's load down to ground by hand once per run (this is how an unsupported deck strip gets found).

The visual channel

  • Fixed, numbered views, stable across versions, so view 03 of v01 and v04 are directly comparable.
  • The standing set: at least one camera matched to the reference image angle; orthographic elevations and top; frame-only views with sheathing, cladding or repeated members hidden; per-layer plans with the layer above hidden; a from-below view; close-ups of the joints that need judgement.
  • Add a view with every new feature in the same version that adds the feature; new geometry no view shows is unverified geometry.
  • Close-ups catch what a clean check passes. A model can score zero overlaps with a truss heel bearing on a cantilever instead of its binder; only the frame-only heel close-up shows it.
  • Section cuts via the camera near-clip plane: a view carries a cut plane and the renderer sets clip start to it. No boolean cuts, no per-storey collections. Constraint: the clip plane is perpendicular to the view direction, so true sections need camera elevation 0 or plus-minus 90 degrees; a tilted camera tilts the plane and shows facade instead of interior.
  • Render settings serve legibility: Workbench, object colour per collection, cavity shading, black outlines so coplanar members and sheets stay distinguishable. Fit the camera to the artifact under inspection (a per-view bounding-box fit beats a shared bounding-sphere fit that leaves the model small in the frame).
  • Collections are hiding switches. Group by structural role in assembly order (foundation, posts, frames, roof framing, sheathing, facade per wall per layer); the diagnostic views are produced by hiding branches, and per-collection colour doubles as the legend.

Failure signature table

SymptomLikely cause
Division by zero in an inset formulaMember axis perpendicular to the passed normal
Uniform overlaps of exactly half a depthPlaced by centre line instead of bearing surface
Overlaps on one side of a symmetric model onlyFlipped local axis on mirrored members
Members missing or reduced to stubs, check cleanInverted half-space clip normal
Surfaces render darkInverted winding, not lighting
Hiding a collection does nothingBare-name collection reuse across parents
Members or courses silently absent, no errorObject name collision overwrote them
Wedge gaps at square-cut ends in elevationExpected contact-on-one-edge joints, not floating members; do not chase

Closing a run honestly

State what was verified (no interpenetration, resemblance to reference) and, separately, what was not: structural adequacy, bearing sizes, connection design, nailing. The gap between a clean check and a buildable structure gets written down every time; see writing-design-rationale.

Provenance

Distilled from all ten Fable design rationale documents (experiments 01-04, 06-09, 11, 13) in the CraftBot repo (https://github.com/lukapiskorec/craftbot); the two-channel principle is stated independently in at least seven of them. The reference implementation of the check is tools/check_overlaps.py in that repo.

よくある質問

AIスキル「Verifying Models」では何ができますか?

Use when setting up or running the render-inspect-revise loop for a generated model, when an overlap check reports pairs, or when a model looks right but has not been verified.

TypingMindでVerifying Modelsを使うメリットは何ですか?

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

TypingMindにVerifying Modelsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/lukapiskorec/craftbot/tree/main/skills/verifying-modelsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Verifying Modelsを使えるAIモデルはどれですか?

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

Verifying Modelsで使えるAIモデルの数に制限はありますか?

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

AIスキル「Verifying Models」は無料ですか?

lukapiskorecがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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