/wiki-gen:wiki-genfrom wiki-gen
Compiles personal data (journals, notes, messages) into a Wikipedia-style personal knowledge wiki. Ingests formats like Day One, Apple Notes, Obsidian, Notion, iMessage, CSV, email, Twitter, then absorbs entries into articles, queries the wiki, and cleans up articles.
Claude never picks this skill on its own
Claude Code cannot parse its frontmatter, so it ignores every field there: the description on this page is for you to read, but Claude never sees it. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /wiki-gen:wiki-gen still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
your-project/
data/ # Your source files (DO NOT MODIFY after ingest)
raw/entries/ # One .md per entry (generated by ingest)
raw/batches/ # Optional batch manifests for large vaults
wiki/ # The compiled knowledge base
_index.md # Master index with aliases
_backlinks.json # Reverse link index
_absorb_log.json # Tracks which entries have been absorbed
_uncovered.md # Coverage gaps after absorb/remediate
{directories}/ # Emerge from the data. Don't pre-create.
You can override the wiki directory with --dir <name> on any command. Each version is its own universe. Never read from or reference another version.
wiki ingestConvert source data into individual .md files in raw/entries/. This step is mechanical. Prefer the bundled scripts/ingest_obsidian.py helper over writing custom parsers. For other formats, copy the closest helper and keep ingest behavior consistent across formats.
Key rules:
.git, .obsidian, .claude, node_modules, caches, submodules, and empty files.{date}_{id}.md files with YAML frontmatter and track extra.date_source.See references/ingest-spec.md for script execution and path resolution, supported data formats, standard exclusions, output format, date extraction, warning thresholds, and unknown-format handling.
Before running wiki absorb, choose the mode based on raw entry count. Small vaults can run single-pass or sectioned. Large vaults should use partitioned parallel processing with batch manifests and targeted remediation before cleanup.
Key rules:
<= 100 entries: single-pass, chronological, checkpoint every 15 entries100-500 entries: sectioned, one agent, checkpoint every 30-50 entries or every source section500+ entries: partitioned parallel, unique directory ownership, batch manifests, coverage check, remediation, then cleanup and breakdown_index.md, but cross-directory writes are forbiddenSee references/scale-mode.md for the full mode table, partitioned parallel workflow, partition safety rules, and batch manifest format.
wiki absorb [date-range]The core compilation step. Date ranges: last 30 days, 2026-03, 2026-03-22, 2024, all. Default, with no argument, is last 30 days. If raw/entries/ doesn't exist, run ingest first.
Process entries one at a time. Read _index.md before each entry, match against existing articles, re-read every article before updating it, and identify what the new entry changes in your understanding. Write integrated sections or rich paragraphs, not bottom-appended scraps.
Key rules:
See references/command-details.md for the agent prompt template, full absorption loop, Anti-Dump examples and hard limits, article-creation rules, checkpoint cadence, and audit checklist.
wiki query <question>Answer questions about the subject's life by navigating the wiki. Read _index.md, use _backlinks.json to identify central topics, read only the relevant articles, and synthesize an answer from the compiled wiki. Query is read-only.
Key rules:
raw/entries/related: entries surgically, not exhaustivelySee references/command-details.md for the full answer procedure, query patterns by article type, and query rules.
wiki remediateScan for raw entries that are not yet cited in any wiki article, and launch targeted remediation agents to close the coverage gap. Run this after wiki absorb and before wiki cleanup.
Key rules:
See references/command-details.md for citation-versus-content coverage, process phases, when to run, and why remediation is separate from cleanup.
wiki cleanupAudit and enrich every article in the wiki using parallel subagents. Cleanup is broad restructuring work after coverage is stabilized.
Key rules:
_index.md and every articleSee references/command-details.md for the cleanup agent prompt template, the three cleanup phases, orphan policy, and the Steve Jobs restructuring test.
wiki breakdownFind and create missing articles. Expands the wiki by identifying concrete entities and themes that deserve their own pages.
Key rules:
--reorganize, move misclassified articles to more appropriate directoriesSee references/command-details.md for the breakdown agent prompt template, all four phases, and reclassification rules.
Directories emerge from the data. Don't pre-create them. The reference taxonomy covers 39 common directories across 7 groups: core, media and culture, inner life and patterns, narrative structure, relationships and people, work and strategy, and other.
See references/taxonomy.md for the full directory list, types, and placement guidance.
Key rules:
[[filename_stem|Human Readable Title]]. Obsidian resolves by filename, not by title:.title: and aliases:.sources: is canonical and machine-readable. ## References is the human-readable restatement.title, type, created, last_updated, aliases, and sources.See references/writing-standards.md for the full tone rules, frontmatter schema, article format, linking resolution test, filename convention, citation discipline, aliases discipline, narrative coherence, structure-by-type table, quote discipline, and length targets.
wiki syncPull documentation from multiple source projects and update raw/entries/.
This is the collection layer — it gathers source documents but does NOT
run LLM absorption. Think of it as "wiki ingest, but for many sources at once."
sources.yaml in the project root (see references/sources-schema.md).python scripts/sync_sources.py --config sources.yaml --wiki-root wiki/
raw/entries/{source_name}/.wiki absorb (manually) to integrate new entries into wiki articles.sources.yaml for the list of source projects.type: git → sparse-clone to .sync_cache/, checkout only doc_pathtype: local → read from local path directlytype: obsidian → delegate to ingest_obsidian.py (existing behavior)ingest_obsidian.py for Obsidian vaultsingest_projects.py for project doc/ foldersraw/entries/{source_name}/.raw/ingest_log.json.rebuild_index.py and check_coverage.py automatically.After the first run, sync_log.json tracks each file's content hash.
Subsequent runs only process changed files, skipping unchanged ones.
--force to ignore the cache and re-process everything.--dry-run to preview changes without writing files.--source <name> to sync only one specific source.This command handles Level 1 (Source → Entries) automation:
| Level | What | Cost | Trigger |
|---|---|---|---|
| Level 1 | Source docs → raw/entries/ + index + backlinks | Seconds to minutes, no LLM | wiki sync (cron/timer/manual) |
| Level 2 | New entries → wiki article text | LLM cost per entry | wiki absorb (manual) |
Level 2 requires manual wiki absorb — see Phase 3 in the implementation plan.
Project sources use source-prefixed IDs to prevent collisions:
sha1(f"{source_name}:{relative_path}")[:12]
Obsidian sources keep the original ID strategy (sha1(rel_path)[:12])
to preserve backward compatibility with existing article citations.
When a source file is deleted:
raw/entries/{source}/ is removed.sync_log.json and ingest_log.json.check_coverage.py to identify orphaned citations.doc/ folderwiki absorb to ensure entries are up to datesources.yaml (adding/removing sources)references/sources-schema.md — Full sources.yaml schema documentationreferences/automation-guide.md — GitHub Actions and systemd timer setupwiki rebuild-indexRebuild _index.md and _backlinks.json from current wiki state. Exclude meta files, README.md, and optional .wikiignore entries. Generate index entries with [[filename_stem|Display Title]], preserve aliases in the index line, and verify that every wikilink resolves through a filename or alias.
See references/command-details.md for exclusions, required format, reference implementation, and verification steps.
wiki reorganizeStep back and rethink wiki structure. Read the index, sample articles, and ask: merge, split, new categories, orphan articles, missing patterns. Execute changes, then rebuild index.
See references/command-details.md for the full reorganize command note.
wiki statusReport current wiki state using the standard structure: Ingestion, Articles, Coverage, Quality, and See also.
See references/command-details.md for the exact output template.
_absorb_log.json directly._index.md and _backlinks.json only at the very end of a command.See references/migration.md for backward-compatibility policy, recommended migration steps, when full migration is required, and lint warning versus error behavior.
assets/README.md (opens in a new tab)assets/absorb_agent.md (opens in a new tab)assets/absorb_delta_agent.md (opens in a new tab)assets/breakdown_agent.md (opens in a new tab)assets/cleanup_agent.md (opens in a new tab)assets/remediation_agent.md (opens in a new tab)references/automation-guide.md (opens in a new tab)references/command-details.md (opens in a new tab)references/ingest-spec.md (opens in a new tab)references/migration.md (opens in a new tab)references/scale-mode.md (opens in a new tab)references/sources-schema.md (opens in a new tab)references/taxonomy.md (opens in a new tab)references/writing-standards.md (opens in a new tab)scripts/README.md (opens in a new tab)scripts/__init__.py (opens in a new tab)scripts/check_coverage.py (opens in a new tab)scripts/consolidate_analyze.py (opens in a new tab)scripts/diag_uncovered.py (opens in a new tab)scripts/diag_wikilink_resolution.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Read when SKILL.md points to them; scripts run unread.
npx claudepluginhub orientpine/honeypot --plugin wiki-genOther plugins' skills for the same job