An open-source, AI-native framework for Obsidian vaults: opt-in modules, a declarative reconciliation engine, and agent-optional workflows.
Project description
Onyx
Onyx scaffolds and operates a tailored Obsidian vault, composed from opt-in modules. Pick the domains you care about and Onyx wires up the folders, typed frontmatter, Bases views, and templates for each. The same framework serves a researcher, a PhD student, a musician, and a product manager, with different module sets and different folder names.
Three things hold true everywhere:
- It works without any AI. Templates are plain copies, views are plain files. Optional Claude Code skills and agents amplify the vault, but nothing depends on them.
- It never clobbers your files. Every file Onyx writes is tracked. A file you edited is yours: updates that would overwrite it arrive as a
*.newsibling instead, never a silent overwrite. There is no flag that overrides this. - It's tailored to you. Folder names, cadences, and structures are per-vault variables, not baked-in opinions.
Install
In Claude Code (nothing to set up)
/plugin marketplace add odysseia06/onyx
/plugin install onyx@onyx
/vault-bootstrap
The plugin ships the interview wizard. On first run it installs the CLI for you and walks you from an empty folder, or an existing vault, to a working setup.
As a command-line tool
uv tool install onyx-vault # or: pipx install onyx-vault
Then create a vault:
onyx init my-vault # interactive interview
onyx init my-vault --answers researcher-developer # or start from a profile
Open the folder in Obsidian and you're done.
From source
git clone https://github.com/odysseia06/onyx && cd onyx
python -m venv .venv
# Windows: .venv\Scripts\activate macOS/Linux: source .venv/bin/activate
pip install -e ".[dev]"
pytest
Using it
| Command | What it does |
|---|---|
onyx init <folder> |
Create a new vault from the interview or a profile. Refuses a non-empty folder. |
onyx adopt <vault> |
Bring an existing vault under management. Additive only, behind a reviewed plan. |
onyx add <module> |
Enable a module (its dependencies come with it). |
onyx remove <module> |
Disable a module. Deletes only unmodified framework files; your edits stay. |
onyx update |
Pull newer module and skill versions. Files you changed are never overwritten. |
onyx plan / onyx apply |
Preview the diff, then reconcile. Every mutating command takes --dry-run. |
onyx doctor |
Check the vault against its declared intent. Read-only. |
onyx modules |
List available modules with their variables and defaults. |
onyx module new <id> |
Scaffold your own module. |
Adopting an existing vault is the safe path. onyx adopt <vault> --dry-run is read-only: it maps your existing folders onto module variables, proposes a purely additive plan, and parks anything ambiguous on a checklist instead of touching it. Nothing is moved, renamed, deleted, or overwritten. There is no --yes on adopt — you review the plan and confirm it, by passing back the token the review prints. (Commit your vault to git first; Onyx will remind you.)
How it works
The engine is a small CLI built on a declarative reconciliation loop:
.vault/config.yamldeclares intent — which modules, with which variables. Yours to edit..vault/lock.jsonrecords state — every file Onyx has written, with its hash. Machine-maintained.onyx plancomputes the difference;onyx applyreconciles it.
Every file Onyx writes is one of two kinds. Managed files (templates, views, skills) update themselves while you leave them alone, and turn into *.new deliveries the moment you customize them. Seeded files (your home note, a strategy note) are written once and yours from then on. Everything else in the vault is invisible to Onyx, and it will never write there.
Modules
| Module | What it gives you |
|---|---|
core |
The shared conventions, the Templates/ root, and the home note every module builds on. |
daily-notes |
One note per day with task-rollover queries (due, scheduled, overdue, carry-over, captured) and natural-language task capture. |
academic |
Courses from a copy-per-course template; exam prep tracked through a Base. |
fitness |
Training, nutrition, and body tracking, driven by a Strategy note you own. |
research |
A typed paper pipeline: PDF to summary to topic links, over a multi-view Paper Library Base. |
reading |
An Inbox to Articles to Evergreen pipeline, with web clipping. |
projects-software |
Per-project devlogs, decision logs, subsystem notes, and a task Base. |
projects-gamedev |
Game projects as living wikis: design, mechanics, worldbuilding, devlog. |
oss |
Open-source tracking from watchlist to contribution, with staleness-aware Bases. |
music |
Theory, practice, composition, production, listening, and copy-per-piece projects. |
writing |
An editorial blog pipeline: ideas to drafts to published, with series and a calendar. |
ai-workspace |
A prompts library and an agent-skills workbench. |
Enable any combination with onyx add, or start from a profile (a named module set): minimal, fitness-focused, student, phd-student, writer, or researcher-developer.
The agent layer (optional)
When you use Claude Code, each enabled module installs scoped skills and a per-domain agent into .claude/ — daily-planner, research-librarian, study-coach, fitness-coach, and so on, each with explicit read/write boundaries. A generated CLAUDE.md orients Claude the moment you open the vault, pointing at the agents and the operating rules so a plain request reaches the right one; other runtimes get a generated AGENTS.md.
These agents don't only suggest — they operate the live vault through Obsidian's official command-line interface: scaffold and triage the day, capture a task from a sentence ("add a task to fix this by Friday"), log a coding session or record a decision ("we decided X because Y"), file a typed paper summary, and so on — you reach the right agent just by saying what you want. Every write follows one contract (the vault-operations skill): additive by default, inside the agent's scope, escalating rather than guessing — so the never-clobber guarantee holds for agents too. Delete .claude/ entirely and the vault still works as plain files; the agent layer is power, never a dependency.
Documentation
- KICKSTART.md — the full design document: vision, architecture, the module system, and the write/lock/update contract.
- CONTRIBUTING.md — how to work on Onyx and author modules.
- RELEASING.md — how releases are cut and published.
License
MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onyx_vault-1.0.9.tar.gz.
File metadata
- Download URL: onyx_vault-1.0.9.tar.gz
- Upload date:
- Size: 385.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d326985a81a63b1c1325ba755697fb45752fcb07a23a5bf202c36974b6d4e181
|
|
| MD5 |
54e5f1978e6e8e18215245d16b4bfc2a
|
|
| BLAKE2b-256 |
5fe3f1530718d25bdab102abd5cf8f65f115c0b124669ae00c2ccc08264de3b6
|
Provenance
The following attestation bundles were made for onyx_vault-1.0.9.tar.gz:
Publisher:
publish.yml on odysseia06/onyx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
onyx_vault-1.0.9.tar.gz -
Subject digest:
d326985a81a63b1c1325ba755697fb45752fcb07a23a5bf202c36974b6d4e181 - Sigstore transparency entry: 1819291731
- Sigstore integration time:
-
Permalink:
odysseia06/onyx@012a8f8418dfb2be5d9ce7e611d33cda0ded9a7b -
Branch / Tag:
refs/tags/v1.0.9 - Owner: https://github.com/odysseia06
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@012a8f8418dfb2be5d9ce7e611d33cda0ded9a7b -
Trigger Event:
push
-
Statement type:
File details
Details for the file onyx_vault-1.0.9-py3-none-any.whl.
File metadata
- Download URL: onyx_vault-1.0.9-py3-none-any.whl
- Upload date:
- Size: 182.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29eff228b68bb4614abb57adaac4a9d5b947eb913d4ca445e7d2cbdf9fcea21e
|
|
| MD5 |
a2dc0c1ced5d8089bdef371f152c9c77
|
|
| BLAKE2b-256 |
9631ee92462ee3b27c03d4e394b4fa3c79451a13bc67a5274cdcece3ed736fa8
|
Provenance
The following attestation bundles were made for onyx_vault-1.0.9-py3-none-any.whl:
Publisher:
publish.yml on odysseia06/onyx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
onyx_vault-1.0.9-py3-none-any.whl -
Subject digest:
29eff228b68bb4614abb57adaac4a9d5b947eb913d4ca445e7d2cbdf9fcea21e - Sigstore transparency entry: 1819291929
- Sigstore integration time:
-
Permalink:
odysseia06/onyx@012a8f8418dfb2be5d9ce7e611d33cda0ded9a7b -
Branch / Tag:
refs/tags/v1.0.9 - Owner: https://github.com/odysseia06
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@012a8f8418dfb2be5d9ce7e611d33cda0ded9a7b -
Trigger Event:
push
-
Statement type: