llm-wiki
Fungsinya
Skill ini membuat AI Anda memelihara basis pengetahuan yang terdiri dari file Markdown yang saling terhubung, berdasarkan pola dari Andrej Karpathy. Skill ini ditujukan untuk orang yang meneliti topik dari waktu ke waktu dan ingin catatannya saling membangun.
Kapan dipakai
- βSaat Anda ingin memulai wiki atau basis pengetahuan baru tentang sebuah topik.
- βSaat Anda ingin menambahkan sumber, seperti artikel, ke wiki Anda yang sudah ada.
- βSaat Anda ingin memeriksa wiki Anda dari kontradiksi atau tautan yang belum ada.
Link skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/llm-wiki/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βTambahkan artikel tentang daur ulang baterai ini ke wiki saya dan hubungkan dengan catatan yang sudah saya miliki tentang litium.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Wiki hanyalah folder berisi file Markdown. AI Anda membaca sumber, menulis ringkasan, menambahkan tautan silang, dan menandai kontradiksi, sehingga pengetahuan disusun sekali dan tetap terbarui.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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: Set via WIKI_PATH environment variable (e.g. in ${HERMES_HOME:-~/.hermes}/.env).
If unset, defaults to ~/wiki.
WIKI="${WIKI_PATH:-$HOME/wiki}"
The wiki is just a directory of markdown files β open it in Obsidian, VS Code, or any editor. No database, no special tooling required.
Architecture: Three Layers
wiki/
βββ SCHEMA.md # Conventions, structure rules, domain config
βββ index.md # Sectioned content catalog with one-line summaries
βββ log.md # Chronological action log (append-only, rotated yearly)
βββ raw/ # Layer 1: Immutable source material
β βββ articles/ # Web articles, clippings
β βββ papers/ # PDFs, arxiv papers
β βββ transcripts/ # Meeting notes, interviews
β βββ assets/ # Images, diagrams referenced by sources
βββ entities/ # Layer 2: Entity pages (people, orgs, products, models)
βββ concepts/ # Layer 2: Concept/topic pages
βββ comparisons/ # Layer 2: Side-by-side analyses
βββ queries/ # Layer 2: Filed query results worth keeping
Layer 1 β Raw Sources: Immutable. The agent reads but never modifies these.
Layer 2 β The Wiki: Agent-owned markdown files. Created, updated, and
cross-referenced by the agent.
Layer 3 β The Schema: SCHEMA.md defines structure, conventions, and tag taxonomy.
Resuming an Existing Wiki (CRITICAL β do this every session)
When the user has an existing wiki, always orient yourself before doing anything:
β Read SCHEMA.md β understand the domain, conventions, and tag taxonomy.
β‘ Read index.md β learn what pages exist and their summaries.
β’ Scan recent log.md β read the last 20-30 entries to understand recent activity.
WIKI="${WIKI_PATH:-$HOME/wiki}"
# Orientation reads at session start
read_file "$WIKI/SCHEMA.md"
read_file "$WIKI/index.md"
read_file "$WIKI/log.md" offset=<last 30 lines>
Only after orientation should you ingest, query, or lint. This prevents:
- Creating duplicate pages for entities that already exist
- Missing cross-references to existing content
- Contradicting the schema's conventions
- Repeating work already logged
For large wikis (100+ pages), also run a quick search_files for the topic
at hand before creating anything new.
Initializing a New Wiki
When the user asks to create or start a wiki:
- Determine the wiki path (from
$WIKI_PATHenv var, or ask the user; default~/wiki) - Create the directory structure above
- Ask the user what domain the wiki covers β be specific
- Write
SCHEMA.mdcustomized to the domain (see template below) - Write initial
index.mdwith sectioned header - Write initial
log.mdwith creation entry - Confirm the wiki is ready and suggest first sources to ingest
SCHEMA.md Template
Adapt to the user's domain. The schema constrains agent behavior and ensures consistency:
# Wiki Schema
## Domain
[What this wiki covers β e.g., "AI/ML research", "personal health", "startup intelligence"]
## Conventions
- File names: lowercase, hyphens, no spaces (e.g., `transformer-architecture.md`)
- Every wiki page starts with YAML frontmatter (see below)
- Use `[[wikilinks]]` to link between pages (minimum 2 outbound links per page)
- When updating a page, always bump the `updated` date
- Every new page must be added to `index.md` under the correct section
- Every action must be appended to `log.md`
Pertanyaan umum
Di mana wiki disimpan?
Wiki disimpan di folder yang diatur oleh WIKI_PATH, atau secara default di folder bernama wiki di direktori home Anda.
Apakah saya memerlukan perangkat lunak khusus?
Tidak. Skill menyatakan wiki dapat dipakai di Obsidian, VS Code, atau editor apa pun, tanpa basis data.
Siapa yang memutuskan apa yang masuk ke wiki?
Manusia memilih sumber dan mengarahkan analisisnya, sementara AI meringkas dan menjaga catatan tetap konsisten.
Detail
Deskripsi asli dari pembuat
Karpathy's LLM Wiki: build/query interlinked markdown KB.
Popularitas
- Bintang GitHub
- 260k
- Peringkat
- #554
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-merge-conflict-arbiter
260kMenyelesaikan konflik merge git antara cabang dua agent sebagai pihak ketiga yang netral, menghasilkan satu hasil gabungan untuk repo.
antigravity-cli
260kMemandu Anda memasang, memperbarui, dan memecahkan masalah alat baris perintah Antigravity, termasuk plugin, login, dan sandbox-nya.
blackbox
260kMemungkinkan agent Anda menyerahkan tugas pemrograman ke alat baris perintah Blackbox AI, yang menjalankan beberapa model AI dan memilih hasil terbaik.
dynamic-workflow
260kMengajari agent Anda menjalankan pekerjaan sejenis dalam jumlah besar sebagai skrip tersimpan, sehingga hanya hasil terverifikasi yang kembali ke percakapan utama.
Skill serupa
graincrawl
394kMemungkinkan agent Anda mencari catatan dan transkrip rapat Granola yang tersimpan, memeriksa seberapa baru datanya, dan menghitungnya dalam periode tertentu.
notcrawl
394kMemungkinkan agent Anda mencari salinan tersimpan dari ruang kerja Notion, mencari halaman dan database, serta mengekspor halaman ke file Markdown.
knowledge-entities
394kMembantu agent Anda mengidentifikasi orang, perusahaan, dan proyek, lalu menulis halaman profil berisi sumber untuk mereka di Knowledge vault Anda.