wiki-ingest

wiki-ingest is a command for Claude Code from ussumant/llm-wiki-compiler. It costs 0 tokens per session (798 once invoked), scanned A, original, MIT.

An interactive workflow for adding one Markdown source file to a project wiki. It reads the file, discusses its main points with you, and then updates the relevant wiki articles.

In plain words
What is it for?
Use it to ingest a specific .md file, review its key takeaways, choose what to emphasize, classify it under existing wiki topics, and update those articles.
Why use it?
It helps keep shared documentation up to date without silently deciding which details matter most. It also checks that the file is valid and is located within the configured source directories.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the llm-wiki-compiler plugin — 1 skill, 12 commands, 1 hook shipped together

Good fit Use it to ingest a specific .md file, review its key takeaways, choose what to emphasize, classify it under existing wiki topics, and update those articles.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ussumant/llm-wiki-compiler
Claude Code
/plugin install llm-wiki-compiler

Made for: Claude Code.

Or install llm-wiki-compiler, the plugin that ships this one along with the rest of its 1 skill, 12 commands, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/ussumant/llm-wiki-compiler/wiki-ingest/github.svg)](https://agentmods.dev/commands/ussumant/llm-wiki-compiler/wiki-ingest)
Your own site
<a href="https://agentmods.dev/commands/ussumant/llm-wiki-compiler/wiki-ingest"><img src="https://agentmods.dev/badge/commands/ussumant/llm-wiki-compiler/wiki-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 wiki-ingest

Your own site · 80×15
<a href="https://agentmods.dev/commands/ussumant/llm-wiki-compiler/wiki-ingest"><img src="https://agentmods.dev/badge/commands/ussumant/llm-wiki-compiler/wiki-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 798 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.00000 $0.00798
Opus 5 $0.00000 $0.00399
Sonnet 5 $0.00000 $0.00160
Haiku 4.5 $0.00000 $0.00080

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

Security

Grade A, and why

wiki-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 10d 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.

plugin/commands/wiki-ingest.md · 80 lines

How it starts

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

Ingest a Single Source

Interactive workflow for adding one source file to the wiki. The LLM reads the file, discusses key takeaways with the user, then updates relevant topic articles.

Instructions

Step 1: Validate

  • Read .wiki-compiler.json from the project root (or nearest parent directory). If not found, tell the user to run /wiki-init first.
  • Accept one argument: the file path to ingest (e.g., /wiki-ingest Knowledge/meetings/2026-04-07-standup.md)
  • If no argument provided, ask: "Which file would you like to ingest?"
  • Verify the file exists and is a .md file
  • Check that the file is within one of the configured sources[] directories (warn if not, but allow it)

Step 2: Read and discuss

  • Read the full source file
  • Present a brief summary of key takeaways (3-5 bullet points)
  • Ask the user: "Anything you want me to emphasize or de-emphasize when updating the wiki?"
  • Wait for the user's response before proceeding — this is the interactive part where the user guides what matters

Step 3: Classify

  • Read {output}/schema.md to understand existing topics and naming conventions
  • Determine which existing topics this source belongs to (can be multiple)
  • If the source introduces a genuinely new topic not in the schema, propose creating it
  • Show the user: "This file touches these topics: [list]. I'll update each one. Sound right?"
  • Wait for confirmation before proceeding

Step 4: Update topic articles

For each affected topic:

  1. Read the current topic article from {output}/topics/{slug}.md
  2. Read article_sections from .wiki-compiler.json (or use default template from ${CLAUDE_PLUGIN_ROOT}/templates/article-template.md if absent)
  3. Integrate the new source's information into the relevant sections
  4. Respect the user's emphasis guidance from Step 2
  5. Update coverage indicators — the source count may change the coverage level for some sections
  6. Add the new source to the Sources section (using configured link_style)
  7. Update the source_count in the article frontmatter
  8. Write the updated article

Read the full file on GitHub · 80 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. 10d ago First seen · 80 lines · 0 tokens per session scan A 336170ecb3f2

Subscribe to this mod's changes

wiki-ingest is a command published in the GitHub repository ussumant/llm-wiki-compiler (321 stars, last pushed 19d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 798 tokens. 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-30.