@zosmaai/pi-llm-wiki
LLM Wiki for Pi — self-maintaining knowledge base following Karpathy's pattern. Obsidian-friendly, auto-updating, personal & company wiki.
Package details
Install @zosmaai/pi-llm-wiki from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@zosmaai/pi-llm-wiki- Package
@zosmaai/pi-llm-wiki- Version
0.2.0- Published
- Apr 27, 2026
- Downloads
- 591/mo · 591/wk
- Author
- arjun-zosma
- License
- MIT
- Types
- extension, skill, prompt
- Size
- 246.5 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
],
"skills": [
"./skills"
],
"prompts": [
"./prompts"
],
"image": "https://raw.githubusercontent.com/zosmaai/pi-llm-wiki/main/assets/screenshot.png"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@zosmaai/pi-llm-wiki
Self-maintaining, Obsidian-compatible knowledge base for pi. Following Andrej Karpathy's LLM Wiki pattern.
Install
pi install npm:@zosmaai/pi-llm-wiki
Quick Start
/wiki-init "AI Engineering"
Drop sources into raw/, then:
/wiki-ingest
/wiki-query What are the key patterns?
What It Does
| Tool | Purpose |
|---|---|
wiki_bootstrap |
Initialize a new wiki vault |
wiki_capture_source |
Capture URL/file/text into immutable packet |
wiki_ingest |
Process sources into wiki pages |
wiki_ensure_page |
Create entity/concept/synthesis/analysis page |
wiki_search |
Search the wiki registry |
wiki_lint |
Health check (orphans, gaps, contradictions) |
wiki_status |
Stats dashboard |
wiki_rebuild_meta |
Force metadata rebuild |
wiki_log_event |
Record custom event |
wiki_watch |
Schedule auto-updates |
Architecture
Four layers with clear ownership:
raw/sources/SRC-*/ # Immutable source packets (extension-owned)
wiki/ # Editable knowledge pages (you + LLM)
meta/ # Auto-generated registry, backlinks, index, log
.wiki/ # Config and templates
Read docs/architecture.md for details.
Documentation
- Architecture — How the four layers work
- Commands — All slash commands and tools
- Obsidian Integration — Vault setup and recommended plugins
- Configuration — Wiki modes, topics, settings
- API — Extension tool reference
Contributing
See CONTRIBUTING.md.
License
MIT
