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.5 $0.00012 $0.00863
Sonnet 5.5 $0.00006 $0.00431
Haiku 4.5 $0.00003 $0.00216

Measured 1mo ago against content hash fd66bc6907fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo 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. 1mo 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 (8 stars, last pushed 3d ago), licensed MIT. It adds 31 tokens to every session and 2,157 once invoked, about $0.0001 per session on Opus 5.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

llm-wiki

Explain and apply the foundational LLM Wiki architecture and knowledge-management strategy. Use for setup, architecture, schema, or organization decisions; operational ingest/query/lint work uses dedicated skills.

Ar9av/obsidian-wiki · 41 tokens

wiki-lint

Audit wiki health: broken links, orphans, contradictions, stale content, lifecycle and tag issues. Use for maintenance or health checks. Default is report-only; use wiki-dedup for page-identity merges.

Ar9av/obsidian-wiki · 47 tokens

wiki-export

Export the Obsidian wiki graph to JSON, GraphML, Neo4j Cypher, Postgres/SQL, HTML, or OKF bundles. Use when transferring or visualizing wiki data in external tools; wiki-import handles the reverse direction.

Ar9av/obsidian-wiki · 53 tokens

wiki-query

Search and synthesize answers from the compiled Obsidian wiki, including cited and multi-hop answers. Use for questions about existing wiki knowledge or fast index-only lookups, and for challenge requests ("challenge this", "argue against X", "poke holes in my plan") that look for the vault's own evidence against a…

Ar9av/obsidian-wiki · 89 tokens

wiki-status

Report wiki ingestion/completeness state, pending source delta, structural insights, or maintenance equilibrium. Use for remaining-work/status questions, hubs and bridges, or whether maintenance skills still have pending changes. wiki-digest summarizes learned knowledge instead.

Ar9av/obsidian-wiki · 50 tokens

cross-linker

Find and add missing cross-references between wiki pages. Use when pages are disconnected or after large ingestion. This modifies pages to add links; use wiki-lint for report-oriented structural auditing.

Ar9av/obsidian-wiki · 42 tokens