Xpersona
O

Obsidian Wiki

CLAWHUB · Unverified

Build and maintain a compiled LLM Wiki inside an Obsidian vault following Karpathy's pattern. Use when working with an Obsidian vault as a persistent knowled... Skill: Obsidian Wiki Owner: jerome-benoit Summary: Build and maintain a compiled LLM Wiki inside an Obsidian vault following Karpathy's pattern. Use when working with an Obsidian vault as a persistent knowled... Tags: latest:1.2.2 Version history: v1.2.2 | 2026-04-18T17:11:19.035Z | user v1.2.2: Fix type double-count in lint, reject symlinks in manifest mark, bridge→articulation point terminology, multi-line %% comme

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17f69e1qz41njbhrbnzhaddps8463ky:obsidian-wiki
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jerome-benoit-obsidian-wiki/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

151,082 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: obsidian-wiki
description: >
  Build and maintain a compiled LLM Wiki inside an Obsidian vault following
  Karpathy's pattern. Use when working with an Obsidian vault as a persistent
  knowledge base: ingesting raw sources into `raw/`, compiling or updating
  interlinked wiki pages under `wiki/`, generating an index, linting for
  broken links/orphans/staleness, maintaining taxonomy/schema files, or
  answering questions from pages already compiled into the wiki.
  NOT for: general Obsidian note-taking or plugin management (use `obsidian`
  skill), simple note creation, vault syncing, or generic Q&A that doesn't
  involve a compiled wiki vault.
---

# Obsidian Wiki

Implements Karpathy's LLM Wiki pattern inside an Obsidian vault.
The agent is the compiler; Obsidian is the IDE; the wiki is the codebase.

## Prerequisites

- `bash` — required by all scripts; `python3` — required by `wiki-lint.sh`, `wiki-manifest.sh`, and all Python scripts
- `pdftotext` — optional, for `extract-book-digests.sh` (install via `poppler`)
- `markdownlint-cli2` — optional, for markdown structure checks (auto-installed via `npx`)

## Vault Resolution

Resolve the vault path at runtime. Store it in `$VAULT` for all operations.

Preferred methods (in order):
1. If the user specifies a vault path, use it directly
2. Read the Obsidian config file to find the open vault:

```bash
python3 -c "
import json, pathlib, os
# Obsidian stores vault config in a platform-dependent location
for p in [
    'Library/Application Support/obsidian/obsidian.json',
    '.config/obsidian/obsidian.json',
    '.var/app/md.obsidian.Obsidian/config/obsidian/obsidian.json',
]:
    f = pathlib.Path.home() / p
    if f.exists():
        for v in json.loads(f.read_text()).get('vaults',{}).values():
            if v.get('open'): print(v['path']); break
        break
"
```

3. Use `obsidian-cli print-default --path-only` if available
4. Before any write, print the resolved `$VAULT` path. If it was inferred via Obsidian config or `obsidian-cli`, get user confirmation before continuing.

The skill and scripts make no assumptions about the vault location. All paths
are relative to `$VAULT`. Scripts require Bash and python3; they use BSD-compatible
grep/sed/awk and are tested on macOS and Linux.

## Vault Layout

```
<vault>/
├── raw/                    # Immutable source documents
│   ├── articles/           # Web clips, blog posts
│   ├── papers/             # arXiv, IEEE, ACM papers
│   ├── specifications/     # Standards, RFCs, W3C/ECMA/ISO specs, protocol docs
│   ├── projects/           # Project notes, meeting transcripts
│   ├── books/              # Book chapters, excerpts
│   └── assets/             # Images, diagrams (downloaded locally)
├── wiki/                   # LLM-compiled pages (agent-owned)
│   ├── entities/           # People, systems, projects, orgs
│   ├── concepts/           # Ideas, patterns, technologies, methods
│   ├── syntheses/          # Cross-cutting summaries, compa

_meta.json

{
  "ownerId": "kn798w9jnash2j4nhhxjsmb999808y51",
  "slug": "obsidian-wiki",
  "version": "1.2.2",
  "publishedAt": 1776532279035
}

references/agents-template.md

# <Vault Name> — LLM Wiki

Compiled knowledge base maintained by an AI agent, following
[Karpathy's LLM Wiki pattern](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f).

## Rules

- `raw/` is immutable — drop sources here, never modify existing ones
- `wiki/` is agent-owned — do not edit manually
- `_meta/` is co-owned — propose changes first; edit only after user approval
- `.wiki-meta/` is machine state — do not touch

## Quick Start

1. Drop a file into `raw/`
2. Ask the agent to ingest it
3. Browse `wiki/` in Obsidian (graph view recommended)

## Conventions

- `_meta/schema.md` — page format, naming, wikilink rules
- `_meta/taxonomy.md` — canonical tags

## Agent Workflows

The agent uses scripts from the **obsidian-wiki skill directory** (not the vault).
Refer to the skill's SKILL.md for exact commands and `$VAULT` argument usage.

- **Ingest:** check pending sources → read source → create/update pages → mark ingested → regenerate index
- **Lint:** `wiki-lint.sh "$VAULT"` — run all structural health checks (frontmatter, wikilinks, orphans, stale, tags, wikilink format, markdown structure, unlinked mentions)
- **Fix:** `wiki-lint.sh "$VAULT" --fix` — auto-correct fixable issues (wikilink format, markdown structure, unlinked mentions)
- **Cross-link:** `wiki-crosslink.py "$VAULT"` — find unlinked mentions; `--fix` to auto-add wikilinks
- **Graph:** `wiki-graph.py "$VAULT" --stats` — hub/orphan/articulation point analysis; default exports `.wiki-meta/graph.json`
- **Search:** `wiki-search.sh "$VAULT" "query"` — semantic search via qmd if available, grep fallback
- **Log:** append to `wiki/log.md` after each ingest session
- **Reports:** populate `wiki/reports/` with dashboards during maintenance

references/schema-template.md

# Wiki Schema

This document defines the conventions for the compiled wiki.
It co-evolves: the agent proposes changes, the user approves.

## Page Categories

| Category | Directory | What goes here |
|---|---|---|
| **Entities** | `wiki/entities/` | People, systems, projects, organizations, tools |
| **Concepts** | `wiki/concepts/` | Ideas, patterns, technologies, methods, algorithms |
| **Syntheses** | `wiki/syntheses/` | Cross-cutting summaries, comparisons, trend analyses |
| **Sources** | `wiki/sources/` | One page per ingested source: summary + metadata |
| **Reports** | `wiki/reports/` | Agent-generated dashboards (don't edit manually) |

## Naming Conventions

- Filenames: `kebab-case.md` using ASCII characters only (e.g., `reinforcement-learning.md`)
- Titles: Title Case in frontmatter `title:` field

## Wikilink Conventions

- **Obsidian resolves wikilinks by FILENAME only** — not by frontmatter title or aliases
- Always use `[[filename|Display Title]]` format
- Example: `[[convolutional-neural-network|Convolutional Neural Network]]`
- For sections: `[[filename#Section|Display Text]]`
- Every entity/concept mentioned should have a corresponding page (or be on the "missing pages" list)
- Run the skill's lint/fix flow after bulk page creation to auto-fix wikilink format and markdown structure issues

## Frontmatter Required Fields

Use simple unquoted `key: value` format — no quoted keys, no block scalars,
no multiline values. Tags and aliases use inline `[a, b]` arrays.

```yaml
title: <string>
type: entity | concept | synthesis | source | report
tags: [<from taxonomy.md>]
sources: [<raw file paths>]
created: YYYY-MM-DD
updated: YYYY-MM-DD
```

Special pages `index.md` and `log.md` use `type: index` and `type: log` respectively.
Special pages (`index.md`, `log.md`) use reduced frontmatter: only `title`, `type`, and `updated` are required. They are excluded from orphan detection and content-page lint checks.

## Optional Frontmatter

```yaml
confidence: high | medium | low
status: active | review | stale | archived
aliases: [<alternative names>]
```

## Source Attribution

- Frontmatter `sources:` lists which raw files contributed
- Inline `%%from: raw/path/to/source.md%%` for paragraph-level attribution
- Inline `%%inferred%%` for LLM synthesis across multiple sources
- Inline `%%ambiguous: explanation%%` when sources disagree
- **Do NOT use `^[...]`** — that is Obsidian's inline footnote syntax

## Content Guidelines

- **Be concise.** Wiki pages are reference material, not essays.
- **Lead with the definition.** First sentence should define the entity/concept.
- **Use bullet lists** for structured information.
- **Cross-reference aggressively.** If a concept is mentioned, link it.
- **Track open questions.** Every page can have a `## Open Questions` section.
- **Note contradictions explicitly.** Don't silently pick a side.

## Evolution

When you (the agent) identify a convention that should change:
1. Propose the change in conversatio

references/taxonomy-template.md

# Tag Taxonomy

Canonical tags for the wiki. Use only these tags in frontmatter.
New tags require discussion and addition to this file.

## Core

- `ai` — Artificial Intelligence (general)
- `ml` — Machine Learning
- `dl` — Deep Learning
- `nlp` — Natural Language Processing
- `cv` — Computer Vision
- `rl` — Reinforcement Learning
- `llm` — Large Language Models
- `agents` — AI Agents & Agentic Systems
- `diffusion` — Diffusion Models & Generative AI
- `safety` — AI Safety & Alignment
- `software-engineering` — Software development practices
- `performance` — Benchmarking & optimization
- `dev-tooling` — Developer tools & workflows

## Source Types

- `paper` — Academic paper
- `survey` — Survey or review paper
- `benchmark` — Benchmark or evaluation
- `method` — New method or algorithm
- `dataset` — Dataset description
- `specification` — Standard, RFC, or technical specification

## Entity Types

- `person` — Individual (researcher, engineer, etc.)
- `organization` — Company, lab, university
- `project` — Named project or initiative
- `tool` — Software tool or library

---

*Add domain-specific tags below this line after vault setup.*

Sponsored

Ads related to Obsidian Wiki and adjacent AI workflows.