What is Cosmos?
Cosmos is not a chatbot. It is a persistent, self-aware knowledge system embedded in the Universe/ vault. Every session it reads its own memory, runs your input through a structured recognition engine, files everything with precision, and leaves the vault more useful than it found it. Nothing is dropped. Nothing is lost. Get it [[here!]]
Inspired by Karpathy's LLM Wiki and using it as a foundation Cosmos expands on the idea into the stars.
Installing Cosmos
Confirm these are installed on your machine before running any commands.
Python is required for Black Hole serialization. Git enables full audit history of your vault and enables publishing to a github repo.
Claude Code is the AI engine that powers Cosmos. Install it globally via npm, then authenticate.
Pick a permanent home for the vault. Any path works — Cosmos will ask for the path.
Obsidian renders all [[wiki-links]] as a live graph. Open your vault directory as a new Obsidian vault to visualize the entire atlas as a network of connected nodes — people, projects, research, and tasks all linked.
Place llm-wiki.md and COSMOS.md at the Vault Root. Both files must sit at the vault root. After placing it, startup your terminal at the root vault level and run the commands.
Talk to Cosmos in plain language. No special syntax beyond the skill trigger words. Every session the vault compounds — the more you use it, the richer the atlas grows, the more precisely it files, the better it answers. Teach and correct Cosmos as you work together.
Cosmos Reads Everything
Every message is run through a recognition engine before a single file is touched. Who is mentioned? What project? What is the information of the Project? Is there a date? An action item? A decision? A blocker? What is the most important thing to file first?
- Create meeting note page
- Extract attendees → update Murph's people page
- Extract action items → create task pages
- Link to Wormhole project
- Append log entry
- Record under Key Decisions on project page
- Link to relevant project
- Tag with decision type
- Append log entry
- Create task page with slug
- "Friday" → converted to absolute date
- Link to relevant project
- Index under Tasks
- Create or update issue page
- Link to task and project
- Flag status: BLOCKED
- Note blocking party
- Create people page: cooper.md
- Record role, team (legal)
- Link to DR review project
- Quantum link to related pages
- Read project, task, and issue pages
- Synthesize current state
- Surface collapsed data from Black Holes
- Return structured answer
The Vault Zones
The Universe vault is divided into strict access zones. Cosmos knows exactly where it may read and where it may write. Crossing a boundary requires explicit permission from the User.
| Zone | Path | Access | Purpose |
|---|---|---|---|
| Stream | Cosmos/stream/ | Read Only | Raw input zone — never modified by Cosmos |
| Atlas | Cosmos/atlas/ | Read / Write | People, projects, meetings, tasks, issues, research |
| Output | Cosmos/output/ | Read / Write | Generated reports, digests, exports — like this page |
| Feedback Loop | Cosmos/feedback-loop/ | Read / Write | Log, index, session state — Cosmos's nervous system |
| Memory | Cosmos/feedback-loop/memory/ | Read / Write | Persistent cross-session knowledge files |
| Black Holes | Cosmos/black-holes/ | Read / Write | Compressed .parquet archives — collapsed vault sections |
| Skills | Skills/ | Ask First | Skill definitions — executed, confirm to modify |
| Constants | Constants/ | Ask First | Core config — state exact intent, wait for explicit permission |
Registered Skills
Skills are modular execution flows triggered by exact phrases. When a trigger matches, Cosmos reads the skill file and follows its step-by-step instructions exactly. Skills take precedence over generic intent recognition — and skills can create new skills.
The backbone skill. Classifies every input, routes it to the correct atlas section, extracts all entities, creates pages, updates the index, and appends the log.
Audits the entire vault: orphan nodes, missing frontmatter, stale links, broken quantum links, index inconsistencies. Returns a structured compliance report.
Serializes a vault section into a .parquet archive. Replaces source with a stub page. Updates the index with a [BH] prefix. Information density increases; nothing is erased.
The authoritative skill roster lives at Skills/skills.md. Cosmos reads it before processing any input. Decides if a skill should be used and routes the request properly.
Black Holes
The Cosmos axiom: information cannot be destroyed. A Black Hole does not delete data — it collapses it into a dense, recoverable .parquet archive. Every record remains fully readable and reconstructable.
A vault section has grown too large for efficient traversal — or the user decides to collapse records: "collapse files x y z" · "black hole directory" ·
The source is replaced with a stub page linking to the archive. The index entry is updated with a [BH] prefix. New collapses produce new files — the archive is never overwritten. Stub pages are never deleted. Invariant: density increases, nothing is lost.
The Feedback Loop
The feedback loop is Cosmos' self-awareness system. It reads itself at session start and writes to itself after every action. The log is append-only — entries are never edited. The index is updated on every ingest. Memory is verified before being acted upon.
Persistent Memory
Cosmos maintains four types of memory that persist across sessions — indexed in MEMORY.md. Stale memories are verified and updated before being acted upon. If a memory names a file path, Cosmos checks it exists first. If it names a function, Cosmos greps for it. Trust but verify. Refine the DNA of the vault; let Cosmos self-evolve until chaos becomes structure.
Page Conventions
Every page Cosmos creates follows strict conventions: required frontmatter, lowercase hyphen slugs, Obsidian wiki-links, and the Quantum Entanglement Axiom — no orphan nodes, ever.
Tags define the page type:
people · project · meeting · task · issue · research · planning
Slugs — lowercase, hyphen-separated:
atlas/people/eva-stratt.md
atlas/people/ryland-grace.md
atlas/meetings/2026-04-22-debrief.md
atlas/tasks/hat-provider-quote-review.md
Every file must link to at least one other file. No orphan nodes. Cosmos enforces this on every ingest and flags violations during lint.