llm-wiki

llm-wiki is a skill for Claude Code from jellydn/my-ai-tools. It costs 20 tokens per session (1,545 once invoked), scanned A, original, MIT.

A persistent knowledge base made from source files, organized as linked Markdown pages. It adds new information to existing pages, records conflicts, and keeps an operation log.

In plain words
What is it for?
Use it to initialize a wiki, add source files, ask questions against the collected knowledge, check its health, and view its status.
Why use it?
It prevents you from rebuilding the same understanding from raw documents every time you have a question. It also makes contradictions, missing links, and outdated pages easier to find.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

Good fit Use it to initialize a wiki, add source files, ask questions against the collected knowledge, check its health, and view its status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jellydn/my-ai-tools/llm-wiki
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.

Any agent
npx skills add jellydn/my-ai-tools --skill llm-wiki
Clone the repo
git clone --depth 1 https://github.com/jellydn/my-ai-tools

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jellydn/my-ai-tools/llm-wiki/github.svg)](https://agentmods.dev/skills/jellydn/my-ai-tools/llm-wiki)
Your own site
<a href="https://agentmods.dev/skills/jellydn/my-ai-tools/llm-wiki"><img src="https://agentmods.dev/badge/skills/jellydn/my-ai-tools/llm-wiki/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 llm-wiki

Your own site · 80×15
<a href="https://agentmods.dev/skills/jellydn/my-ai-tools/llm-wiki"><img src="https://agentmods.dev/badge/skills/jellydn/my-ai-tools/llm-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,545 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00020 $0.01545
Opus 5 $0.00010 $0.00772
Sonnet 5 $0.00004 $0.00309
Haiku 4.5 $0.00002 $0.00154

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

Security

Grade A, and why

llm-wiki 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 11d 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.

configs/amp/plugins/my-ai-tools-skills/skills/llm-wiki/SKILL.md · 152 lines

How it starts

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

LLM Wiki

Build and maintain a persistent, compounding knowledge wiki from raw sources.

Based on Karpathy's LLM Wiki pattern: the LLM incrementally integrates each new source into a structured wiki of markdown files — updating entity pages, flagging contradictions, strengthening cross-references. Synthesis is compiled once and kept current, not re-derived on every query.

Usage

/llm-wiki <ACTION> [ARGUMENTS]

Actions

  • init [DIRECTORY] - Initialize a new wiki (default: wiki/)
  • ingest - Process a source file and integrate it into the wiki
  • query - Answer a question using the wiki as the knowledge base
  • lint - Health-check the wiki for contradictions, orphan pages, and stale content
  • status - Show a summary of the wiki's current state

Architecture

your-wiki/
├── raw/           # Immutable source documents — you add, LLM never modifies
│   └── assets/    # Downloaded images referenced by sources
├── wiki/          # LLM-generated and maintained pages
│   ├── index.md   # Catalog of all pages with one-line summaries
│   ├── log.md     # Append-only record of all operations
│   ├── overview.md
│   ├── entities/  # People, places, organizations
│   ├── concepts/  # Ideas, topics, themes
│   └── sources/   # One summary page per source
└── CLAUDE.md      # Schema: wiki conventions and per-operation workflows

Templates for all three layers are in $SKILL_PATH/templates/.


For "init [DIRECTORY]":

  1. Create the directory structure: raw/, wiki/, wiki/entities/, wiki/concepts/, wiki/sources/
  2. Copy $SKILL_PATH/templates/schema.md to CLAUDE.md (or AGENTS.md)
  3. Create wiki/index.md from $SKILL_PATH/templates/index.md
  4. Create wiki/log.md from $SKILL_PATH/templates/log.md
  5. Create a starter wiki/overview.md stating the wiki's domain and purpose
  6. Tell the user to add sources to raw/ and run /llm-wiki ingest <file> next

Read the full file on GitHub · 152 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 152 lines · 20 tokens per session scan A d79afb943884

Subscribe to this mod's changes

llm-wiki is a skill published in the GitHub repository jellydn/my-ai-tools (120 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 1,545 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 157 tokens

pdf

A set of instructions for working with PDF files, which are documents designed to preserve their layout across devices.

agentscope-ai/QwenPaw · 95 tokens

mxl-decompile

A 1C tool that converts an existing tabular document layout (MXL) from Template.xml into a JSON layout definition. The JSON uses the same format accepted by the corresponding layout compiler.

Nikolay-Shirokov/cc-1c-skills · 39 tokens

invoice-document-pdf

Generating invoices, contracts, forms, receipts, and business documents as professional PDFs.

cosmicstack-labs/mercury-agent-skills · 20 tokens