pkm-agent-wiki

An Obsidian vault template for building an LLM-queryable personal knowledge base

pkm-agent-wiki

Template for a personal knowledge base in Markdown that an LLM agent builds and queries, following Andrej Karpathy's approach: atomic, factual notes written for a model to retrieve.

How it works

raw/      ← inbox: drop anything here (notes, articles, transcripts, brain dumps)
outputs/  ← workbench: the agent extracts atomic concepts from each raw file
wiki/     ← one note per concept, grouped by domain
system/   ← index, ingest log, note template, health reports
  1. Drop material into raw/.
  2. Run ingest: the agent extracts concepts into outputs/, writes notes in wiki/, updates the index and log.
  3. Run query: the agent answers only from the wiki and says when something is missing.

Agent rules are in AGENTS.md.

Usage

Skills are in .agents/skills/ (Agent Skills format). .claude/skills is a symlink to it for Claude Code.

SkillClaude CodeCodexWhat it does
ingest/ingest$ingestProcess new or modified files in raw/
query/query <question>$query <question>Answer from the wiki
health/health$healthFind contradictions, orphans, missing and stale notes
snapshot/snapshot [msg]$snapshot [msg]Git commit (manual only)

Related

How to Install

  1. Download the ZIP or clone the repository
  2. Open the folder as a vault in Obsidian (File → Open Vault)
  3. Obsidian will prompt you to install required plugins

Stats

Stars

0

Forks

0

Last updated 11d ago

Categories

Tags

ai-agentsknowledge-basellmmarkdownpkmsecond-brain