orra-init
Skill13 starsChanged 5 months agoMITView on GitHub
Initialize orra in the current repo. Runs orra_setup, installs all stock directives, and adds vault-bridge when memento-vault is available. Use when Vic says "init orra", "orra setup", "set up orra here", or invokes /orra-init.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- continue-workSkill
- conciergeSkill
- continue-workSkill
- inceptionSkill
- memento-defragSkill
- mementoSkill
- preserveSkill
- start-freshSkill
- inceptionSkill
- memento-defragSkill
- mementoSkill
- preserveSkill
- start-freshSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 2 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Load deferred tools if needed: If orra_setup, orra_directive, and memento_status are not already loaded, load them in one batch:
- Very specific: line 32
Install all stock directives: Call orra_directive({action: "install-all"}).
- Very specific: line 34
Check memento availability: Call memento_status. A healthy response (returns vault_exists: true or a positive note_count) means memento is …
- Very specific: line 37
If .orra/directives/vault-bridge.md already exists: leave it alone and note that the user has a local copy (possibly customized).
- Distinctive: line 38
If it does not exist: copy the template.
- Very specific: line 53
If the file already contains Memory routing: if \vault-bridge.md\``, skip (idempotent).
- Very specific: line 67
Never overwrite .orra/directives/*.md files that already exist.
- Distinctive: line 68
If memento is unavailable, that is a normal outcome, not an error.
- Very specific: line 69
Do not run orra_setup outside a git repo.
- Very specific: line 74
After this skill runs, start an orchestrator session: claude --agent orchestrator.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
orra-init
Scaffold orra in the current repo: run setup, install the stock directive set, and wire up memento integration via vault-bridge when memento is live.
This skill is shipped by memento-vault as an experimental integration, gated behind ./install.sh --experimental. It brings two systems together without either becoming a hard dependency of the other: orra continues to work without memento, memento continues to work without orra, and the vault-bridge directive is the only coupling surface.
When to use
- User invokes
/orra-init - User says "init orra", "set up orra in this repo", "bootstrap orra", or similar
- User has cloned a new repo and wants orra ready to orchestrate
Preflight
Orra requires a git repo. Run git rev-parse --git-dir from the current working directory. If it fails, tell the user orra needs a git repo (offer git init if they want one) and stop. Do not call orra_setup outside a repo.
Steps
Load deferred tools if needed. If
orra_setup,orra_directive, andmemento_statusare not already loaded, load them in one batch:ToolSearch("select:mcp__orra__orra_setup,mcp__orra__orra_directive,mcp__memento-vault__memento_status")- Run
orra_setup. Creates.orra/config.json, installs the orchestrator persona to.claude/agents/orchestrator.md, adds.orra/to.gitignore, scaffolds.orra/memory/. Idempotent; safe on repos that already have.orra/. - Install all stock directives. Call
orra_directive({action: "install-all"}). Existing customized directives are preserved (the tool skips them explicitly). - Check memento availability. Call
memento_status. A healthy response (returnsvault_exists: trueor a positivenote_count) means memento is live. Error or unhealthy response means memento is not set up; skip vault-bridge silently, that's a supported configuration. - Install vault-bridge (if memento is live).
- If
.orra/directives/vault-bridge.mdalready exists: leave it alone and note that the user has a local copy (possibly customized). - If it does not exist: copy the template.
cp ~/.claude/skills/orra-init/templates/vault-bridge.md .orra/directives/vault-bridge.md
- If
Patch anchor lines into the four memory-using directives (if vault-bridge is installed). This step is what actually lets vault-bridge intercept memory operations; without it, stock directives write to
.orra/memory/and ignore memento. Orra'sinstall-allpulls stock templates from the npm package that have no anchor, so the patch must be re-applied every time fresh directives land.The exact anchor text to insert (copy verbatim):
> **Memory routing:** if `vault-bridge.md` is present in `.orra/directives/`, follow its routing table for memory reads and writes. The `.orra/memory/*` paths described below are the default when vault-bridge is not installed.For each of
morning-briefing.md,shutdown-ritual.md,memory-recall.md,linear-deadline-tracker.mdin.orra/directives/:- If the file already contains
**Memory routing:** if \vault-bridge.md``, skip (idempotent). - Otherwise, find the FIRST
###heading in the file and insert the anchor blockquote plus a blank line immediately BEFORE that heading. This places the anchor after the directive's intro paragraph and before its first section, giving the model the routing hint before it follows any storage instructions.
This step is idempotent and safe to re-run after every
install-allthat might have refreshed stock directives.- If the file already contains
- Report. One-screen summary:
- Orra scaffolded at
.orra/(or "already present, no-op") - N directives installed, M skipped
- Vault-bridge: installed | already present | skipped (memento unavailable)
- Memento status: note count, project count, fleeting count (if healthy)
- Next step:
claude --agent orchestratorto start an orchestrator session in this repo
- Orra scaffolded at
Rules
- Never overwrite
.orra/directives/*.mdfiles that already exist. Bothorra_directive install-alland the vault-bridge copy respect local customizations. - If memento is unavailable, that is a normal outcome, not an error. The user may be in a repo where they intentionally want orra without memento coupling.
- Do not run
orra_setupoutside a git repo. The tool will error withfatal: not a git repository. Preflight catches this. - The only modification to stock directives is the Step 6 anchor-line patch for the four memory-using directives, and only when vault-bridge is installed. Do not make other edits to stock directives. If orra's package ships updated templates via
install-all, re-running/orra-initis the path to re-apply the anchor.
Related skills and next steps
- After this skill runs, start an orchestrator session:
claude --agent orchestrator. Morning-briefing will fire on session start. - To customize which directives get installed in this repo, use
orra_directive({action: "remove", name: "..."})orinstallindividual ones by name. - To refresh vault-bridge from the canonical template,
rm .orra/directives/vault-bridge.mdfirst, then re-run/orra-init.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

