llm-wiki
Knowledge management, document synthesis, and concept graph maintenance following Andrej Karpathy's LLM-Wiki pattern.
Skill by mimimaster
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mimimaster-llm-wiki
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/llm-wiki
What's inside
- Skill name
llm-wiki- Description
- Knowledge management, document synthesis, and concept graph maintenance following Andrej Karpathy's LLM-Wiki pattern. Use when ingesting articles/docs/papers, creating or querying wiki concepts, maintaining cross-links, or performing wiki health checks.
- License
- MIT
- Instructions
- 132 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Andrej Karpathy LLM-Wiki Pattern
> "The central idea of LLM-Wiki is that the LLM acts as the encyclopedist and curator of a personal, compounding knowledge base formatted in plain Markdown with `[[wikilinks]]`."
A structured knowledge architecture where LLMs ingest raw information, distill it into interconnected concept pages, maintain a master index, record an append-only audit trail, and continuously verify graph health.
---
## Architecture Overview
```
~/.piwin/wiki/
├── INDEX.md # Master catalog, domain taxonomy, concept lookup table
├── LOG.md # Append-only chronological audit log of all updates & ingests
├── raw/ # Immutable raw sources (papers, notes, transcripts, clips)
└── concepts/ # Interconnected Markdown notes with YAML frontmatter + [[wikilinks]]
├── transformer-architecture.md
├── attention-mechanism.md
└── ...
```
### The Three Layers
1. **Raw Sources (`raw/`)**: Read-only raw documents, articles, transcripts, or web clips.
2. **Distilled Wiki (`concepts/`)**: High-signal, synthesized encyclopedia pages in Markdown.
3. **Control & Audit (`INDEX.md` + `LOG.md`)**: Table of contents and journal of all changes.
---
## The 3 Core Operations
```
┌─────────────────────────────────────────────────────────────┐
│ LLM-Wiki Lifecycle │
├──────────────────────────────┬──────────────────────────────┤
│ 1. Ingest (消化与提炼) │ 2. Query (检索与概念联想) │
│ • Read raw source • Read INDEX.md first │
│ • Cross-check INDEX.md • Retrieve target concepts │
│ • Update 1–5 concept notes│ • Follow [[wikilinks]] │
│ • Append to LOG.md • Synthesize cited answer │
├──────────────────────────────┴──────────────────────────────┤
│ 3. Lint (巡检与维护) │
│ • Scan for broken [[wikilinks]] │
│ • Identify orphan concepts with zero in/out links │
│ • Ensure every concept is registered in INDEX.md │
└─────────────────────────────────────────────────────────────┘
```
---
## 1. Ingest Workflow (消化提炼)
When given new documents, text, notes, or technical materials:
1. **Read `INDEX.md` First**:
- Inspect the current catalog to see what concepts already exist.
- Avoid creating duplicates or conflicting definitions.
2. **Decompose & Synthesize**:
- Do not simply dump the entire raw file into a page.
- Break down ideas into atomic, durable concepts (e.g. `[[Direct Preference Optimization]]`, not `Paper Summary March 2024`).
- Create or update 1 to 5 interconnected concept pages.
3. **Format Each Concept Page**:
```markdown
---
title: Concept Name
aliases: [Acronym, Alt Name]
tags: [domain, sub-domain]
summary: One-sentence concise definition.
updated: YYYY-MM-DD
---
# Concept Name
## Definition & Core Intuition
Clear, concise explanation of the concept.
## Key Mechanisms & Components
Structured breakdown with cross-references like [[Related Concept]].
## Relationships & Connections
- Extends: [[Prior Concept]]
- Applied in: [[Application Concept]]
- Contrasted with: [[Alternative Concept]]
```
4. **Maintain Cross-links (`[[wikilinks]]`)**:
- Use `[[Concept Name]]` or `[[Target Slug|Display Label]]`.
- Every concept page must link to at least 1 parent or related concept.
5. **Update Index & Log**:
- Use tool `wiki_write` to save concepts, which automatically records entries into `INDEX.md` and `LOG.md`.
---
## 2. Query Workflow (检索与联想)
When answering questions using the knowledge base:
1. **Check `INDEX.md`**:
- Call `wiki_read(name: "INDEX")` to locate matching concepts.
2. **Read Target Concepts**:
- Call `wiki_read(name: "...")` for the most relevant concepts.
3. **Traverse Connected Outlinks**:
- If deeper context is required, read the outlinks discovered in the target concept.
4. **Synthesize & Cite**:
- Formulate the response incorporating explicit `[[wikilinks]]` so the user can explore the concept network.
---
## 3. Lint Workflow (巡检与健康维护)
Periodically or after bulk ingestions:
1. Run `wiki_lint`:
- Inspects `~/.piwin/wiki/concepts/`.
- Identifies broken links (`[[Target]]` pointing to non-existent concept files).
- Identifies orphan concepts (zero backlinks and omitted from `INDEX.md`).
2. Fix detected issues:From mimimaster/piwin, MIT.
More from mimimaster/piwin
- 0.788score
improve
piwin (adapted from shadcn/improve)
Audit a codebase as a read-only senior advisor and write prioritized, self-contained implementation plans under plans/ for other agents to execute; never…
SkillAFreshness: A★ 142Claude Code +9 - 0.788score
improve
piwin (adapted from shadcn/improve)
Survey a codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
using-git-worktrees
mimimaster
Isolate parallel or sub-agent work in git worktrees and integrate or discard it explicitly, keeping the main checkout clean.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
find-skill
mimimaster
Find a skill, MCP server or extension for a task: first what is installed, then what can be installed from piwin's curated catalog.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
create-skill
mimimaster
Create or revise an Agent Skill (SKILL.md) with valid frontmatter and a short outcome-oriented body.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
subagent-driven-development
mimimaster
Execute an approved plan by delegating isolatable steps to isolated child sessions (Host serializes writers), then review diffs and verify in the parent.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
imagegen
mimimaster
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or…
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
generate-flashcards
mimimaster
Create study flashcards from notes or open knowledge via flashcard_batch_create; folders and documents go through Doc Cards generate instead.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
executing-plans
mimimaster
Execute an approved SessionPlan in the current session slice by slice, recording step evidence with piwin_plan_set_step.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
optimize-prompt
mimimaster
Rewrite system prompts, tool descriptions, and agent instructions into dense, contract-style, XML-bounded specs with a before/after comparison.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
requesting-code-review
mimimaster
Write a short, high-signal review request covering intent, risks, files touched, tests run, and specific asks.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
videogen
mimimaster
Generate short videos from a text prompt or an image reference with the configured video model via video_gen.
SkillAFreshness: A★ 142Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 142
- Forks
- 6
- Open issues
- 0
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
- Last release
- Oct 8, 2026 (19 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mimimaster/piwin
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mimimaster
- 0.782score
executing-plans
mimimaster
Execute an approved SessionPlan in the current session slice by slice, recording step evidence with piwin_plan_set_step.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
imagegen
mimimaster
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or…
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
generate-flashcards
mimimaster
Create study flashcards from notes or open knowledge via flashcard_batch_create; folders and documents go through Doc Cards generate instead.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
create-skill
mimimaster
Create or revise an Agent Skill (SKILL.md) with valid frontmatter and a short outcome-oriented body.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
requesting-code-review
mimimaster
Write a short, high-signal review request covering intent, risks, files touched, tests run, and specific asks.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
find-skill
mimimaster
Find a skill, MCP server or extension for a task: first what is installed, then what can be installed from piwin's curated catalog.
SkillAFreshness: A★ 142Claude Code +9
Cite this page
llm-wiki skill. Agent Mart. https://agentmart.dev/skills/mimimaster-llm-wiki (last updated 2026-10-24)