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

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 skills/hogu-dev/llmkb/kb-ingest
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.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.svg" alt="Measured on agentmods" 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. 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.00055 $0.00479
Opus 5 $0.00028 $0.00239
Sonnet 5 $0.00011 $0.00096
Haiku 4.5 $0.00006 $0.00048

Measured 3d ago against content hash 4121db24ff09, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. 3d 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 1mo ago), licensed Apache-2.0. It adds 55 tokens to every session and 479 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-31.

Related

Other skills, from other repositories

brainstorm

Guided game concept ideation — from zero idea to a structured game concept document. Uses professional studio ideation techniques, player psychology frameworks, and structured creative exploration.

IdoCohen560/claude-unity-game-studio · 36 tokens

kb-fediverse-json-ld

Background knowledge about how JSON-LD works on the Fediverse and in ActivityPub, including the difference between @id and id, @type and type (keyword aliasing via @context), the many forms a value can take (string, object with @value, object with @id, array, language-tagged value), the four JSON-LD document forms…

reiver/vibefed · 266 tokens

consistency-check

Scan all GDDs against the entity registry to detect cross-document inconsistencies: same entity with different stats, same item with different values, same formula with different variables. Grep-first approach — reads registry then targets only conflicting GDD sections rather than full document reads.

IdoCohen560/claude-unity-game-studio · 58 tokens

create-architecture

Guided, section-by-section authoring of the master architecture document for the game. Reads all GDDs, the systems index, existing ADRs, and the engine reference library to produce a complete architecture blueprint before any code is written. Engine-version-aware: flags knowledge gaps and validates decisions against…

IdoCohen560/claude-unity-game-studio · 68 tokens

design-review

Reviews a game design document for completeness, internal consistency, implementability, and adherence to project design standards. Run this before handing a design document to programmers.

IdoCohen560/claude-unity-game-studio · 34 tokens

onboard

Generates a contextual onboarding document for a new contributor or agent joining the project. Summarizes project state, architecture, conventions, and current priorities relevant to the specified role or area.

IdoCohen560/claude-unity-game-studio · 40 tokens