SkillsGrove
SkillsGrove/생산성/SherwinQ/karpathy-wiki/karpathy-wiki

karpathy-wiki

설치

$npx skills add https://github.com/SherwinQ/karpathy-wiki --skill karpathy-wiki
$git clone --depth 1 https://github.com/SherwinQ/karpathy-wiki.git /tmp/karpathy-wiki && mkdir -p ~/.claude/skills && cp -r /tmp/karpathy-wiki/. ~/.claude/skills/karpathy-wiki
이 Agent Skill을 설치해 주세요: https://github.com/SherwinQ/karpathy-wiki/tree/1443d530918ffac1ff2efb4c4cdb663b9282da68/ — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITUse when building or maintaining a personal knowledge base with LLM assistance. Triggers on ingesting sources, compiling wiki articles, querying knowledge, running health checks, deep research, or initializing a new wiki vault. Based on Karpathy's LLM Wiki pattern with Obsidian integration.
아래 SKILL.md는 SherwinQ/karpathy-wiki(커밋 1443d53)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Sherwin Qiu. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Karpathy Wiki

LLM-driven personal knowledge base that compounds over time. Raw sources in, structured wiki out.

You never write the wiki. The LLM writes everything. You just steer, and every answer compounds.

When to Use

  • User wants to ingest documents, URLs, or text into a knowledge base
  • User wants to query, compile, or maintain wiki articles
  • User needs deep research to fill knowledge gaps
  • User wants to initialize a new wiki vault

When NOT to Use

  • One-off Q&A without persistent knowledge storage
  • Note-taking without cross-referencing or structure
  • Non-text content management (images, videos alone)

Core Principles

  1. raw/ is immutable — sources are never edited; re-ingest as new version
  2. purpose.md anchors direction — read on every operation, align output with wiki goals
  3. Classify before extract — determine entity type during Ingest, choose chapter structure during Compile
  4. Analyze before generate — two-step Compile: structured analysis → article generation
  5. Backlink audit is mandatory — bidirectional links are the knowledge graph
  6. Query answers must be archived — good answers are compounding fuel
  7. Token budget first — always read index before full articles (L0→L1→L2→L3)
  8. Human verifies, LLM maintains — LLM writes, user steers

Pipeline

Stage Input Output
Ingest URLs, files, text raw/ (immutable) + hash cache
Compile raw/ files wiki/<domain>/ articles by entity type
Query Questions Cited answers → outputs/queries/
Lint Full wiki Health report → outputs/reports/

Each stage appends log.md. Lint and Query can trigger Deep Research to fill gaps.

Token Budget

Level ~Tokens When What
L0 ~200 Every session SKILL.md frontmatter
L1 ~1-2K Session start purpose.md + Concept Index + Dashboard
L2 ~2-5K Search Result summaries
L3 5-20K Deep read Full articles or raw sources

Entity Types

7 types, each with different required sections (see references/entity-types.md):

concept (default) · person · tool · event · comparison · pattern · overview

Commands

Command Action
init [path] [--template <t>] Initialize vault (templates: general/research/reading/project)
ingest <source> Collect + classify + archive (no wiki generation)
compile [topic] Two-step: analyze → generate wiki article
query <question> Answer from wiki, archive result
promote Elevate quality query answer to wiki article
research <topic> Gap → web search → ingest → compile loop
delete <source> Safe delete with cascade cleanup
lint Health check + graph analysis

Conventions

  • Obsidian CLI first for page operations (see references/obsidian-cli-cheatsheet.md)
  • Structured diff for updates: Current/Proposed/Reason/Source, user confirms each
  • Sources traceability: frontmatter sources[] links every wiki page to raw/ files
  • Incremental cache: SHA256 hash in .cache/ skips unchanged sources

References

  • references/operations.md — Full procedures for all 9 operations
  • references/frontmatter-schemas.md · compilation-guide.md · entity-types.md · obsidian-cli-cheatsheet.md
  • assets/ — All templates (purpose, wiki article, raw, query, indexes, log)
  • scripts/ — init-wiki.sh (with --template), parse-media.py
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Sherwin Qiu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.