llm-wiki-karpathy

作者 balukosuri已验证

AI skill: llm-wiki-karpathy

174
Stars
75
Forks
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/balukosuri/llm-wiki-karpathy

快速入门

使用 llm-wiki-karpathy 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

LLM Wiki (Karpathy Pattern)

A self-maintaining personal knowledge base powered by LLMs, based on Andrej Karpathy's LLM Wiki pattern.

Instead of re-searching raw documents on every question (like RAG), the LLM reads your sources once and builds a persistent, interlinked wiki that compounds over time. The more sources you feed it, the richer and more connected it gets.


Prerequisites

  • Cursor (or any LLM-powered editor that reads a schema file)
  • Obsidian (free) for browsing the wiki in real time

Getting Started

1. Clone the repo

git clone https://github.com/balukosuri/llm-wiki-karpathy.git
cd llm-wiki-karpathy

2. Open the project in Cursor

Cursor reads CLAUDE.md automatically and understands the wiki's structure, page formats, and workflows.

If you use a different AI agent (Claude Code, Codex, etc.), paste the contents of CLAUDE.md into your agent's context.

3. Open the same folder in Obsidian

Open the project directory as an Obsidian vault. You'll have two windows side by side — Cursor on the left where you talk to the AI, Obsidian on the right where you browse the wiki as pages appear.

4. Drop a source into raw/

Any document works:

  • Product specs, design docs, or PRDs
  • Meeting transcripts
  • Web articles (use Obsidian Web Clipper to save pages as markdown)
  • Style guides
  • PDFs, reports, email threads saved as text
  • Competitor documentation

5. Say "ingest"

Type this in Cursor:

ingest raw/my-document.pdf

The AI will:

  1. Read the document
  2. Discuss key takeaways with you
  3. Create a source summary page in wiki/sources/
  4. Create new pages for any products, features, personas, or concepts it finds
  5. Update the glossary with new terms
  6. Update the index with all new pages
  7. Update the overview if the big picture shifted
  8. Log everything in wiki/log.md

A single source can touch 5-15 wiki pages. Watch them appear in Obsidian in real time.

6. Ask questions

What are the main risks identified across all my sources?

The AI reads the wiki, synthesizes an answer with citations, and asks: "Should I save this as a wiki page?" If you say yes, the answer becomes a permanent analysis page. Your questions make the knowledge base richer over time.

7. Lint the wiki

Every 10 ingests or so, run a health check:

lint the wiki

The AI checks for contradictions between pages, stale claims, orphan pages with no links, missing cross-references, and inconsistent terminology. It reports what it found and asks which fixes to apply.


Repo Structure

llm-wiki-karpathy/
├── CLAUDE.md          # Schema — the AI's operating manual
├── llm-wiki.md        # Karpathy's original idea document
├── article.md         # Walkthrough article explaining this project
│
├── raw/               # Your source documents (AI reads, never writes)
│   └── .gitkeep
│
├── wiki/              # AI-generated knowledge base (AI owns this layer)
│   ├── index.md       # Master catalog — the AI reads this first on every query
│   ├── overview.md    # Big-picture synthesis (evolves with each ingest)
│   ├── glossary.md    # Terms, definitions, and style conventions
│   └── log.md         # Chronological record of all activity
│
└── .obsidian/         # Pre-configured Obsidian vault settings

How the layers work

LayerFolderWho owns itPurpose
Raw sourcesraw/YouImmutable source documents. The AI reads from here but never modifies anything.
The wikiwiki/The AIStructured, interlinked markdown pages. The AI creates, updates, and maintains everything here.
The schemaCLAUDE.mdYou + AIDefines page types, workflows, and conventions. Edit this to customize the AI's behavior for your domain.

Wiki page types

The AI creates different page types depending on what it finds in your sources:

TypeLocationWhat it captures
Sourcewiki/sources/Summary of a raw document — key facts, quotes, metadata
Featurewiki/features/A product feature — what it does, how it works
Productwiki/products/A product or tool — overview, versions, related features
Personawiki/personas/A user type — goals, pain points, expertise level
Conceptwiki/concepts/A domain idea — definition, related terms, common misconceptions
Style Rulewiki/style/A writing convention — when to apply, examples, exceptions
Analysiswiki/analyses/A synthesized output — comparison table, gap analysis, outline

Customizing for Your Domain

The schema file CLAUDE.md is not set in stone. Edit it to fit your needs:

  • Add new page types. If your domain needs "API endpoints" or "customer segments" or "recipe variations", add them to the entity types table and tell the AI.
  • Change the ingest workflow. If you want the AI to skip the discussion step and just process silently, update the workflow section.
  • Adjust output formats. The AI can produce markdown pages, comparison tables, doc outlines, release notes drafts, or persona briefs. Add formats that make sense for your work.

Tips

Ingest one source at a time. You can batch-ingest, but you lose the chance to guide the AI. Stay involved — read the summaries, tell it what to emphasize, ask follow-ups during ingestion.

Save your best questions. When you ask something and get a useful answer, tell the AI to save it as an analysis page. Your explorations compound in the wiki instead of disappearing into chat history.

Use graph view often. Press Cmd+G in Obsidian. The visual map shows which pages are hubs, which are orphans, and how everything connects.

Check the glossary before writing. Open wiki/glossary.md before you write anything. It has the right terms, the wrong terms, and the reasons behind each choice.

Don't write wiki pages yourself. Your job is to find good sources and ask good questions. The AI handles the summarizing, cross-referencing, filing, and bookkeeping.


Use Cases

  • Technical writers — Ingest specs, transcripts, and competitor docs. Get a living glossary, persona pages, and structured outlines without writing them yourself.
  • Researchers — Feed it papers, articles, and reports over weeks. End up with a wiki that has an evolving thesis and all the connections already made.
  • Product managers — Ingest PRDs, customer interviews, competitive analyses, and retros. The wiki maintains the big picture.
  • Students — Ingest textbook chapters one at a time. The AI builds concept pages, links them together, and flags connections between chapters.
  • Anyone accumulating knowledge — Trip planning, hobby research, health tracking, course notes, book clubs. Anything where information comes from multiple sources and you want it organized.

Credits

常见问题

What is llm-wiki-karpathy?

llm-wiki-karpathy is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by balukosuri. It has 174 GitHub stars.

Is llm-wiki-karpathy safe to use?

Yes. llm-wiki-karpathy passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install llm-wiki-karpathy?

Clone the repository with "git clone https://github.com/balukosuri/llm-wiki-karpathy" and add it to your Claude Code skills directory (see the Installation section above).

Are there alternatives to llm-wiki-karpathy?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh llm-wiki-karpathy against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情