Llm Wiki Setupのロゴ

Llm Wiki Setup

コミュニティ
JensHeitmann
llm-wiki-setup

Initialize a Karpathy-style LLM wiki (personal knowledge base / AI second brain) in a folder. Creates a CLAUDE.md schema with routing table and naming conventions, AGENTS.md mirror, raw/wiki directory structure, and index.md/log.md scaffolding — a complete working vault in one pass. Use when the user asks to "set up an LLM wiki", "create a second brain", "build a personal knowledge base", "install the Karpathy wiki pattern", "initialize a knowledge vault", or points at an empty folder and wants to turn it into an AI-maintained wiki.

概要

公開者JensHeitmann
リポジトリai-second-brain-skills
スキル名llm-wiki-setup
スター
104
フォーク
18
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 5個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JensHeitmann/ai-second-brain-skills.git /tmp/ai-second-brain-skills
mkdir -p .claude/skills
cp -r /tmp/ai-second-brain-skills/llm-wiki-setup .claude/skills/llm-wiki-setup
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

llm-wiki-setup

Install the Karpathy LLM wiki pattern into a folder. One pass, three questions, a working vault a beginner can use immediately.

What gets created

<vault>/
├── CLAUDE.md              # the map — routing table, schema, workflows, guardrails
├── AGENTS.md              # minimal mirror for Codex and other non-Claude agents
├── .gitignore
├── raw/                   # immutable source documents (LLM reads, never writes)
│   └── .gitkeep
└── wiki/                  # LLM-owned markdown
    ├── index.md           # catalog of every page, organized by category
    └── log.md             # chronological operation log with grep-friendly prefix

Optional additions the user may request at setup time:

  • wiki/hot.md — 500-char rolling buffer for fast recent-context lookup (executive-assistant use cases)
  • Nested wiki subfolders: wiki/entities/, wiki/concepts/, wiki/sources/, wiki/analyses/

Setup flow

Ask these three questions in a single message:

  1. Vault path? Absolute path. Will be created if it doesn't exist.
  2. Flat or nested wiki? Flat is the default (Karpathy's preference — cleaner, grep-friendly). Nested adds subfolders for larger or mixed-topic vaults.
  3. Include hot cache? Optional wiki/hot.md rolling buffer. Default: no.

Build procedure

  1. Safety check. If <vault>/CLAUDE.md or <vault>/wiki/ already exists, stop and ask the user — do not overwrite without explicit confirmation.
  2. Create directories. <vault>, <vault>/raw/, <vault>/wiki/. For nested layout, also create wiki/entities/, wiki/concepts/, wiki/sources/, wiki/analyses/.
  3. Install the schema. Copy templates/CLAUDE.md → <vault>/CLAUDE.md, replacing {{LAYOUT}} with flat or nested. Copy templates/AGENTS.md → <vault>/AGENTS.md.
  4. Scaffold the wiki. Copy templates/index.md → <vault>/wiki/index.md. Copy templates/log.md → <vault>/wiki/log.md, replacing {{DATE}} with today's date (YYYY-MM-DD) and {{LAYOUT}} with the layout choice.
  5. Optional extras. If hot cache was requested, create <vault>/wiki/hot.md with a header comment only. Create <vault>/raw/.gitkeep.
  6. Gitignore. If <vault>/.gitignore does not exist, copy templates/gitignore → <vault>/.gitignore. If it already exists, append any missing lines from the template — do not overwrite.
  7. Git init. If <vault> is not already a git repo: git init && git add . && git commit -m "chore: initialize LLM wiki". If it is already a git repo with a clean working tree, stage the new files and commit them separately as chore: add LLM wiki scaffold. If the repo has uncommitted changes, stop and ask the user how to proceed.
  8. Verify. Read <vault>/CLAUDE.md back and confirm the {{LAYOUT}} placeholder was replaced. If it wasn't, fix it and amend (or create a follow-up commit).

Report to user

On completion, print exactly:

LLM wiki initialized at <vault>

Layout: <flat|nested>
Hot cache: <yes|no>

Next steps:
1. Drop a source into <vault>/raw/ (PDF, markdown, web clip, transcript)
2. Open Claude Code in the vault:  cd <vault> && claude
3. Say: "Ingest the new source I just added to raw/"

Claude will read it, extract entities and concepts, write wiki pages,
update wiki/index.md, and append to wiki/log.md. A substantive source
typically touches 10–15 pages — that is normal and the whole point.

For periodic gap-filling research, install and run the wiki-self-heal skill.

Notes

  • The CLAUDE.md template is the hero file. It encodes the three-layer architecture, the routing table, naming conventions, workflows, and guardrails. Beginners read it to understand the system — it's also documentation, not just instructions for the LLM. Keep it intact during the copy; only {{LAYOUT}} is substituted.
  • The AGENTS.md template is a minimal mirror for OpenAI Codex and other non-Claude agents that don't read CLAUDE.md.
  • Never overwrite existing files without explicit user confirmation (steps 1 and 6).
  • The vault is just a git repo of markdown files. No database, no embeddings, no vector store. That is intentional — naming conventions and wiki/index.md replace RAG infrastructure at this scale.

同梱ファイル

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

よくある質問

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

Initialize a Karpathy-style LLM wiki (personal knowledge base / AI second brain) in a folder. Creates a CLAUDE.md schema with routing table and naming conventions, AGENTS.md mirror, raw/wiki directory structure, and index.md/log.md scaffolding — a complete working vault in one pass. Use when the user asks to "set up an LLM wiki", "create a second brain", "build a personal knowledge base", "install the Karpathy wiki pattern", "initialize a knowledge vault", or points at an empty folder and wants to turn it into an AI-maintained wiki.

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

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

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

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

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

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

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

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

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

はい。JensHeitmannがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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