llm-wiki
O que ela faz
Esta skill faz sua IA manter uma base de conhecimento formada por arquivos Markdown conectados, com base em um método de Andrej Karpathy. Ela é para pessoas que pesquisam um tema ao longo do tempo e querem que suas notas se complementem.
Quando usar
- ✓Quando você quer começar uma nova wiki ou base de conhecimento sobre um tema.
- ✓Quando você quer adicionar uma fonte, como um artigo, à sua wiki existente.
- ✓Quando você quer verificar sua wiki em busca de contradições ou links que faltam.
Link da skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/llm-wiki/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Adicione este artigo sobre reciclagem de baterias à minha wiki e conecte-o às notas que eu já tenho sobre lítio.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A wiki é apenas uma pasta de arquivos Markdown. Sua IA lê as fontes, escreve resumos, adiciona links cruzados e aponta contradições, assim o conhecimento é organizado uma vez e mantido atualizado.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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`
Perguntas frequentes
Onde a wiki fica armazenada?
Ela fica na pasta definida em WIKI_PATH ou, por padrão, em uma pasta chamada wiki no seu diretório pessoal.
Preciso de algum programa especial?
Não. A skill diz que a wiki funciona no Obsidian, no VS Code ou em qualquer editor, sem banco de dados.
Quem decide o que entra na wiki?
A pessoa escolhe as fontes e orienta a análise, e a IA resume e mantém as notas consistentes.
Detalhes
Descrição original do autor
Karpathy's LLM Wiki: build/query interlinked markdown KB.
Popularidade
- Estrelas no GitHub
- 260 mil
- Posição no ranking
- #554
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
agent-merge-conflict-arbiter
260 milResolve um conflito de merge no git entre as branches de dois agentes como terceiro neutro, produzindo um único resultado unificado para o repositório.
antigravity-cli
260 milOrienta você na instalação, atualização e solução de problemas da ferramenta de linha de comando Antigravity, incluindo plugins, login e sandbox.
blackbox
260 milPermite que seu agente entregue uma tarefa de programação para a ferramenta de linha de comando Blackbox AI, que roda vários modelos de IA e escolhe o melhor resultado.
dynamic-workflow
260 milEnsina seu agente a rodar grandes lotes de trabalhos semelhantes como um script salvo, de modo que só resultados verificados voltem para a conversa principal.
Skills parecidas
graincrawl
394 milPermite que seu agente pesquise suas anotações e transcrições salvas de reuniões do Granola, verifique quão atualizadas elas estão e as conte em um período.
notcrawl
394 milPermite que seu agente pesquise uma cópia salva do seu workspace do Notion, consulte páginas e bancos de dados e exporte páginas para arquivos Markdown.
knowledge-entities
394 milAjuda seu agente a identificar pessoas, empresas e projetos e a escrever páginas de perfil com fontes no seu Knowledge vault.