Skip to content
Back to skills

Swarm Init

ASecurity

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.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
ai-agentsbashgitsecurity

Works with

  • claude code
  • cursor
  • cli

Security analysis

A100/100

Scanned September 6, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Swarm Init?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Swarm Init
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anmarhani-swarm-init/badge)](https://www.skillsdirectory.com/skills/anmarhani-swarm-init)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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:

   ```bash
   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.*

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.