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
swarmvault
615 skills

Claude Code

$ npx -y skills add AnmarHani/SwarmVault --skill swarm-init --agent claude-code

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
@anmarhani
Ships withswarmvault

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.

Stars on GitHub

Momentum

stars in total
6
Star history of AnmarHani/SwarmVault on GitHub, a chart by star-history.com

Other skills on swarmvault.

swarm-debug

swarm-debug

Systematic debugging — evidence before hypotheses, hypotheses before fixes, root cause before patches, and the diagnosis saved to…

swarm-design-deep

swarm-design-deep

The developer-driven design lane — the user commits to each approach before anything is written, then the design goes to…

swarm-design-ui

swarm-design-ui

UI/UX design phase — propose an intentional design system (pattern, brand, color, typography, spacing, atomic components) with…

swarm-design

swarm-design

System design phase — architecture, tech-stack options, module boundaries, data model, and ADRs from a validated SRS. Use after…

swarm-eject

swarm-eject

Disconnect a project from SwarmVault and choose what happens to its knowledge — keep it, export it into the repo, or delete it.…

swarm-flow

swarm-flow

The SDLC router — figures out where a project stands and runs the right phase. Use at the START of any work in a SwarmVault…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about swarm-init.

Which coding agents can use swarm-init?
swarm-init installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.