llm-wiki-agent: Command for Claude Code

.claude/commands/wiki-ingest.md

wiki-ingest is a command for Claude Code from regexp-lin/llm-wiki-agent. It costs 0 tokens per session (228 once invoked), scanned A, a copy of wiki-ingest, MIT.

A command that turns a source file into linked pages in an LLM Wiki, a repository-based knowledge base for language-model projects.

In plain words
What is it for?
Use it to ingest a Markdown document, create or update pages about its sources, people, companies, projects, and ideas, and record the changes.
Why use it?
It removes the manual work of adding source material, updating indexes, connecting related topics, and recording contradictions.

Command for Claude Code

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

This is regexp-lin/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 →

Reuse

Borrowing it

Nothing to install: this file belongs to regexp-lin/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/regexp-lin/llm-wiki-agent/main/.claude/commands/wiki-ingest.md
Clone the repo
git clone --depth 1 https://github.com/regexp-lin/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/regexp-lin/llm-wiki-agent/wiki-ingest/github.svg)](https://agentmods.dev/commands/regexp-lin/llm-wiki-agent/wiki-ingest)
Your own site
<a href="https://agentmods.dev/commands/regexp-lin/llm-wiki-agent/wiki-ingest"><img src="https://agentmods.dev/badge/commands/regexp-lin/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/regexp-lin/llm-wiki-agent/wiki-ingest"><img src="https://agentmods.dev/badge/commands/regexp-lin/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 228 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 86% copy Near-identical to another mod 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.00228
Opus 5 $0.00000 $0.00114
Sonnet 5 $0.00000 $0.00046
Haiku 4.5 $0.00000 $0.00023

Measured 9d ago against content hash 27b5230a3dd7, 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 9d 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

This is a copy

86% identical to wiki-ingest — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.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 (page format per WIKI_SCHEMA.md):

  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 WIKI_SCHEMA.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. 9d ago First seen · 19 lines · 0 tokens per session scan A 27b5230a3dd7

Subscribe to this mod's changes

wiki-ingest is a command published in the GitHub repository regexp-lin/llm-wiki-agent (15 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 228 tokens. A static security scan graded it A with 0 findings. It is 86% identical to wiki-ingest, differing in 4 lines, and is treated as a copy.