Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add chrisgagne/grounded-forge --skill answer-from-corpusgit clone --depth 1 https://github.com/chrisgagne/grounded-forgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chrisgagne/grounded-forge/answer-from-corpus)<a href="https://agentmods.dev/skills/chrisgagne/grounded-forge/answer-from-corpus"><img src="https://agentmods.dev/badge/skills/chrisgagne/grounded-forge/answer-from-corpus/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chrisgagne/grounded-forge/answer-from-corpus"><img src="https://agentmods.dev/badge/skills/chrisgagne/grounded-forge/answer-from-corpus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00104 | $0.07498 |
| Opus 5.5 | $0.00042 | $0.02999 |
| Sonnet 5.5 | $0.00021 | $0.01500 |
| Haiku 4.5 | $0.00010 | $0.00750 |
Grade A, and why
answer-from-corpus scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Answer from corpus
Source-grounded answer protocol for any substantive question the corpus may cover. It runs in one of two modes, set by where it runs. In the project, the corpus's reference tier is present, so the skill routes through the main concept index and reads references. Inside a compiled app, the reference tier doesn't travel, so the skill reads the distillations the app ships: each carries paraphrased prose with parenthetical attribution and verbatim quotations marked [V] (open and open-nc sources only; copyrighted, confidential and personal sources are paraphrased, and the build enforces it), each matching the converted source word for word, with evidence markers ([V] / [AP] / [AR] / [AE] / [BT]) preserved.
Invoke this skill to operationalise the bundled CLAUDE.md's grounding directive: CLAUDE.md sets the principle (search before reasoning from priors; cite or admit guessing), this protocol runs it as executable steps — shape-classification, traceability, citation density, corpus breadth.
Procedure
Run mode: project or app. Resolve the corpus root first (see --corpus below), then pick the mode from what's there.
- Project mode. The root carries
references/andreference-index.json(a corpus undercorpus.commons/orcorpus.local/). Retrieval routes through the corpus's mainconcept-index.jsonand reads the reference tier, as set out under Project-mode retrieval below. Project mode never reads a distillation or a task-index. Distillations are task projections built for the apps; an answer limited to one belongs inside that app, not in the project. (When the cheaper task-index → distillation route would be good enough is an open research question. Until an eval settles it, the concept index is the project-mode route.) - App mode. The root carries
distillations/and the runtime JSON indexes but noreferences/(a compiled app underapps/{profile}/, which ships distillations only). Retrieval runs the distillation path in Protocols N, D and S below.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +11 lines 62ff283ca142
- 2mo ago Changed d0d28d8b1fb0
- 2mo ago Changed · +16 lines 226d82133be5
- 2mo ago Changed e90d99dc8eab
- 2mo ago Changed · +60 lines · +104 tokens per session 0e060babad4a
- 3mo ago First seen · 205 lines · 0 tokens per session scan A 11019b4aefef
answer-from-corpus is a skill published in the GitHub repository chrisgagne/grounded-forge (8 stars, last pushed 13d ago), licensed MIT. It adds 104 tokens to every session and 7,498 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
answer-from-corpus compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| answer-from-corpuschrisgagne/grounded-forge | Skill | 8 | 13d ago | MIT | A | 104 | Claude Code |
| autorag-setupMarker-Inc-Korea/AutoRAG | Skill | 6.2k | today | Apache-2.0 | A | 75 | Claude Code, Codex |
| autoragMarker-Inc-Korea/AutoRAG | Skill | 6.2k | today | Apache-2.0 | A | 68 | Claude Code, Codex |
| autorag-doctorMarker-Inc-Korea/AutoRAG | Skill | 6.2k | today | Apache-2.0 | A | 144 | Claude Code, Codex |
| autorag-lite-setupMarker-Inc-Korea/AutoRAG | Skill | 6.2k | today | Apache-2.0 | A | 65 | Claude Code, Codex |
| scheduleMarker-Inc-Korea/AutoRAG | Skill | 6.2k | today | Apache-2.0 | A | 119 | Claude Code, Codex |
| searchMarker-Inc-Korea/AutoRAG | Skill | 6.2k | today | Apache-2.0 | A | 104 | Claude Code, Codex |