ingesting-resources

ingesting-resources is a skill for Claude Code, Codex from chrisgagne/grounded-forge. It costs 76 tokens per session (5,250 once invoked), scanned A, original, MIT.

A workflow that moves one staged source document into an audited collection and creates its converted text, detailed and brief references, task-specific summaries, indexes, and image records. The staging folder is where new sources are placed before processing.

In plain words
What is it for?
It is for processing documents through a nine-pass ingestion procedure, updating reference and concept indexes, extracting substantive images, and producing an ingestion summary.
Why use it?
It turns one source into the several files needed for searching and task-focused answers. It also records source details and removes the staged input after a successful run.

Skill for Claude CodeCodex

Part of the grounded-forge plugin — 12 skills, 2 agents, 1 hook shipped together

Install

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.

agentmods
npx agentmods add skills/chrisgagne/grounded-forge/ingesting-resources
Any agent
npx skills add chrisgagne/grounded-forge --skill ingesting-resources
Clone the repo
git clone --depth 1 https://github.com/chrisgagne/grounded-forge

Made for: Claude Code, Codex.

Or install grounded-forge, the plugin that ships this one along with the rest of its 12 skills, 2 agents, 1 hook.

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

agentmods badge for ingesting-resources

README.md
[![agentmods](https://agentmods.dev/badge/skills/chrisgagne/grounded-forge/ingesting-resources.svg)](https://agentmods.dev/skills/chrisgagne/grounded-forge/ingesting-resources)
Your own site
<a href="https://agentmods.dev/skills/chrisgagne/grounded-forge/ingesting-resources"><img src="https://agentmods.dev/badge/skills/chrisgagne/grounded-forge/ingesting-resources.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,250 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00076 $0.05250
Opus 5 $0.00038 $0.02625
Sonnet 5 $0.00015 $0.01050
Haiku 4.5 $0.00008 $0.00525

Measured 5d ago against content hash f37e4d637eac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ingesting-resources 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 5d 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.

.claude/skills/ingesting-resources/SKILL.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ingesting Resources

Promotes a source from {corpus-root}/sources/ingest/ (staging) to {corpus-root}/sources/original/ (audited) by running the 9-pass protocol against it.

Each successful invocation produces, all inside the active corpus:

  • One sidecar at sources/original/{slug}.source.md with frontmatter (title, author, URL, scope, licence, ingested, original_format, checksum_sha256).
  • Converted markdown at sources/converted/{slug}.md (the "tape" Pass C read).
  • One deep reference at references/{slug}-deep.md.
  • One light reference at references/{slug}.md.
  • One distillation per applicable task axis at distillations/{task}/{slug}-{task}.md. The protocol forms an opinion about applicability and asks the operator to confirm borderline cases.
  • Updates to the runtime JSON indexes (references/slug-table.json, reference-index.json, concept-index.json, per-task distillations/{task}/task-index.json) and the operator-inspection .md views alongside.
  • Substantive images extracted and indexed in {corpus-root}/sources/converted/IMAGE-INDEX.yaml.
  • An ingestion summary.
  • The input source removed from sources/ingest/. Directory state is the workflow indicator: anything in ingest/ is unaudited; anything in original/ has been through the protocol.

{corpus-root} is operator-supplied (e.g., corpus.commons/demo/). Default: active corpus from working-directory inference, or builds.yaml's defaults.source_dir.

Per-pass procedures, templates, and failure modes are in 9-pass-protocol.md.

When to use

  • Adding a new source to the corpus.
  • Re-ingesting after a substantive revision (new edition, corrected text, previous Pass I failure).
  • Re-ingesting when a model advance makes the deep ref materially better.

When not to use

  • Editing an existing reference's prose. Substantive edits rerun Pass C onwards; cosmetic edits rerun Pass I at minimum.
  • Adding a new task axis without a new source. Run creating-taskscreating-applications instead.
  • Searching the corpus for an existing source. Run matching-references instead.

Read the full file on GitHub · 271 lines

Files

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.

Changes

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.

  1. 5d ago First seen · 271 lines · 76 tokens per session scan A f37e4d637eac

Subscribe to this mod's changes

ingesting-resources is a skill published in the GitHub repository chrisgagne/grounded-forge (7 stars, last pushed 14d ago), licensed MIT. It adds 76 tokens to every session and 5,250 once invoked, about $0.0004 per session on Opus 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.