
rarce/git-wiki
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
個人的なGitHubリポジトリにKarpathyのLLM-wikiパターンを実装するClaudeコードスキル, qmdとオンデバイスハイブリッド検索.
概要
あなたのエージェントは、ソースを摂取し、ページを書いて、現在のクロスリファレンスを維持し、wikiから回答します。 オンデバイスハイブリッド検索。 サーバなし、SaaSなし、DBなし、デフォルトでローカルコミットなし、オプションのGitHub公開。 - - - - すべての摂取されたソースと回答されたクエリはwikiを豊かにします。 - —バージョンアップ、ポータブル、ローカルまたはGitHub経由で共有可能、変更ログとして差分。 ゼロ隠し状態を破損させる。 - — BM25 + ベクトル + LLM は qmd 経由で再燃します。 外部APIは、どこにでもアップロードされていない - — 唯一のランタイムは bash、git、qmd、および GitHub sync 用のオプションの gh です。 - — Claude コード、Cursor、Codex、Copilot、または Agent-Skills 互換エージェントで動作します。 - — スタンドルの日付、孤児、壊れたリンク、インデックスのドリフト、不足しているクロスリファレンス、矛盾。 Karpathy LLM-wiki パターンの 3 つの層: 1. (sources/) — 記事、論文、メモ。 LLM は読みますが、書き直しません。 2. (ページ/人/概念/) — LLM 所有のマークダウン; 合成はここに蓄積します。 3. (CLAUDE.md + SKILL.).
概要(AI 翻訳)
自分のgitリポジトリに住んでいる自己維持知識wiki あなたのエージェントは、ソースを摂取し、ページを書いて、現在のクロスリファレンスを維持し、wikiから回答します。 オンデバイスハイブリッド検索。 サーバなし、SaaSなし、DBなし、デフォルトでローカルコミットなし、オプションのGitHub公開。
##特徴
-時間を超えるコンパウンド - すべての摂取されたソースと回答されたクエリはwikiを豊かにします。
- あなたのリポジトリはストアです。バージョンアップ、ポータブル、共有、またはGitHub経由、変更ログとしてdiffs。 ゼロ隠し状態を破損させる。
- オンデバイスハイブリッド検索 — BM25 + ベクトル + LLM は、 [[[[[
qmd]]] [qmd] を介して再ランクします。 外部APIは、どこにでもアップロードされていない - サーバなし、SaaSなし — 唯一のランタイムは[
bash、git]、[qmd]、およびGitHubの同期の[gh]です。 -Agent-Skills 標準 — Claudeコード、Cursor、Codex、Copilot、または[Agent-Skills-compatible Agent][home]で動作します。 - ドリフト用 — 定番の日付、孤児、壊れたリンク、インデックスのドリフト、不足しているクロスリファレンス、矛盾。
使い方
[Karpathy LLM-wiki パターン][gist] の 3 つのレイヤー:
1。 未加工源 ([sources/) — 記事、紙、メモ。 LLM は読みますが、書き直しません。
2.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
git-wiki
A self-maintaining knowledge wiki that lives in your own git repo. Your agent ingests sources, writes the pages, keeps cross-references current, and answers from the wiki. On-device hybrid search. No server, no SaaS, no DB — local commits by default, optional GitHub publishing.
bash <(curl -sL https://raw.githubusercontent.com/rarce/git-wiki/main/install.sh)
Features
- Compounds over time — every ingested source and answered query enriches the wiki.
- Your repo is the store — versioned, portable, shareable locally or via GitHub, diffs as a change log. Zero hidden state to corrupt.
- On-device hybrid search — BM25 + vector + LLM rerank via [
qmd][qmd]. No external API, no embeddings uploaded anywhere. - No server, no SaaS — the only runtime is
bash,git,qmd, and optionallyghfor GitHub sync. - Agent-Skills standard — works with Claude Code, Cursor, Codex, Copilot, or any [Agent-Skills-compatible agent][home].
- Lint for drift — stale dates, orphans, broken links, index drift, missing cross-references, and contradictions.
How it works
Three layers from the [Karpathy LLM-wiki pattern][gist]:
- Raw sources (
sources/) — articles, papers, notes. Immutable; the LLM reads but never rewrites them. - Wiki pages (
pages/,people/,concepts/) — LLM-owned markdown; synthesis accumulates here. - Schema (
CLAUDE.md+SKILL.md) — conventions and workflows the LLM follows.
Two navigation files:
index.md— content catalog, grouped by category. Read first on every query.log.md— append-only chronological record, grep-friendly (## [YYYY-MM-DD] |).
ingest query
│ │
▼ ▼
sources/ ──► wiki pages ──► index.md ──► answer with citations
▲ │
└───── qmd search ─┘
git-wiki vs classic RAG
| Classic RAG | git-wiki | |
|---|---|---|
| What’s retrieved | raw chunks | curated wiki pages |
| Quality over time | flat | compounds with each ingest |
| Storage | vector DB | markdown in git |
| Contradictions | silently coexist | surfaced by lint |
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add rarce/git-wiki