llm-wiki-agent: Command for Claude Code

.claude/commands/wiki-ingest.md

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

A command for adding a source document to an LLM Wiki, a collection of pages that an AI system can use as organized reference material.

In plain words
What is it for?
Reading a document, creating its source page, updating indexes and summaries, linking related people or projects, recording contradictions, and logging the change.
Why use it?
It handles the surrounding wiki updates so the new source does not remain isolated or cause existing information to become outdated.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

This is SamurAIGPT/llm-wiki-agent's own configuration. It tells Claude Code how to work on llm-wiki-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything llm-wiki-agent configures →

About the project

LLM Wiki Agent is a coding-agent workflow that reads source documents and builds a persistent, interconnected wiki from the extracted knowledge. It is for people who want an agent to maintain a structured knowledge base from materials such as documents, web pages, and data files. The catalogue entries provide commands and instructions for ingesting, querying, checking, and visualizing that wiki.

SamurAIGPT/llm-wiki-agent · 3,499 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to SamurAIGPT/llm-wiki-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SamurAIGPT/llm-wiki-agent/main/.claude/commands/wiki-ingest.md
Clone the repo
git clone --depth 1 https://github.com/SamurAIGPT/llm-wiki-agent

Made for: Claude Code.

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/samuraigpt/llm-wiki-agent/wiki-ingest/github.svg)](https://agentmods.dev/commands/samuraigpt/llm-wiki-agent/wiki-ingest)
Your own site
<a href="https://agentmods.dev/commands/samuraigpt/llm-wiki-agent/wiki-ingest"><img src="https://agentmods.dev/badge/commands/samuraigpt/llm-wiki-agent/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/samuraigpt/llm-wiki-agent/wiki-ingest"><img src="https://agentmods.dev/badge/commands/samuraigpt/llm-wiki-agent/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 220 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.00220
Opus 5 $0.00000 $0.00110
Sonnet 5 $0.00000 $0.00044
Haiku 4.5 $0.00000 $0.00022

Measured 10d ago against content hash 083963493dea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/wiki-ingest.md · 19 lines

What it actually says

Ingest a source document into the LLM Wiki.

Usage: /wiki-ingest $ARGUMENTS

$ARGUMENTS should be the path to a file in raw/, e.g. raw/articles/my-article.md

Follow the Ingest Workflow defined in CLAUDE.md exactly:

  1. Read the source file at the given path
  2. Read wiki/index.md and wiki/overview.md for current context
  3. Write wiki/sources/.md (source page format per CLAUDE.md)
  4. Update wiki/index.md — add the new entry under Sources
  5. Update wiki/overview.md — revise synthesis if warranted
  6. Create/update entity pages (wiki/entities/) for key people, companies, projects
  7. Create/update concept pages (wiki/concepts/) for key ideas and frameworks
  8. Flag any contradictions with existing wiki content
  9. Append to wiki/log.md: ## [today's date] ingest |

After completing all writes, summarize: what was added, which pages were created or updated, and any contradictions found.

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 · 19 lines · 0 tokens per session scan A 083963493dea

Subscribe to this mod's changes

wiki-ingest is a command published in the GitHub repository SamurAIGPT/llm-wiki-agent (3,499 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 220 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.