Skip to content
Development
Skill

/swarm-init

Start a new project connected to the SwarmVault — register it, wire platform adapters, offer git init, set vault-as-default. Use when starting a new project, connecting a project to the vault, or when the user asks to set up SwarmVault in a directory.

From plugin
anmarhani-swarmvault
515 skills
Install
$ npx -y skills add AnmarHani/SwarmVault --skill swarm-init --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/swarm-init

Context preview

The summary Claude sees to decide when to auto-load this skill.

Start a new project connected to the SwarmVault — register it, wire platform adapters, offer git init, set vault-as-default. Use when starting a new project, connecting a project to the vault, or when the user asks to set up SwarmVault in a directory.

SKILL.md

swarm-init.SKILL.md
name: swarm-init
description: Start a new project connected to the SwarmVault — register it, wire platform adapters, offer git init, set vault-as-default. Use when starting a new project, connecting a project to the vault, or when the user asks to set up SwarmVault in a directory.

swarm-init — new project onboarding

Idempotent: safe to re-run on an initialized project (repairs missing pieces, changes nothing else).

Steps

1. **Vault exists?** `swarmvault.py doctor`. If no vault: offer `swarmvault.py init` first. Mention once: opening the vault folder in Obsidian gives the graph and backlinks — optional, never required (`docs/obsidian-guide.md`). 2. **Ask** (only what is genuinely the user's):

  • Project name (default: directory name).
  • Isolation: shared (cross-project queries see it) or isolated?
  • Which agentic platforms to wire — the tools they actually have (`claude-code`,

`codex`, `gemini`, `opencode`, `droid`, `cursor`, `copilot`, `amp`, or any other agent CLI by name), and global or per-project.

  • Git init, if no repo (recommended — the flow's traceability uses commits; optional).
  • Optional orchestration for this project? Ask it as a **pace** — off / budget /

balanced / fast — plus whether workers may edit code. Never ask for a worker count or a model name (swarm-orchestrate explains why) — but if they enable it, DO ask their plan and usage limits per platform: you cannot read those, and without them every usage number you print is invented.

  • If not already set: make the vault the default for new projects? → save

`"auto_init_new_projects": true` in `~/.swarmvault.json`; future inits skip the ceremony. 3. **Do it in one command** — it registers, wires every named platform's own instruction file (plus Claude Code skills and hooks), syncs, and verifies:

   swarmvault.py setup --platforms <list> --scope global|project \
     [--name <name>] [--isolated] [--autonomy off|budget|balanced|fast] [--read-only]

Already-registered project, or only need part of it? `register` / `wire --platforms …` / `sync --quiet` / `doctor` are the same steps individually. Never leave the user manual file edits. 4. **Disclaimer** (show once, verbatim): > SwarmVault stores project knowledge as plain files and runs local scripts. Auditing > your environment, installed packages, and the data you place in the vault is your > responsibility. Isolation flags are cooperative filtering between agents, not a > security boundary. 5. Point forward: `/swarm-flow` starts the SDLC (first stop: swarm-spec).

Edge cases

  • Directory inside an already-registered project → warn (nested projects) and require

explicit confirmation.

  • Name collision → `register` refuses; pick another name.
  • Existing marker with a different name → repair with `register --repair` or honor the

marker; never two names for one directory.

--- *Influences: the original Claude Vault setup — see CREDITS.md.*

Read more
Ships withanmarhani-swarmvault

Your AI agents don't synchronise. SwarmVault does. One shared memory for Claude Code, Codex, and any other CLI agent. Real software engineering: requirements → design → tickets → review. 14 skills, the best of everything combined.

Get the whole plugin
Stats
5
Stars
0
Forks
Maintained
Maintenance
Python
Language
MIT
License
1mo ago
Last commit
2mo ago
Created

Repo: AnmarHani/SwarmVault

Other skills on anmarhani-swarmvault.