Corpus Grounding Expanderのロゴ

Corpus Grounding Expander

コミュニティ
chrono-meta
corpus-grounding-expander

Fetches and normalizes multi-version public-domain corpora into a single verified-axiom store for verbatim-relay grounding, recording per-version license and provenance.

概要

公開者chrono-meta
リポジトリforge-harness
スキル名corpus-grounding-expander
スター
32
フォーク
1
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chrono-meta/forge-harness.git /tmp/forge-harness
mkdir -p .claude/skills
cp -r /tmp/forge-harness/plugins/fh-meta/skills/corpus-grounding-expander .claude/skills/corpus-grounding-expander
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

corpus-grounding-expander

Builds or broadens the grounded axiom a relay system quotes from. When a system's output must be constrained to verbatim source (fail-closed grounding), the corpus IS the axiom — this skill expands that corpus from multiple public-domain versions so grounding is robust and non-biased (a quote verified in ANY version counts), without ever adding a generator.

Origin: harvested from the-bible (2026-06-20) — 6 public-domain Bible versions, 197k verses, as the fail-closed grounding axiom. The grounds, inline, because the harvest record does not ship: one edition's wording makes a fail-closed check reject a faithful quote that followed a different edition, so the union across versions is what stops fail-closed grounding from failing closed against the user — and it keeps one translation's editorial choices from silently becoming the axiom. Generalizes to any verbatim-relay corpus (legal statute, RFC text, standards). Full harvest record — hub-local, not distributed in the npm package: tracks/_contrib/field_harvest_2026-06-20_gate-locality-and-grounding-capabilities.md.

Triggers

  • "get more sources" / "broaden the grounded corpus"
  • "add another version of the corpus"
  • "ingest the full as the grounding axiom"
  • /corpus-grounding-expander {source or version}

Natural Language Triggers (example user phrases)

  • "이 코퍼스 여러 버전으로 통째로 가져와줘"
  • "the grounding DB is just a sample — pull the whole thing, multiple editions"
  • "add a second public-domain edition so we're not biased to one"

Steps

  1. Source + license check — identify the public-domain source(s) and confirm each is genuinely free to redistribute. Record the license literally (no assumption).
  2. Fetch (retry-disciplined) — pull each version; on transient error, backoff-retry before declaring the source unavailable (do not silently drop a version).
  3. Normalize to a single key schema — map every version to the SAME addressable key (e.g. ref → text) so cross-version quotation stays aligned. Write per-version files + an _index recording version id, license, scope, and record count.
  4. Wire grounding as a union — the grounding check passes if the quote matches the canonical text at that key in ANY version. Never add a path that generates text — grounding is quote-only.
  5. Relay-integrity check — confirm the consumer (the gate) QUOTES the corpus and cannot emit un-grounded text; run a fabrication probe (a known non-source quote must fail-closed) and write the probe's actual output into the index under probe_status:. Writing the probe spec without running it is probe_status: not_run, not a pass.

Done When

  • Each added source carries a verifiable public-domain/license record in the index. Check class: mandatory-pass (binary — license field present and non-empty per version).
  • The index enumerates every version that was ATTEMPTED, each carrying a status — fetched | failed(<reason>) | skipped(<reason>) | unknown. A version that was tried and dropped appears with its reason; absence from the list is not a zero, it is an unrecorded drop. Check class: mandatory-pass (binary — the attempted-version list is present and every entry carries one of the four statuses).
  • Every version is normalized to the same key schema (cross-version keys align). Check class: mandatory-pass (a shared sample key resolves in each version). A key genuinely absent from a version is allowed ONLY when the index records it under canon_scope: — the reason plus the explicit list of affected keys and versions. An unrecorded exception is FAIL: "it's canon-scoped" asserted in prose and nowhere in the index does not satisfy this condition.
  • The index declares the quote-only union contract (grounding matches verbatim text in ANY version; no generation path). Check class: mandatory-pass (binary — quote-only contract present in the index).
  • The fabrication probe was RUN and its output shows fail-closed — a known non-source quote was submitted to the consumer gate and refused, with the refusal output recorded in the index. Check class: mandatory-pass (binary — probe_status: executed plus the attached refusal output). A probe spec with no run is probe_status: not_run and is a sub-condition, never this one. Degrade — labeled, never a silent pass: no consumer gate exists yet → record probe_status: no_consumer (<what is missing>); the corpus may still ship, but ships labeled relay-unverified, this condition stays UNMET, and nothing downstream may cite the corpus as relay-verified until a run is attached.

Guards

  • Grounding, never a generator — the relay constraint is structural; this skill wires grounding.
  • License-literal — record the actual license per source; never assume public-domain.
  • No silent version drop — a fetch failure is a named residual in the index, not a quiet omission.

Independently executable

Yes — needs only a network fetch + file write. No dependency on other FH skills (a consumer gate that reads the corpus is the system's own, not this skill's).

よくある質問

AIスキル「Corpus Grounding Expander」では何ができますか?

Fetches and normalizes multi-version public-domain corpora into a single verified-axiom store for verbatim-relay grounding, recording per-version license and provenance.

TypingMindでCorpus Grounding Expanderを使うメリットは何ですか?

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

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

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

Corpus Grounding Expanderを使えるAIモデルはどれですか?

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

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

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

AIスキル「Corpus Grounding Expander」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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