Query and maintain the user's local LLM Wiki from any Codex or Claude Code conversation or project.

MITAuto-check passedKnowledge Management

Install LLM Wiki

skills CLI
$ npx skills add tudoumashu/ai-memory-skillpack --skill llm-wiki -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tudoumashu/ai-memory-skillpack llm-wiki --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tudoumashu/ai-memory-skillpack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/llm-wiki .claude/skills/llm-wiki && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
llm-wiki
GitHub stars
456
Token cost
~1.7k tokens
SKILL.md length
723 words
Files
2
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Query and maintain the user's local LLM Wiki from any Codex or Claude Code conversation or project.

  • Works in 7 steps: Start from 60-Wiki/index.md. → If the query mentions a local project… → If the entity points to a repo docs/ai/,… → …
  • The user asks to search personal knowledge
  • SKILL.md covers Core Rule, Obsidian Markdown Rules, Query Workflow and Writeback Workflow, plus 3 more sections
  • Calls rg and npx

What it does

LLM Wiki is an agent skill from tudoumashu/ai-memory-skillpack. Query and maintain the user's local LLM Wiki from any Codex or Claude Code conversation or project. Use when the user asks to search personal knowledge, recall prior research or decisions, answer from the wiki, create durable notes, ingest a source into the wiki, update topic/concept/entity/question pages, write back useful answers, or run wiki lint/reindex workflows.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Knowledge Management, covering LLM wikis. The repository describes itself as: Bounded project-memory skills for Codex CLI and Claude Code. The licence is MIT.

When your agent uses it

  • The user asks to search personal knowledge
  • Recall prior research
  • Answer from the wiki
  • Create durable notes

Example prompts

  • “/llm-wiki”

Requirements

  • Node.js

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Start from 60-Wiki/index.md.
  2. If the query mentions a local project name or repo path, read the central project entity in 60-Wiki/entities/ first. Do not assume the…
  3. If the entity points to a repo docs/ai/, follow project read discipline — full read only project-card.md and handoff.md; targeted rg for…
  4. Query the compiled wiki
  5. If insufficient, widen scope
  6. Read cited wiki pages directly before making important claims.
  7. If wiki evidence is stale or insufficient, say so and use source pages, raw sources, project-local docs/ai/, or current web search when…

What it can do on your machine

Read from SKILL.md and the folder at commit f85cdec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rg
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

LLM Wiki loads about 1.7k tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 723 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tudoumashu/ai-memory-skillpack at commit f85cdec, republished under its MIT licence (© tudoumashu). 723 words, ~1,723 tokens.

Download SKILL.mdSave it as .claude/skills/llm-wiki/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
llm-wiki
description
Query and maintain the user's local LLM Wiki from any Codex or Claude Code conversation or project. Use when the user asks to search personal knowledge, recall prior research or decisions, answer from the wiki, create durable notes, ingest a source into the wiki, update topic/concept/entity/question pages, write back useful answers, or run wiki lint/reindex workflows.

LLM Wiki

Core Rule

Use the local LLM Wiki as the durable knowledge source. Do not copy the wiki into this skill.

Paths on this machine:

text
VAULT_ROOT=/home/shiyi/Apps/Obsidian/vault
WIKI_ROOT=/home/shiyi/Apps/Obsidian/vault/60-Wiki
INDEX=/home/shiyi/Apps/Obsidian/vault/60-Wiki/index.md
LOG=/home/shiyi/Apps/Obsidian/vault/60-Wiki/log.md
QUERY=/home/shiyi/Apps/Obsidian/vault/70-System/scripts/query_wiki.sh
LINT=/home/shiyi/Apps/Obsidian/vault/70-System/scripts/lint_wiki.sh
REINDEX=/home/shiyi/Apps/Obsidian/vault/70-System/scripts/reindex_qmd.sh
EMBED_SAFE=/home/shiyi/Apps/Obsidian/vault/70-System/scripts/embed_qmd_safe.sh

Default wiki prose to Chinese. Keep commands, paths, filenames, config keys, API fields, code, package names, versions, URLs, and fixed English terms unchanged.

Obsidian Markdown Rules

Apply when creating or editing Markdown inside VAULT_ROOT, especially WIKI_ROOT.

  • Preserve existing YAML frontmatter. New wiki pages use the local schema keys: title, created, updated, kind, status, source_paths, tags, summary.
  • Every agent edit sets frontmatter updated_by: to the fixed actor string claude-code/fable-5 or codex/gpt-5.6-sol-pro, and refreshes updated.
  • Do not translate or rewrite frontmatter keys, wikilink targets, block IDs, embed targets, file paths, URLs, code blocks, JSON, or shell commands.
  • Use [[wikilinks]] for internal vault notes ([[path|display]] for Chinese labels); normal Markdown links for external URLs.
  • Prefer linking related source / topic / concept / entity / question pages over leaving isolated notes.
  • Embeds ![[...]], callouts, %% comments %%, Mermaid, math, footnotes: only when they add durable structure or evidence. Tags live in frontmatter tags, not inline.
  • After editing wiki Markdown, run lint_wiki.sh.

Query Workflow

  1. Start from 60-Wiki/index.md.
  2. If the query mentions a local project name or repo path, read the central project entity in 60-Wiki/entities/ first. Do not assume the entity file name matches the project name — locate it first with rg -ilF "<project-name-or-repo-path>" /home/shiyi/Apps/Obsidian/vault/60-Wiki/entities/; on multiple hits pick the page whose frontmatter source_paths contains the repo root (a body mention does not count, same criterion as $ai-project-memory), then read that page.
  3. If the entity points to a repo docs/ai/, follow project read discipline — full read only project-card.md and handoff.md; targeted rg for architecture.md, runbook.md, gotchas.md, diagrams/README.md, current ADRs in decisions/; do not read history/, reports/, screenshots/, learning/, superseded ADRs (Status: superseded/deprecated), or deprecated ledger files by default(change-log 已停用 2026-07-28,git 提交即账本); on explicit user recall, targeted reads are allowed with cross-checking against current code.
  4. Query the compiled wiki:
bash
/home/shiyi/Apps/Obsidian/vault/70-System/scripts/query_wiki.sh "<query>" --scope wiki
  1. If insufficient, widen scope:
bash
/home/shiyi/Apps/Obsidian/vault/70-System/scripts/query_wiki.sh "<query>"
/home/shiyi/Apps/Obsidian/vault/70-System/scripts/query_wiki.sh "<query>" --scope raw
  1. Read cited wiki pages directly before making important claims.
  2. If wiki evidence is stale or insufficient, say so and use source pages, raw sources, project-local docs/ai/, or current web search when required.
Show full SKILL.md (367 more words)Show less

Writeback Workflow

Write back only when the answer or change has durable value. Choose the smallest correct destination:

  • 60-Wiki/questions/: reusable answer. 60-Wiki/topics/: cross-source synthesis. 60-Wiki/concepts/: reusable method, pattern, term. 60-Wiki/entities/: person, company, tool, project, system. 60-Wiki/sources/: single-source summary.

When writing back:

  1. Prefer updating an existing page over creating a duplicate.
  2. Preserve frontmatter and wikilinks; set updated_by per the rule above.
  3. Add or update source_paths; link related pages.
  4. Update 60-Wiki/index.md when navigation changes.
  5. log.md is newest-first: agents log content changes only(ingest、writeback、页面重构)by inserting a ## [YYYY-MM-DD] <kind> | <slug> entry above the first existing ## heading. Never hand-write query or lint entries; lint_wiki.sh itself inserts a daily lint | wiki-health entry and writes a report under 70-System/reports/ — tool behavior, not a violation; do not remove those entries.
  6. Keep uncertainty explicit with inferred, unknown, or open questions.
  7. Never write secret values into any wiki page.
  8. The vault is a git repository — after content writebacks, commit with an explicit file list including lint by-products(the updated log.md and the new 70-System/reports/wiki-lint-<date>.md)(git 即账本,不积压未提交改动).

For a user-owned project with repo-local docs/ai/, the central project entity stays lightweight and points to the repo pack: repo path, docs/ai/ path, key file links, short summary, important gaps. Never copy full docs/ai/ content into the wiki; sync only on entity-level changes.

Ingest Workflow

  1. Read the source.
  2. Create or update a source page in 60-Wiki/sources/.
  3. Extract durable points; update relevant topic / concept / entity / question pages — do not stop after only a source page when clear updates exist.
  4. Update 60-Wiki/index.md; add a content entry to 60-Wiki/log.md per Writeback rule 5(newest-first, same header format).
  5. Run lint and reindex.

Validation

bash
/home/shiyi/Apps/Obsidian/vault/70-System/scripts/lint_wiki.sh
/home/shiyi/Apps/Obsidian/vault/70-System/scripts/reindex_qmd.sh llm-wiki

Lint is required after any wiki edit. Reindex only when future search should find new or changed Markdown. Do not run qmd embed by default; run embedding only for immediate vector-search freshness or batch maintenance:

bash
/home/shiyi/Apps/Obsidian/vault/70-System/scripts/embed_qmd_safe.sh llm-wiki

Avoid npx --yes @tobilu/qmd ... embed(version drift, startup cost). Large high-churn files(central log.md, project handoff.md, generated reports)cause repeated expensive embedding — keep entities lightweight and avoid embedding large dumps when a link is enough. Status check: QMD_LLAMA_GPU=false qmd --index llm-wiki status.

Final Response

Mention: wiki pages read; wiki pages changed; validation commands run; any source gaps, uncertainty, or stale information.

© tudoumashu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/llm-wiki of tudoumashu/ai-memory-skillpack.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit f85cdec

Compare with similar skills

LLM Wiki next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

LLM Wiki compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
LLM Wiki this skilltudoumashu/ai-memory-skillpack456—~1.7kAutomated safety check: PassMIT
Karpathy LLM WikiAstro-Han/karpathy-llm-wiki2.5k—~3.6kAutomated safety check: PassMIT
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
Wiki Builderrohitg00/pro-workflow2.9k—~1kAutomated safety check: PassNone
Codex History IngestAr9av/obsidian-wiki3.5k—~2.2kAutomated safety check: NotesMIT
Arkon Editnduckmink/arkon1.5k—~1.6kAutomated safety check: PassCustom licence

Similar skills

  • Karpathy LLM Wiki

    Astro-Han/karpathy-llm-wiki

    A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.

    2.5k GitHub stars~3.6k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Wiki Builder

    rohitg00/pro-workflow

    Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base.

    2.9k GitHub stars~1k tokensUpdated 11 days ago
    Knowledge ManagementAuto-check passed
  • Codex History Ingest

    Ar9av/obsidian-wiki

    Ingest Codex CLI conversation/session history into Obsidian as distilled knowledge.

    3.5k GitHub stars~2.2k tokensUpdated yesterday
    Knowledge ManagementAuto-check: notes
  • Arkon Edit

    nduckmink/arkon

    Propose or directly apply edits to Arkon wiki pages, including proposing brand new pages.

    1.5k GitHub stars~1.6k tokensUpdated 4 mo ago
    Knowledge ManagementAuto-check passed
  • Research Wiki Builder

    dair-ai/dair-academy-plugins

    Creates and maintains configurable research wikis: scaffold a folder, add sources, compile pages and indexes, and file query answers back.

    614 GitHub stars~1.3k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed

More from tudoumashu/ai-memory-skillpack

  • Project Mastery Coach

    tudoumashu/ai-memory-skillpack

    Train strict project ownership from repo-local docs/ai memory and central LLM Wiki project entities.

    456 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • AI Project Memory

    tudoumashu/ai-memory-skillpack

    Maintain bounded, durable AI project memory in a repository's docs/ai/ pack.

    456 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed

Questions about LLM Wiki

What does LLM Wiki do?

Query and maintain the user's local LLM Wiki from any Codex or Claude Code conversation or project. LLM Wiki is an agent skill from tudoumashu/ai-memory-skillpack. Query and maintain the user's local LLM Wiki from any Codex or Claude Code conversation or project.

When should I use LLM Wiki?

LLM Wiki fits situations like: the user asks to search personal knowledge; recall prior research; answer from the wiki; create durable notes.

How do I install LLM Wiki in Claude Code?

Run `npx skills add tudoumashu/ai-memory-skillpack --skill llm-wiki -a claude-code`. Or copy the skill folder (skills/llm-wiki in tudoumashu/ai-memory-skillpack) into .claude/skills/llm-wiki in your project. Claude Code loads it when a task matches its description.

How do I install LLM Wiki in Codex?

Run `npx skills add tudoumashu/ai-memory-skillpack --skill llm-wiki -a codex`. Or copy the skill folder (skills/llm-wiki in tudoumashu/ai-memory-skillpack) into .agents/skills/llm-wiki in your project. Codex loads it when a task matches its description.

Can I use LLM Wiki in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tudoumashu/ai-memory-skillpack --skill llm-wiki -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llm-wiki, .gemini/skills/llm-wiki, .github/skills/llm-wiki and .opencode/skills/llm-wiki in your project.

What does LLM Wiki need to run?

Going by SKILL.md and its folder, LLM Wiki needs the command-line tools its instructions call (rg and npx). Our summary lists: Node.js.

Does LLM Wiki access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is LLM Wiki safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does LLM Wiki use?

LLM Wiki is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does LLM Wiki use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to LLM Wiki?

Skills that share tags, products or a category with LLM Wiki: Karpathy LLM Wiki (Astro-Han/karpathy-llm-wiki, 2.5k stars), LLM Wiki (lewislulu/llm-wiki-skill, 655 stars), Wiki Builder (rohitg00/pro-workflow, 2.9k stars) and Codex History Ingest (Ar9av/obsidian-wiki, 3.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains LLM Wiki?

tudoumashu (a GitHub user) maintains it in tudoumashu/ai-memory-skillpack, which has 456 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 8, 2026.

Source: tudoumashu/ai-memory-skillpack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.