wiki

wiki is a skill for Claude Code, Codex from moonlight-lupin/agent-skills. It costs 33 tokens per session (7,192 once invoked), scanned B, original, MIT.

A method for building and maintaining a knowledge base from linked Markdown files. A knowledge base is an organized collection of information that can be searched and updated over time.

In plain words
What is it for?
Use it to create, update, query, and check a Markdown wiki without external services.
Why use it?
It keeps gathered information in one place instead of making the agent rediscover it for every question. It also records links between pages, flags contradictions, and supports ongoing maintenance.

Skill for Claude CodeCodex

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

Good fit Use it to create, update, query, and check a Markdown wiki without external services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moonlight-lupin/agent-skills/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 moonlight-lupin/agent-skills --skill wiki
Clone the repo
git clone --depth 1 https://github.com/moonlight-lupin/agent-skills

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 wiki

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/wiki"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,192 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00033 $0.07192
Opus 5.5 $0.00013 $0.02877
Sonnet 5.5 $0.00007 $0.01438
Haiku 4.5 $0.00003 $0.00719

Measured 2mo ago against content hash 10a2acbcd978, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

wiki scanned grade B with 1 finding 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 2mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo loginctl enable-linger $USER
plugins/lumen/skills/wiki/SKILL.md · 680 lines

How it starts

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

Upstream hierarchy:

  1. Canonical source: Andrej Karpathy's LLM Wiki pattern — the core methodology this skill implements.
  2. Conceptual enhancements: nashsu/llm_wiki — methodology niceties adopted conceptually (not code): purpose.md, Two-Step Chain-of-Thought Ingest, overview.md, 4-signal relevance model, graph insights, dedup pipeline, cohesion scoring. The upstream desktop app, API, MCP server, and vector search are not used — this skill is a standalone agent-curated markdown wiki with no external dependencies.

v3.0 changelog: Adopted the nashsu enhancements above as conceptual improvements to the Karpathy pattern.

Karpathy's LLM Wiki

Build and maintain a persistent, compounding knowledge base as interlinked markdown files. Based on Andrej Karpathy's LLM Wiki pattern.

Unlike traditional RAG (which rediscovers knowledge from scratch per query), the wiki compiles knowledge once and keeps it current. Cross-references are already there. Contradictions have already been flagged. Synthesis reflects everything ingested.

Division of labor: The human curates sources and directs analysis. The agent summarizes, cross-references, files, and maintains consistency.

When This Skill Activates

Use this skill when the user:

  • Asks to create, build, or start a wiki or knowledge base
  • Asks to ingest, add, or process a source into their wiki
  • Asks a question and an existing wiki is present at the configured path
  • Asks to lint, audit, or health-check their wiki
  • References their wiki, knowledge base, or "notes" in a research context

Wiki Location

Location: Plugin config first, then environment fallback.

  1. paths.wiki_path in the Lumen plugin config (shared/config/lumen.yaml, or --config)
  2. $WIKI_PATH environment variable
  3. Default ~/wiki

Read the full file on GitHub · 680 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. 2mo ago First seen · 680 lines · 33 tokens per session scan B 10a2acbcd978

Subscribe to this mod's changes

wiki is a skill published in the GitHub repository moonlight-lupin/agent-skills (136 stars, last pushed 2d ago), licensed MIT. It adds 33 tokens to every session and 7,192 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.

Related

wiki compared with skills from other repositories

wiki next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wikimoonlight-lupin/agent-skillsSkill1362d agoMITB33Claude Code, Codex
loopx-materialhuangruiteng/loopxSkill6.8k2d agoApache-2.0A74Codex
loopx-doc-registryhuangruiteng/loopxSkill6.8k2d agoApache-2.0A74Codex
hermes-memory-providersmnemosyne-oss/mnemosyneSkill3.7ktodayMITA34Claude Code, Codex
mnemosynemnemosyne-oss/mnemosyneSkill3.7ktodayMITA22Claude Code, Codex
mnemosyne-memory-overridemnemosyne-oss/mnemosyneSkill3.7ktodayMITA101Claude Code, Codex
chromadbEliasOulkadi/shokuninSkill1121mo agoMITA61Claude Code, Codex