Explanation
Multi-repo: hub repositories, consumer repositories and the user tier
Arcane is installed per repository, and each repository keeps its own memory. Across projects, a repository can be a hub that tracks other work, and the spells themselves can be installed once per machine in the user tier. This page explains what each one keeps and why they are separate.
Hub and consumer repositories
A repository can record one role: hub or consumer. A consumer is the place where a product's code and its own records live. A hub is the repository you run your portfolio from: it tracks ventures, collects ideas that do not yet belong to any one codebase, and is where you decide where each idea goes.
The role is recorded in .arcane.json as role, and the hub spells run only when it says hub:
spell-summon-venturecreates a venture in the hub: a folder underventures/with starter documents, anIDEAS.mdand aTODO.mdof its own, and an entry inventures/registry.jsonthat records the venture's status, ownership, visibility, tracking and repositories.spell-manifestis the promotion step. It reads the new entries in the hub's idea and todo books and lands each one where it will be built: a consumer repository, a tracker item, a PRD, another venture's book, or, only when you say so explicitly, a public disclosure.
In a consumer repository both spells stop and point you at the consumer's own tools instead: spell-todo, spell-suggest-feature or spell-plan.
What each side keeps
The split is about what can leak. A hub knows about every venture; a consumer should know only about itself. So the hub keeps the portfolio: the venture registry, each venture's books, and the ideas that have not landed anywhere yet. A consumer keeps its own journal, decisions and TODOs, exactly as a single repository would.
Promotion is one-way and scanned. Before spell-manifest writes anything into a consumer, it checks the text for sibling venture names, hub paths and machine names, so none of those land in a consumer's artifact. It marks each promoted entry in place, so running it again never lands the same idea twice.
The user tier
The user tier is about spells, not memory. spell init --user installs the spells once per machine, at ~/.arcane/spells/, with one skill per spell in ~/.agents/skills/ for Codex and GitHub Copilot and one command per spell in ~/.claude/commands/ for Claude Code. Every repository on the machine can then use them without carrying its own copies. The agent roster can live there too: spell agents init --user and spell agents sync --user keep one roster in ~/.arcane and render it for the clients.
Governance never moves up a tier. Standards stay in each repository, because they are part of that repository's history and review. A repository can also stop carrying its own copies of the spells and rely on the user tier alone; spell doctor then fails if the user tier is missing.
When both tiers have the same spell, the clients decide which copy runs. Claude Code runs a personal command over a project command of the same name, so in a repository that still has its own copies, /spell-* runs the user tier's.
Related
- Set this up step by step in Run Arcane across repositories.
- See the hub spells in
spell-summon-ventureandspell-manifest, and the--roleand--useroptions in thespell initreference.