Llm Wikiのロゴ

Llm Wiki

コミュニティ
bighardperson
llm-wiki

LLMを使って個人用ナレッジベース(wiki)を構築・管理します。RAG形式で情報を検索するのではなく、LLMが元の情報を段階的にまとめ、相互参照し、永続的な構造化wikiとして維持します。ユーザーがナレッジベースや個人用wikiを作成したいとき、調査メモを整理したいとき、文書を構造化wikiに取り込んだり、常に更新される知識リポジトリを管理したりするときに使用します。

Add to TypingMind

概要

公開者bighardperson
リポジトリcomputer-science-skills-collection
スキル名llm-wiki
スター
66
フォーク
10
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    bighardpersonがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Llm Wiki」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/bighardperson/computer-science-skills-collection/tree/main/skills/Karpathy%20LLM%20Wiki
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。

TypingMindで使用

TypingMindのチャットでLlm Wikiを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にLlm Wikiを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Llm Wikiは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Karpathy LLM Wiki

A pattern for building personal knowledge bases using LLMs.

Based on Andrej Karpathy's LLM Wiki.

The Core Idea

Instead of RAG (retrieve-on-every-query), the LLM incrementally builds and maintains a persistent wiki — a structured, interlinked collection of markdown files. When you add a new source, the LLM reads it, extracts key information, and integrates it into the existing wiki — updating entity pages, revising topic summaries, noting contradictions, and strengthening the evolving synthesis.

The wiki is a persistent, compounding artifact. Cross-references are already there. Contradictions have been flagged. Synthesis reflects everything you've read. It gets richer with every source and every question.

You never write the wiki yourself — the LLM writes and maintains all of it. You're in charge of sourcing, exploration, and asking the right questions.

Architecture (Three Layers)

1. Raw Sources

Your curated collection of source documents — articles, papers, images, data files. These are immutable. The LLM reads from them but never modifies them. This is your source of truth.

2. The Wiki

A directory of LLM-generated markdown files — summaries, entity pages, concept pages, comparisons, overview, synthesis. The LLM owns this layer entirely: creates pages, updates them when new sources arrive, maintains cross-references, keeps everything consistent. You read it; the LLM writes it.

3. The Schema

A configuration document (this skill) that tells the LLM the wiki's structure, conventions, and workflows. You and the LLM co-evolve this over time.

Operations

Ingest

User drops a new source. The LLM:

  1. Reads the source and discusses key takeaways
  2. Writes a summary page in the wiki
  3. Updates the index
  4. Updates relevant entity and concept pages across the wiki
  5. Appends an entry to the log

A single source may touch 10-15 wiki pages. Prefer ingesting one source at a time for quality.

Query

Ask questions against the wiki. The LLM:

  1. Reads index.md to find relevant pages
  2. Reads those pages and synthesizes an answer with citations
  3. Good answers get filed back into the wiki as new pages — comparisons, analyses, connections should be persisted, not lost in chat history

Lint (Health Check)

Periodically health-check the wiki. Look for:

  • Contradictions between pages
  • Stale claims superseded by newer sources
  • Orphan pages with no inbound links
  • Important concepts mentioned but lacking their own page
  • Missing cross-references
  • Data gaps that could be filled with a web search

Default Location

The wiki lives at a user-level path so it's accessible from any workspace or conversation:

~/.workbuddy/wiki-knowledge/

This is the default. The LLM should:

  1. Always check ~/.workbuddy/wiki-knowledge/ first when the user mentions their wiki, regardless of the current workspace.
  2. If the directory exists and contains WIKI-SCHEMA.md, use it directly — no need to ask the user for a path.
  3. Only ask for a custom path if the user explicitly wants a separate wiki.

Getting Started

When a user wants to create a wiki, follow these steps:

Step 1: Initialize Structure

Create at ~/.workbuddy/wiki-knowledge/ (or a user-specified path):

wiki-knowledge/
├── raw/              # Immutable source documents
│   └── assets/       # Downloaded images
├── wiki/             # LLM-maintained markdown files
│   ├── index.md      # Content catalog
│   └── log.md        # Chronological operation log
└── WIKI-SCHEMA.md    # Schema & conventions (co-evolve with user)

Step 2: Create index.md

A catalog of everything in the wiki — each page listed with a link, a one-line summary, and metadata (date, source count). Organized by category. The LLM updates it on every ingest.

Step 3: Create log.md

Append-only chronological record. Each entry format:

markdown
## [YYYY-MM-DD] operation_type | Title
Brief description of what was done.

Use consistent prefixes so it's parseable with grep:

bash
grep "^## \[" log.md | tail -5

Step 4: Create WIKI-SCHEMA.md

A configuration file describing:

  • Directory structure and conventions
  • Page format templates
  • Cross-referencing rules
  • Domain-specific categories
  • Workflows for ingest/query/lint

Customize this with the user for their specific domain.

Page Format Template

markdown
---
title: Page Title
type: entity | concept | source-summary | comparison | synthesis
created: YYYY-MM-DD
updated: YYYY-MM-DD
sources: [list of source filenames]
tags: [relevant tags]
---

# Page Title

Content here. Use [[wiki-links]] for cross-references.

## See Also
- [[related-page-1]]
- [[related-page-2]]

Use Cases

DomainRaw SourcesWiki Pages
PersonalJournal entries, articles, podcast notesGoals, health tracking, self-improvement
ResearchPapers, articles, reportsEntities, concepts, evolving thesis
Book readingChapter notesCharacters, themes, plot threads
BusinessSlack threads, meeting transcripts, docsInternal knowledge base
Competitive analysisCompany reports, newsCompetitor profiles, comparisons
Course notesLecture notes, readingsTopic summaries, concept maps

Tips

  • Obsidian works great as the wiki viewer — graph view shows connections, Dataview plugin queries frontmatter metadata
  • The wiki is just a git repo of markdown files — version history, branching, and collaboration for free
  • Marp can generate slide decks from wiki content
  • Web Clipper (Obsidian plugin) converts web articles to markdown for easy source ingestion
  • Download images locally for persistence — set a fixed attachment directory

Important Principles

  1. Raw sources are immutable — never modify source documents
  2. The LLM owns the wiki — users read, LLM writes and maintains
  3. Knowledge compounds — every ingest and query enriches the wiki
  4. File good answers back — don't let valuable analysis disappear into chat
  5. Regular lint passes — keep the wiki healthy as it grows

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Llm Wiki」では何ができますか?

LLMを使って個人用ナレッジベース(wiki)を構築・管理します。RAG形式で情報を検索するのではなく、LLMが元の情報を段階的にまとめ、相互参照し、永続的な構造化wikiとして維持します。ユーザーがナレッジベースや個人用wikiを作成したいとき、調査メモを整理したいとき、文書を構造化wikiに取り込んだり、常に更新される知識リポジトリを管理したりするときに使用します。

TypingMindでLlm Wikiを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Llm Wikiはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにLlm Wikiをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/bighardperson/computer-science-skills-collection/tree/main/skills/Karpathy%20LLM%20Wikiを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Llm Wikiを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Llm Wikiで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもLlm Wikiを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Llm Wiki」は無料ですか?

bighardpersonがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇