kb-ingest

kb-ingest is a skill for Claude Code, Codex from hogu-dev/llmkb. It costs 55 tokens per session (479 once invoked), scanned A, original, Apache-2.0.

A workflow for adding source documents to an llmkb knowledge base, a linked collection of notes for language-model queries. It turns a raw document into a summary and connects its ideas to the rest of the knowledge base.

In plain words
What is it for?
Use it to read files in the raw folder, create summary pages, add or update concept and entity pages, rebuild the index, update the log, and check the result.
Why use it?
It prevents new research from remaining as an unorganised file or being summarised without updating related topics, people, products, and links.

Skill for Claude CodeCodex

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

Good fit Use it to read files in the raw folder, create summary pages, add or update concept and entity pages, rebuild the index, update the log, and check the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hogu-dev/llmkb/kb-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 hogu-dev/llmkb --skill kb-ingest
Clone the repo
git clone --depth 1 https://github.com/hogu-dev/llmkb

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 kb-ingest

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hogu-dev/llmkb/kb-ingest"><img src="https://agentmods.dev/badge/skills/hogu-dev/llmkb/kb-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 479 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.00055 $0.00479
Opus 5.5 $0.00022 $0.00192
Sonnet 5.5 $0.00011 $0.00096
Haiku 4.5 $0.00006 $0.00048

Measured 1mo ago against content hash 4121db24ff09, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kb-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 1mo 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/kb-ingest/SKILL.md · 42 lines

What it actually says

kb-ingest

Ingest a source document into an llmkb knowledge base: turn it into a summary page and fold its ideas into the concept and entity pages, keeping the index, log, and links consistent.

When to use

A user has dropped a file in the KB's raw/ directory (or points you at one) and wants it filed into the wiki.

Steps

  1. Read the discipline. Open SCHEMA.md at the KB root and follow its conventions for this project.
  2. Read the source in raw/. Identify the key claims, entities, and concepts.
  3. Write the summary page under wiki/summaries/. Use the required frontmatter (type: summary; sources lists the raw/ path). Keep it a faithful condensation, self-contained, with [[wikilinks]] to the concepts and entities it touches.
  4. Update concept pages under wiki/concepts/: create a page for each new cross-cutting idea, or extend an existing one. Agent-authored synthesis is a concept page with an empty (or session-ref) sources.
  5. Update entity pages under wiki/entities/ for people, orgs, systems, or products the source introduces or expands.
  6. Update the catalog. Run llmkb reindex to rebuild wiki/index.md from frontmatter, then append one line to wiki/log.md: ## [YYYY-MM-DD] ingest | <source title>.
  7. Lint and fix. Run llmkb lint and resolve every error it reports (broken links, orphans, missing-from-index) before finishing.

Done when

llmkb lint reports no errors and the source is represented by a summary page plus any concept/entity updates, all linked and indexed.

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. 1mo ago First seen · 42 lines · 55 tokens per session scan A 4121db24ff09

Subscribe to this mod's changes

kb-ingest is a skill published in the GitHub repository hogu-dev/llmkb (1 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 55 tokens to every session and 479 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories