ingest-knowledge

ingest-knowledge is a skill for Claude Code, Codex from hyh0620/mcp-knowledge-service. It costs 27 tokens per session (227 once invoked), scanned A, original, MIT.

A local tool that loads documents from a folder or other source path into a named searchable collection. It splits files into smaller pieces and creates search indexes.

In plain words
What is it for?
Use it to preview or run document ingestion, then inspect processed files, failed files, chunks, vectors, and BM25 search records.
Why use it?
It gives you a repeatable way to add source documents to a knowledge store and check whether the expected files and indexes were created.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/ingest.py --path <SOURCE_PATH> --collection <COLLECTION> --dry-run.

Good fit Use it to preview or run document ingestion, then inspect processed files, failed files, chunks, vectors, and BM25 search records.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/hyh0620/mcp-knowledge-service
agentmods
npx agentmods add skills/hyh0620/mcp-knowledge-service/ingest-knowledge

Made for: Claude Code, Codex.

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-knowledge

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hyh0620/mcp-knowledge-service/ingest-knowledge"><img src="https://agentmods.dev/badge/skills/hyh0620/mcp-knowledge-service/ingest-knowledge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 227 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.
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.00027 $0.00227
Opus 5 $0.00014 $0.00113
Sonnet 5 $0.00005 $0.00045
Haiku 4.5 $0.00003 $0.00023

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

Security

Grade A, and why

ingest-knowledge 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 8d 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.

.github/skills/ingest-knowledge/SKILL.md · 42 lines

What it actually says

Ingest Knowledge

Inputs

  • Source path.
  • Collection name.
  • Optional --dry-run.

Pipeline

  1. Dry run:
    python scripts/ingest.py --path <SOURCE_PATH> --collection <COLLECTION> --dry-run
    
  2. Ingest:
    python scripts/ingest.py --path <SOURCE_PATH> --collection <COLLECTION> --force
    
  3. Verify query:
    python scripts/query.py --query "<QUERY>" --collection <COLLECTION> --top-k 4
    
  4. Inspect runtime counts from command output and local ChromaDB/BM25 metadata.

Output

  • Files processed.
  • Failed files.
  • Chunk count.
  • Vector count.
  • BM25 document count.
  • Collection name.

Rules

  • Do not commit data/, logs/, traces, or generated runtime reports.
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. 8d ago First seen · 42 lines · 27 tokens per session scan A 5b89385352f4

Subscribe to this mod's changes

ingest-knowledge is a skill published in the GitHub repository hyh0620/mcp-knowledge-service (0 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 227 once invoked, about $0.0001 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-09-01.

Related

Other skills, from other repositories

vector-hybrid-search

Retrieve knowledge from a vector-store collection via the vector-mcp MCP server's vectorsearch tool — semantic (ANN) search, lexical BM25 search, or a hybrid of the two fused with Reciprocal Rank Fusion. Use when the agent must answer a question from an indexed corpus, pull top-k relevant chunks for RAG context, or…

Knuckles-Team/vector-mcp · 113 tokens

pinecone-research

Agent RAG and long-term memory with Pinecone.

NousResearch/hermes-agent · 16 tokens

langchain

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG…

davila7/claude-code-templates · 79 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens

mem0-integration

Mem0 memory layer integration for AI agents. Implement persistent, semantic memory for long-term context retention and personalization.

a5c-ai/babysitter · 27 tokens

install-openviking-memory

Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…

volcengine/OpenViking · 191 tokens