llm-wiki

llm-wiki is a skill for Claude Code, Codex from XiaoLuoLYG/GOD. It costs 62 tokens per session (605 once invoked), scanned A, original, Apache-2.0.

A local knowledge base for storing and querying PDF, Markdown, and text files. It keeps source files separate from an organized, searchable set of topic pages.

In plain words
What is it for?
Use it to add documents, ask questions about your own files, maintain topic pages, and check the knowledge base for structural problems.
Why use it?
It gives an agent a persistent place to keep your documents and retrieve information from them later, instead of relying only on the current conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add documents, ask questions about your own files, maintain topic pages, and check the knowledge base for structural problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaoluolyg/god/llm-wiki
About the project

GOD is a control room for observing and directing societies of language-model agents running in simulated worlds. It lets researchers inspect replays, question individual agents, alter future events, reset simulations, and export experiments for reuse. The catalogue entries are skills and agents for operating and investigating these simulations.

XiaoLuoLYG/GOD · 1,101 stars · on GitHub · xiaoluolyg.github.io

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 XiaoLuoLYG/GOD --skill llm-wiki
Clone the repo
git clone --depth 1 https://github.com/XiaoLuoLYG/GOD

Made for: Claude Code, Codex.

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/xiaoluolyg/god/llm-wiki.svg)](https://agentmods.dev/skills/xiaoluolyg/god/llm-wiki)
Your own site
<a href="https://agentmods.dev/skills/xiaoluolyg/god/llm-wiki"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/llm-wiki.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 605 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.00062 $0.00605
Opus 5 $0.00031 $0.00302
Sonnet 5 $0.00012 $0.00121
Haiku 4.5 $0.00006 $0.00060

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

jiuwenclaw/jiuwenclaw/resources/agent/jiuwenclaw_workspace/skills/llm-wiki/SKILL.md · 39 lines

How it starts

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

LLM Wiki Maintainer

You are the maintainer of a persistent local LLM Wiki. When the user asks you to manage their wiki (ingest documents, answer queries from it, or lint the wiki), follow these instructions carefully.

The LLM Wiki is based on a structured 3-layer architecture:

  1. Sources (sources/): The raw files that are tracked in the wiki. The system relies on a deduplication manifest (manifest.json) so the same file data isn't processed twice.
  2. Wiki (wiki/): The compiled knowledge. You maintain index.md, topic files, and a log.md where all structural changes are recorded.
  3. Schema (schema/): Configuration mapping (internal).

Environment Setup

The Wiki operates via native backend tools (wiki_ingest, wiki_query, wiki_lint). The default workspace is ./llm_wiki, which will be created automatically if it does not exist. Do not change the workspace unless the user insists on a different path.

Core Operations

1. Ingesting Documents

When a user provides a file (PDF, TXT, MD) or a directory of files to be ingested: Call your wiki_ingest tool with the source path.

  • The tool natively iterates through directories and handles data chunking and deductions automatically.
  • Your Follow-up Task: After the tool succeeds, manually record a summary of what was ingested into llm_wiki/wiki/log.md, and securely add standard Markdown links inside llm_wiki/wiki/index.md so that the new knowledge is linked from the root page.

2. Querying Knowledge

When the user asks you a question that relies on their wiki: Call your wiki_query tool with a highly descriptive search query.

  • Then, use the returned facts to synthesize a response. Provide citations directly to the original files when answering.

3. Linting the Wiki

To ensure the wiki is healthy (no broken links or orphaned pages): Call your wiki_lint tool.

  • You will receive an analysis string detailing any broken links or files with no incoming edges. You must then proactively edit the .md files in llm_wiki/wiki/ (using standard file editing tools) to repair broken paths. Ensure all paths are relative.

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

Subscribe to this mod's changes

llm-wiki is a skill published in the GitHub repository XiaoLuoLYG/GOD (1,101 stars, last pushed 11d ago), licensed Apache-2.0. It adds 62 tokens to every session and 605 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

ocr-document

Extract text from PDFs, images, and scanned documents. Uses pymupdf (local) or optional cloud OCR APIs.

fuyuxiang/echo-agent · 27 tokens

pdf

Process PDF files - extract text, create PDFs, merge documents. Use when user asks to read PDF, create PDF, or work with PDF files.

shareAI-lab/learn-claude-code · 32 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

nano-pdf

Edits PDF files using natural-language instructions via the nano-pdf CLI. Supports modifying text, changing titles, fixing typos, and updating content on specific pages. Use when the user wants to edit a PDF, modify PDF content, update PDF text, fix a typo in a PDF, change a PDF title, or rewrite part of a PDF page.

elizaOS/eliza · 75 tokens

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens

pdf-toolkit

Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…

opensquilla/opensquilla · 127 tokens