kb-compile

Compile markdown captures into draft knowledge with summaries and indices.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill converts raw, unreviewed captures into structured draft knowledge that can be reviewed and elevated into the live wiki, reducing manual rewriting and ensuring traceability.

Core Features & Use Cases

  • Detect new or changed captures and compile them into summaries, topics, concepts, entities, relationships, and indices.
  • Surface conflicts, alias overlap, duplicate risk, and hub candidates for governance before review.
  • Hand the assembled package to kb-review for validation and publication planning.

Quick Start

Run the compile workflow to transform new raw captures into draft packages for review.

Frequently Asked Questions about kb-compile

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

FAQPage Schema
How do I compile raw markdown captures into structured draft knowledge?

Compiling raw markdown captures involves detecting new or changed files in raw/** and generating summaries, topics, concepts, entities, relationships, and draft indices, with outputs routed to wiki/drafts for review.

What is the best way to prepare unreviewed markdown captures for a knowledge base?

The best way to prepare unreviewed markdown captures is to normalize source metadata and surface alias or duplicate candidates, producing a structured draft package ready for governance and validation.

Does this knowledge base workflow directly promote raw markdown drafts into live pages?

This workflow does not directly promote raw markdown drafts into live pages; it routes compiled outputs to wiki/drafts to ensure all material passes through a separate review and validation stage first.

Can I detect alias overlap and duplicate risk when compiling markdown knowledge bases?

You can detect alias overlap and duplicate risk during compilation, as the workflow surfaces conflicts, alias overlap, duplicate risk, and hub candidates for governance before the review stage.

How do summaries and draft indices get generated from raw markdown captures?

Summaries and draft indices are generated by running the compile workflow, which extracts topics, concepts, entities, and relationships from raw markdown captures to assemble a structured package for review.