llm-wiki

llm-wiki is a skill for Claude Code, Codex from TheSmuks/ai-project-template. It costs 31 tokens per session (2,157 once invoked), scanned A, original, MIT.

A structured collection of linked Markdown files that acts as a personal or team knowledge base. An LLM agent can add research and decisions over time, search the stored information, and check its organization.

In plain words
What is it for?
Use it to save web or document research, record decisions, answer questions from multiple sources, track additions, and onboard people or agents to a topic.
Why use it?
It prevents useful research, references, and decisions from being lost in separate conversations or documents. It also gives people and agents one place to learn the project's accumulated knowledge.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to save web or document research, record decisions, answer questions from multiple sources, track additions, and onboard people or agents to a topic.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thesmuks/ai-project-template/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 TheSmuks/ai-project-template --skill llm-wiki
Clone the repo
git clone --depth 1 https://github.com/TheSmuks/ai-project-template

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/thesmuks/ai-project-template/llm-wiki/github.svg)](https://agentmods.dev/skills/thesmuks/ai-project-template/llm-wiki)
Your own site
<a href="https://agentmods.dev/skills/thesmuks/ai-project-template/llm-wiki"><img src="https://agentmods.dev/badge/skills/thesmuks/ai-project-template/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/thesmuks/ai-project-template/llm-wiki"><img src="https://agentmods.dev/badge/skills/thesmuks/ai-project-template/llm-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,157 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.00031 $0.02157
Opus 5 $0.00015 $0.01078
Sonnet 5 $0.00006 $0.00431
Haiku 4.5 $0.00003 $0.00216

Measured 11d ago against content hash fd66bc6907fa, 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.

.omp/skills/llm-wiki/SKILL.md · 387 lines

How it starts

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

LLM Wiki

A pattern for building and maintaining a structured, interlinked collection of markdown files — a personal or team knowledge base — using LLM agents. The wiki is maintained incrementally alongside code work.

When to Use

Invoke this skill when you want to:

  • Capture research, decisions, or references from web searches or documents into a persistent knowledge base
  • Query accumulated knowledge to answer questions that require synthesizing multiple sources
  • Maintain a log of what the wiki has grown to contain
  • Onboard a new agent or human to a topic by pointing them at the wiki

The wiki is opt-in. Projects that don't need it are unaffected. Projects that do can build it up over time.

Setup

When activating this skill on a fresh project, create the wiki directory structure and seed files:

mkdir -p wiki raw
touch wiki/index.md wiki/log.md

wiki/index.md Template

# Wiki Index

> Content catalog for the LLM Wiki. Maintained by agents after each ingest operation.

## Topics

<!-- Add entries as you create pages:

- [[topic-name]] — Brief description

-->

## Recent Additions

<!-- Chronological list of new pages:

- [[YYYY-MM-DD]] [[page-name]] — Why it was added

-->

wiki/log.md Template

# Wiki Log

> Append-only chronological record of wiki operations. Never edit past entries.

## Usage

Each entry follows this format:

YYYY-MM-DD

ingest

  • Sources:
  • Pages created:
  • Pages updated:
  • Summary:

query

  • Question:
  • Answered by:
  • Summary:

lint

  • Issues found:
  • Issues fixed:
  • Summary:

---

## Architecture

The wiki operates in three layers:

┌─────────────────────────────────────────────────────────────┐ │ Raw Sources (immutable, timestamped inputs) │ │ raw/ │ │ PDFs, web captures, transcript files, etc. │ └─────────────────────────────────────────────────────────────┘ │ Ingest ▼ ┌─────────────────────────────────────────────────────────────┐ │ Wiki (LLM-maintained markdown pages) │ │ wiki/ │ │ Topic pages, concept notes, decision records, etc. │ │ Linked via [[wiki-links]] │ └─────────────────────────────────────────────────────────────┘ │ Synthesize ▼ ┌─────────────────────────────────────────────────────────────┐ │ Schema (instructions for AGENTS.md) │ │ Key facts, conventions, decisions that agents must follow │ └─────────────────────────────────────────────────────────────┘


### Raw Sources (`raw/`)

Immutable source material. Never edit after creation — this preserves provenance.

**Naming convention:**

YYYY-MM-DD-.

Example: `2024-01-15-attention-mechanism-paper.pdf`

### Wiki Pages (`wiki/`)

Markdown files maintained by agents. Organized by topic, linked via `[[double-bracket]]` links (standard in Obsidian, supported by most markdown link tools).

**Naming convention:**

-.md

Example: `attention-mechanism.md`, `transformers-vanishing-gradients.md`

**Frontmatter (required):**
```yaml
---
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [tag1, tag2]
---

Read the full file on GitHub · 387 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. 11d ago First seen · 387 lines · 31 tokens per session scan A fd66bc6907fa

Subscribe to this mod's changes

llm-wiki is a skill published in the GitHub repository TheSmuks/ai-project-template (7 stars, last pushed 4mo ago), licensed MIT. It adds 31 tokens to every session and 2,157 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-31.

Related

Other skills, from other repositories

knowledge-base-management

A lifecycle system for managing an Obsidian knowledge base, which is a folder of linked notes. It organizes raw material, AI-maintained wiki pages, and generated views into separate layers.

chubbyguan/chubbyskills · 49 tokens

wiki-export

Export the Obsidian wiki's knowledge graph to structured formats for use in external tools. Use this skill when the user says "export wiki", "export graph", "export to JSON", "export to Gephi", "export to Neo4j", "export to Postgres", "export to SQL", "graphml", "visualize wiki", "knowledge graph export", "export to…

Ar9av/obsidian-wiki · 172 tokens

wiki-query

Answer questions by searching the compiled Obsidian wiki. Use this skill when the user asks a question about their knowledge base, wants to find information across their wiki, asks "what do I know about X", "find everything related to Y", or wants synthesized answers with citations from their wiki pages. Also use when…

Ar9av/obsidian-wiki · 200 tokens

cross-linker

Scan the Obsidian wiki and automatically discover missing cross-references between pages. Use this skill when the user says "link my pages", "find missing links", "cross-reference", "connect my wiki", "add wikilinks", "what pages should be linked", or after any large ingestion to ensure new pages are woven into the…

Ar9av/obsidian-wiki · 137 tokens

pi-history-ingest

Ingest Pi coding agent session history into the Obsidian wiki. Use this skill when the user wants to mine their past Pi sessions for knowledge, import their /.pi/agent/sessions folder, extract insights from previous coding sessions, or says things like "process my Pi history", "add my Pi sessions to the wiki", "ingest…

Ar9av/obsidian-wiki · 112 tokens

wiki-agent

Query-driven targeted ingest from a specific AI agent's raw history. Use this skill when the user invokes /wiki-claude, /wiki-codex, /wiki-hermes, /wiki-openclaw, /wiki-copilot, /wiki-pi — with or without a search topic. Different from wiki-history-ingest (which bulk-ingests everything new): this skill finds sessions…

Ar9av/obsidian-wiki · 190 tokens