Corpus Grounding Expander logo

Corpus Grounding Expander

Community
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.

Overview

Publisherchrono-meta
Repositoryforge-harness
Skill namecorpus-grounding-expander
Stars
32
Forks
1
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by chrono-meta on GitHub. Read the source before you install it.

Installation

Install the Corpus Grounding Expander AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/chrono-meta/forge-harness/tree/main/plugins/fh-meta/skills/corpus-grounding-expander
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Corpus Grounding Expander in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Corpus Grounding Expander on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Corpus Grounding Expander is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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).

Frequently asked questions

What does the Corpus Grounding Expander AI skill do?

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

Why use Corpus Grounding Expander on TypingMind?

Because you install it once and use it with any model. Corpus Grounding Expander is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Corpus Grounding Expander in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/chrono-meta/forge-harness/tree/main/plugins/fh-meta/skills/corpus-grounding-expander. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Corpus Grounding Expander?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Corpus Grounding Expander?

As many as you like. As long as a model supports skills, you can use Corpus Grounding Expander with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Corpus Grounding Expander AI skill free?

Yes. It is published on GitHub by chrono-meta under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇