kb-init

Initialize, migrate, and repair review-gated Obsidian knowledge bases.

3|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/bahayonghang/obsidian-notes-karpathy --skill kb-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kb-init
Source: https://github.com/bahayonghang/obsidian-notes-karpathy/tree/main/skills/kb-init
Command: npx skills add https://github.com/bahayonghang/obsidian-notes-karpathy --skill kb-init

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the initial setup, migration, and maintenance of a review-gated Obsidian knowledge base to keep vaults aligned with the Karpathy wiki pattern.

Core Features & Use Cases

  • Init the support layer and scaffold required directories (raw/, wiki/, outputs/, AGENTS.md) for a new vault.
  • Ingest raw sources into raw/_manifest.yaml, then compile to wiki/drafts/ and promote via review to wiki/live/.
  • Provide governance scaffolding options and profile selection to tailor the vault's governance and lifecycle.

Quick Start

Run kb-init to scaffold a fresh vault, then kb-ingest and kb-compile to build draft content, and finally kb-review to promote to the live wiki.

Frequently Asked Questions about kb-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an Obsidian vault for a review-gated knowledge base?

To set up an Obsidian vault for a review-gated knowledge base, run kb-init to scaffold required directories like raw/, wiki/, and outputs/, along with governance scaffolding such as AGENTS.md.

What is the best way to migrate a legacy Obsidian vault layout to a new structure?

Migrating a legacy Obsidian vault layout requires running kb-init to enforce canonical structure, converting existing files into the raw/, wiki/, and outputs/ directory pattern for ongoing maintenance.

How do I repair and maintain directory structure in an existing Obsidian knowledge base?

Repairing an Obsidian knowledge base involves running kb-init to restore canonical directory structures and governance scaffolding, ensuring raw inputs, drafts, and the live wiki remain aligned.

Does the Karpathy wiki pattern support multiple languages in an Obsidian vault?

Yes, the Karpathy wiki pattern supports multiple languages by maintaining raw inputs, drafts, and the live wiki across structured directories, allowing multilingual content promotion through a review-gated process.

What governance scaffolding do I need to start a new Obsidian vault?

Starting a new Obsidian vault requires governance scaffolding that includes an AGENTS.md file and profile selection options to tailor the vault's governance and lifecycle rules during initialization.