wiki-ingest

wiki-ingest is a command for Claude Code from deepfounder-ai/llm-wiki. It costs 39 tokens per session (671 once invoked), scanned A, original, MIT.

A command for saving a web address, file, or current coding session into an LLM Wiki, a searchable collection of notes maintained for use by language models. It can place the material in a shared wiki or a project-specific wiki.

In plain words
What is it for?
Use it to capture information from URLs and files, or to summarize the important decisions and discoveries from the current session.
Why use it?
It gives lasting notes a defined place instead of leaving useful research or decisions buried in a conversation.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

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 plugin — 2 commands, 1 agent, 3 hooks shipped together

Good fit Use it to capture information from URLs and files, or to summarize the important decisions and discoveries from the current session.

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 deepfounder-ai/llm-wiki
Claude Code
/plugin install llm-wiki

Made for: Claude Code.

Or install llm-wiki, the plugin that ships this one along with the rest of its 2 commands, 1 agent, 3 hooks.

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/deepfounder-ai/llm-wiki/wiki-ingest/github.svg)](https://agentmods.dev/commands/deepfounder-ai/llm-wiki/wiki-ingest)
Your own site
<a href="https://agentmods.dev/commands/deepfounder-ai/llm-wiki/wiki-ingest"><img src="https://agentmods.dev/badge/commands/deepfounder-ai/llm-wiki/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/deepfounder-ai/llm-wiki/wiki-ingest"><img src="https://agentmods.dev/badge/commands/deepfounder-ai/llm-wiki/wiki-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 671 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.00039 $0.00671
Opus 5 $0.00019 $0.00336
Sonnet 5 $0.00008 $0.00134
Haiku 4.5 $0.00004 $0.00067

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

commands/wiki-ingest.md · 56 lines

How it starts

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

/wiki-ingest

You are routing an ingest request to the wiki-curator sub-agent. Do the minimum work in the main session and dispatch the heavy work.

Inputs

$ARGUMENTS may contain, in any order:

  • An optional scope flag: --global or --local.
  • An optional positional source: a URL (starts with http:// or https://), or an absolute/relative filesystem path.

If no positional source is given, the source is "the current session" — summarise the relevant insights from the conversation so far (what we learned, decided, or clarified that has lasting value) into a short briefing for the curator.

Steps

  1. Parse $ARGUMENTS. Identify scope flag (if any) and source (if any). Validate that a filesystem path (non-URL) exists before proceeding; if it does not, tell the user and stop.

  2. Ensure the target wiki exists.

    • If scope is global or unspecified, check that ~/.claude/wiki/schema.md exists. If not, run bash ${CLAUDE_PLUGIN_ROOT}/scripts/init-wiki.sh --scope global.
    • If scope is local, check that ./wiki/schema.md exists. If not, run bash ${CLAUDE_PLUGIN_ROOT}/scripts/init-wiki.sh --scope local.
    • If scope is unspecified and ./wiki/ exists, tell the curator there is a local wiki too so it can auto-route.
  3. Dispatch to wiki-curator via the Agent tool with subagent_type: "wiki-curator". The prompt you pass must include:

    • The scope flag (or "auto — decide based on content").
    • Whether a local wiki exists at <cwd>/wiki/ (yes/no) and, if yes, the absolute cwd.
    • The source, structured:
      • For URL: type: url, value: <url>
      • For file: type: file, value: <abs path>
      • For session: type: session, value: <your written session briefing — 200-600 words>
    • Instruction: "Follow your standard procedure (load schemas + indexes, choose update-vs-create, maintain bidirectional related[], run build-index.sh, append to log.jsonl). Return the concise report."
  4. When the curator returns, print its report verbatim to the user. Do not re-process or paraphrase it.

Read the full file on GitHub · 56 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. 9d ago First seen · 56 lines · 39 tokens per session scan A 4bfd4122c206

Subscribe to this mod's changes

wiki-ingest is a command published in the GitHub repository deepfounder-ai/llm-wiki (13 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 671 once invoked, about $0.0002 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-30.