glebis/temple-generator
Generate a 3D interactive knowledge map (Inner Temple) from any Obsidian vault or document set. Supports multi-scale abstraction layers and dual-graph common maps between two vaults.
npx skills add https://github.com/glebis/claude-skills --skill temple-generator
Generate a 3D interactive knowledge visualization from any Obsidian vault. The output is a single HTML file (Three.js) with concentric entity rings, audio, discovery mechanics, and multi-scale semantic zoom.
Two-part system:
Pre-generate meaning. Runtime-render experience.
Run python3 ~/.claude/skills/temple-generator/scripts/extract_entities.py <vault_path>.
This produces vault-scan.json with:
vault-scan.jsonreferences/classification-guide.md for entity type heuristicsUsing references/classification-guide.md, assign each significant node to an entity type. Maintain two vocabularies:
anxiety-management, fermentation-process)The Ferment Gate, The Cortisol Throne)Target counts per type (adjust for vault size):
| Type | Small vault (< 100) | Medium (100-500) | Large (500+) |
|------|---------------------|-------------------|--------------|
| Gods | 2-3 | 3-5 | 5-7 |
| Demigods | 3-7 | 5-12 | 8-15 |
| Tensions | 2-4 | 3-7 | 5-9 |
| Narratives | 2-5 | 5-10 | 8-12 |
| Blind spots | 1-3 | 3-5 | 4-7 |
| Spirits | 1-3 | 3-5 | 3-5 |
| Research | 5-15 | 10-25 | 15-30 |
| Values | 2-5 | 3-8 | 5-10 |
| Trails | 2-5 | 3-8 | 5-10 |
| Questions | 3-6 | 5-10 | 8-12 |
| Depths | 2-5 | 5-10 | 8-15 |
| Crystals | 1-3 | 2-5 | 3-6 |
Levels are confidence-gated — only include a level if the vault supports it.
Level 0 — Entities (always exists): individual nodes with positions, connections, descriptions.
Level 1 — Domains (requires >= 3 meaningful clusters): groups of related entities. Each domain has:
canonical + poetic nameLevel 2 — Axes (requires >= 2 interpretable opposing pairs): fundamental tensions. Each axis has:
Level 3 — Comparison (requires two vaults + sufficient alignment): shared/unique analysis.
Read references/merge-algorithm.md for dual-graph logic.
Follow the schema in references/entity-schema.md to produce temple-data.json.
Include:
entities: all classified nodeslevels: abstraction layers with zoom thresholdsmappings: entity → domain → axis crosswalkscomparison: (if dual-graph) shared/unique/alignment dataaudio: motif hints per type and levelstyle: poetic vocabulary, intro text, color palette, layer definitionsconfidence: per-abstraction and per-alignment scores~/.claude/skills/temple-generator/assets/temple-template.html to the output location--inline flag: embed the JSON data as const TEMPLE_DATA = {...}; inside the HTMLtemple-data.json alongside the HTMLShow the user:
When --compare vault_path_2 is provided:
references/merge-algorithm.mdThe template's audio system should respect hierarchical continuity across zoom levels:
Zoom should feel like changing resolution, not changing universes. Motifs relate across scales.
Take glebis/temple-generator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.