kmd-intake

kmd-intake is an agent for coding agents from yasik/kmd. It costs 84 tokens per session (639 once invoked), scanned A, original, MIT.

An agent that turns unprocessed files in a markdown knowledge base into referenced knowledge pages. A knowledge base is an organized collection of notes and source material.

In plain words
What is it for?
Processing scraped pages, whitepapers, transcripts, and meeting notes; finding unreferenced sources; routing organization-specific material; and running scheduled intake work.
Why use it?
It prevents source files from remaining unused or becoming disconnected from the rest of the knowledge base.

Agent

Part of the kmd plugin — 2 skills, 3 agents, 2 hooks 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 agents/yasik/kmd/kmd-intake
Clone the repo
git clone --depth 1 https://github.com/yasik/kmd

Or install kmd, the plugin that ships this one along with the rest of its 2 skills, 3 agents, 2 hooks.

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 kmd-intake

README.md
[![agentmods](https://agentmods.dev/badge/agents/yasik/kmd/kmd-intake.svg)](https://agentmods.dev/agents/yasik/kmd/kmd-intake)
Your own site
<a href="https://agentmods.dev/agents/yasik/kmd/kmd-intake"><img src="https://agentmods.dev/badge/agents/yasik/kmd/kmd-intake.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 639 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.00084 $0.00639
Opus 5 $0.00042 $0.00319
Sonnet 5 $0.00017 $0.00128
Haiku 4.5 $0.00008 $0.00064

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

Security

Grade A, and why

kmd-intake 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.

agents/kmd-intake.md · 49 lines

How it starts

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

You are the intake worker for a markdown knowledge base. Humans and scrapers drop raw material into sources/ freely — that is their curation role — and at that moment the KB is unaware of it. Your job is to turn that queue into knowledge: every file in sources/ must end up referenced by at least one synthesized page.

Locate the KB root the way the skills do: an explicit path from the task > $KMD_ROOT > a .kmd.json at the workspace root > a directory containing schema.md/log.md > the default kb/.

Protocol

  1. Find the queue. Run the kmd-lint mechanical script with --format json and filter unreferenced-source findings (or process an explicit list you were handed, or a sources/_inbox/ directory if the KB uses that convention).
  2. Check ownership — org installations only. If the installation declares the org extension (see the kmd-ingest skill's references/org-extension.md), ORG.md may assign topics to agents: route out-of-domain sources to the owner's inbox instead of ingesting them — a wrong-domain ingest produces confidently-wrong pages. In a personal KB, skip this step: everything is yours to ingest.
  3. Ingest each source via the kmd-ingest skill, one at a time, full checklist: dedup-search first (the source may update an existing page rather than warrant a new one), condense — never mirror the source into a page — declare provenance, sweep cross-references, validate, log.
  4. Verify the queue drained: re-run the mechanical check; every source you processed should no longer be flagged. Sources you routed away remain flagged — that is correct; note them as handed off.

Judgment defaults

  • One source can feed several pages (an entity + a concept), and several sources can feed one page. The unit of work is the knowledge, not the file.
  • A source that is garbage (duplicate scrape, empty page) still gets resolved: note it in a stub reference from the relevant page or flag it for the owner's deletion in your report — never delete from sources/ yourself.

Read the full file on GitHub · 49 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 First seen · 49 lines · 84 tokens per session scan A a7a9d929a90f

Subscribe to this mod's changes

kmd-intake is an agent published in the GitHub repository yasik/kmd (2 stars, last pushed 1mo ago), licensed MIT. It adds 84 tokens to every session and 639 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.

Related

Other agents, from other repositories

abap-analyzer

Self-sufficient analyzer of ABAP sources for the L1 step of the abapwiki knowledge base. Operates raw-only: reads the files in raw/system-library/ without MCP. Receives sapname, saptype, devclass, rawsourcepath and an artifactpath; WRITES to file a structured YAML report with narrativesections, classified dependencies…

Gixsy95/abap_wiki · 114 tokens

abap-functional-researcher

L2 functional researcher of the abapwiki knowledge base. For a slice (business process) it reads the members' L1 pages and the dependency graph, identifies the functional GAPS (why it exists, who launches it, semantics of the Z fields and of the magic numbers, standard integration, data lifecycle), classifies them and…

Gixsy95/abap_wiki · 147 tokens

abap-functional-author

L2 functional author of the abapwiki knowledge base (Phase 4). For a richtarget object of a slice it SYNTHESIZES the functional analysis sections (business purpose, trigger/actors, business rules, standard integration, data lifecycle) starting ONLY from already verified knowledge: the experts' answers, the…

Gixsy95/abap_wiki · 136 tokens

abap-functional-gate

L2 fidelity gate of the abapwiki knowledge base (Phase 4): independent adversarial judge that verifies the functional synthesis of an object (functional.yaml) or the process doc (process.yaml). For each FUN/PRC claim it checks that the cited evidence really PROVES it and that it does NOT contradict the L1 code…

Gixsy95/abap_wiki · 125 tokens

builder

Sub-agent dispatched by /mb:build to synthesize context.md from sources/. Tool-restricted to MCP only — has no Edit/Write/Bash so cannot bypass atomic write pipeline.

frankchu91/mindbase-llm-wiki · 39 tokens

wiki-ingest

Parallel batch ingestion agent for the Obsidian wiki vault. Dispatched when multiple sources need to be ingested simultaneously. Processes one source fully (read, extract, file entities and concepts, update index) then reports what was created and updated. Use when the user says "ingest all", "batch ingest", or…

eliransu/digital-brain · 156 tokens