ingest

ingest is a skill for Claude Code from nicholasglazer/gnosis-mcp. It costs 54 tokens per session (1,878 once invoked), scanned A, original, MIT.

A skill for loading content into the gnosis-mcp knowledge base, a searchable store for documents and Git history.

In plain words
What is it for?
Use it to add local documentation, notebooks, configuration, data files, Git repositories, or crawled websites, with optional embeddings for semantic search.
Why use it?
It puts file imports, website crawling, Git-history loading, re-ingestion, and cleanup behind one consistent command.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the gnosis plugin — 8 skills, 5 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to add local documentation, notebooks, configuration, data files, Git repositories, or crawled websites, with optional embeddings for semantic search.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicholasglazer/gnosis-mcp/ingest
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.

Any agent
npx skills add nicholasglazer/gnosis-mcp --skill ingest
Clone the repo
git clone --depth 1 https://github.com/nicholasglazer/gnosis-mcp

Made for: Claude Code.

Or install gnosis, the plugin that ships this one along with the rest of its 8 skills, 5 agents, 1 hook, 1 MCP server.

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 ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicholasglazer/gnosis-mcp/ingest/github.svg)](https://agentmods.dev/skills/nicholasglazer/gnosis-mcp/ingest)
Your own site
<a href="https://agentmods.dev/skills/nicholasglazer/gnosis-mcp/ingest"><img src="https://agentmods.dev/badge/skills/nicholasglazer/gnosis-mcp/ingest/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.

agentmods 80×15 button for ingest

Your own site · 80×15
<a href="https://agentmods.dev/skills/nicholasglazer/gnosis-mcp/ingest"><img src="https://agentmods.dev/badge/skills/nicholasglazer/gnosis-mcp/ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,878 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00054 $0.01878
Opus 5 $0.00027 $0.00939
Sonnet 5 $0.00011 $0.00376
Haiku 4.5 $0.00005 $0.00188

Measured 10d ago against content hash c857a6e7bd37, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ingest 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 10d 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.

skills/ingest/SKILL.md · 235 lines

How it starts

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

Ingest

One skill that covers every way to get content into gnosis-mcp. Routes based on $ARGUMENTS:

  • Path to a directory / file → local file ingest
  • git <repo> → git-history ingest
  • crawl <url> → web-crawl ingest
  • reingest → full reset + re-ingest from the default path
  • prune <path> → delete DB chunks whose source is gone

Action: $ARGUMENTS


ingest <path> — local files

Default entry point. Handles .md, .txt, .ipynb, .toml, .csv, .json (+ .rst / .pdf if those extras are installed).

First-time ingest

gnosis-mcp ingest ./docs --embed
  • --embed runs the bundled ONNX embedder (requires [embeddings] extra). Without it you get keyword-only search — usually enough for dev-doc corpora (see bench-experiments), but --embed costs nothing on a first ingest and enables hybrid later if you want it.
  • Incremental: every file's content hash is stored, so re-running only processes changed files. Use --force to re-ingest regardless.

Chunk size

Default is 2000 characters (~600 tokens) — peak of the Feb 2026 sweep on a real dev-docs corpus. Override per-ingest or globally:

# This invocation only
GNOSIS_MCP_CHUNK_SIZE=1500 gnosis-mcp ingest ./docs --embed

# Persistent (put in shell profile)
export GNOSIS_MCP_CHUNK_SIZE=3000   # long-form blogs / ADRs

If you're unsure, run /gnosis:tune to sweep sizes against your own golden queries.

Reorganized your knowledge folder

Files moved, deleted, renamed. Pick one:

# Safest: re-ingest + drop chunks for files that no longer exist
gnosis-mcp ingest ./docs --embed --prune

# Nuclear: drop everything first, then re-ingest
gnosis-mcp ingest ./docs --embed --wipe

# Preview what prune would delete
gnosis-mcp prune ./docs --dry-run

By default --prune leaves crawled URLs alone (since those don't correspond to local files). Add --include-crawled if you want those gone too.


ingest git <repo> — git commit history

Read the full file on GitHub · 235 lines

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. 10d ago First seen · 235 lines · 54 tokens per session scan A c857a6e7bd37

Subscribe to this mod's changes

ingest is a skill published in the GitHub repository nicholasglazer/gnosis-mcp (29 stars, last pushed 21d ago), licensed MIT. It adds 54 tokens to every session and 1,878 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

accreta-setup

Set up an accreta knowledge base over a corpus — pick a preset, write the config and a source declaration, generate the constitution, wire up MCP, and verify the first ingest. Use when someone wants an agent-maintained knowledge base with provenance and drift detection over a codebase, a document collection, or a…

francescofioredev/accreta · 100 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

neurolink-guide

Guide for using the NeuroLink SDK and CLI. Invoke when users ask how to use neurolink, integrate AI providers, add MCP tools, configure RAG, set up memory, deploy servers, or work with multimodal content. Covers SDK, CLI, providers, tools, and enterprise features.

juspay/neurolink · 65 tokens

memobase

A Russian-language skill for searching a local knowledge base built from documents and other sources such as web pages, YouTube, audio, and Obsidian notes.

maximskorohod/memobase · 25 tokens

wiki-query

A knowledge-base search skill that retrieves existing information from a local collection of documents and combines it into an answer. It can use exact matches, broader search, and links between related pages.

GYF0311/lorekit · 56 tokens

vault

Generate an Obsidian LLM wiki vault from a project's source code and any static documents in raw/.

burakolgun/vault-anything · 23 tokens