documentdb-kg-ingestion

documentdb-kg-ingestion is a skill for Claude Code, Codex from Knuckles-Team/documentdb-mcp. It costs 82 tokens per session (678 once invoked), scanned A, original, MIT.

A loader that copies a DocumentDB catalog and selected documents into a knowledge graph. DocumentDB is a MongoDB-compatible database service, and a knowledge graph stores connected facts as searchable entities and links.

In plain words
What is it for?
Use it to list visible databases, ingest the database structure, or sample documents from a chosen collection with an optional filter and limit.
Why use it?
It makes database servers, databases, collections and sampled documents available for graph-based search. It avoids copying every document unless a larger sample is deliberately requested.

Skill for Claude CodeCodex

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

Good fit Use it to list visible databases, ingest the database structure, or sample documents from a chosen collection with an optional filter and limit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/knuckles-team/documentdb-mcp/documentdb-kg-ingestion
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 Knuckles-Team/documentdb-mcp --skill documentdb-kg-ingestion
Clone the repo
git clone --depth 1 https://github.com/Knuckles-Team/documentdb-mcp

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 documentdb-kg-ingestion

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/knuckles-team/documentdb-mcp/documentdb-kg-ingestion"><img src="https://agentmods.dev/badge/skills/knuckles-team/documentdb-mcp/documentdb-kg-ingestion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 678 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.00082 $0.00678
Opus 5.5 $0.00033 $0.00271
Sonnet 5.5 $0.00016 $0.00136
Haiku 4.5 $0.00008 $0.00068

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

Security

Grade A, and why

documentdb-kg-ingestion 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 3d 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.

documentdb_mcp/skills/documentdb-kg-ingestion/SKILL.md · 41 lines

How it starts

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

DocumentDB Knowledge-Graph Ingestion

Scope: Mirror a DocumentDB (MongoDB-compatible) catalog and sampled documents into the knowledge graph through the documentdb-mcp MCP server — ingest the server, databases and collections as typed nodes, and sample a collection's documents as searchable :Document nodes. Use when the agent must make the database estate or a collection's content queryable in the graph. Do NOT use to read or change documents directly (use documentdb-document-crud) or to administer databases (use documentdb-collection-admin).

Tools

Tool Purpose
documentdb_list_databases The databases the caller may see (identity-scoped)
documentdb_ingest_catalog Ingest :DatabaseServer, :Database and :Collection nodes with :hostedOnServer and :inDatabase links; optional database_name
documentdb_ingest_documents Ingest up to limit documents of one collection as :Document nodes linked :inCollection; optional filter

Steps

  1. Choose the scope with documentdb_list_databases. Verify the target database is listed.
  2. Ingest the catalog with documentdb_ingest_catalog, passing database_name to restrict it. Verify ingested is a number, not null.
  3. Ingest documents for each collection that should be searchable with documentdb_ingest_documents (filter, limit), keeping limit small. Verify the returned count does not exceed limit.
  4. Spot-check a node by querying the graph for a :Document node linked :inCollection. Verify it exists once.

Failure recovery

Failure Cause Recovery
ingested is null No graph engine is reachable; nothing is half-written Ask the operator to restore the engine connection through Arbora, then call documentdb_ingest_catalog again and check ingested
Connection error or server-selection timeout MONGODB_URI, or MONGODB_HOST and MONGODB_PORT, unset or unreachable Set MONGODB_URI for the documentdb-mcp server and call documentdb_list_databases to confirm; ask the operator for the correct endpoint
Too few documents ingested Documents are sampled up to limit, or the filter matched little Test the filter with documentdb_find, then raise limit deliberately in documentdb_ingest_documents

Read the full file on GitHub · 41 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. 3d ago Changed · +6 lines · -23 tokens per session a57996e77a53
  2. 23d ago First seen · 35 lines · 105 tokens per session scan A 8a9c4d6b1f23

Subscribe to this mod's changes

documentdb-kg-ingestion is a skill published in the GitHub repository Knuckles-Team/documentdb-mcp (2 stars, last pushed 4d ago), licensed MIT. It adds 82 tokens to every session and 678 once invoked, about $0.0003 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-11-07.

Related

documentdb-kg-ingestion compared with skills from other repositories

documentdb-kg-ingestion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
documentdb-kg-ingestionKnuckles-Team/documentdb-mcpSkill24d agoMITA82Claude Code, Codex
jellyfin-kg-ingestionKnuckles-Team/jellyfin-mcpSkill54d agoMITA90Claude Code, Codex
nextcloud-ingestKnuckles-Team/nextcloud-agentSkill14d agoMITA82Claude Code, Codex
searxng-kg-ingestionKnuckles-Team/searxng-mcpSkill34d agoMITA81Claude Code, Codex
jellyfin-library-catalogKnuckles-Team/jellyfin-mcpSkill54d agoMITA91Claude Code, Codex
jellyfin-media-playbackKnuckles-Team/jellyfin-mcpSkill54d agoMITA92Claude Code, Codex
jellyfin-mcp-developmentKnuckles-Team/jellyfin-mcpSkill54d agoMITA60Claude Code, Codex