Skip to content
Development
Skill

/swarm-eject

Disconnect a project from SwarmVault and choose what happens to its knowledge — keep it, export it into the repo, or delete it. Use when the user wants to stop using SwarmVault here, remove the vault wiring, uninstall the framework from a project, offboard or archive a project,

From plugin
swarmvault
615 skills

Claude Code

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

SKILL.md

swarm-eject.SKILL.md
name: swarm-eject
description: Disconnect a project from SwarmVault and choose what happens to its knowledge — keep it, export it into the repo, or delete it. Use when the user wants to stop using SwarmVault here, remove the vault wiring, uninstall the framework from a project, offboard or archive a project, or delete a project's vault data.

swarm-eject — leaving cleanly

Ejecting is not `rm -rf`. A project is wired in six places, and a partial removal leaves the user worse off than never installing: a marker with no registry entry, instruction files still pointing agents at a vault that no longer has the project, hooks firing into nothing.

The `eject` command does the work; this skill runs the conversation.

1. Ask which exit they want

Lead with the recommendation. Most people asking this want **unwire**, not deletion.

| mode | what happens to the knowledge | reversible | |---|---|---| | **unwire** *(default, recommend first)* | stays in the vault; the project just stops being wired | yes — `register` brings it back | | **export** | copied into the repo at `docs/swarmvault-archive/`, then removed from the vault | via those files | | **purge** | deleted | only from the backup |

If they say something like "remove SwarmVault from this project," that is **unwire** unless they explicitly say delete. Ask before assuming otherwise.

2. Show the inventory before doing anything

The command's default is a dry run, so run it plainly and read the output back:

swarmvault.py eject --project <P> --mode unwire|export|purge

It prints what leaves and what stays: note counts per vault folder, total size, the exact instruction files and hooks to be unwired, and — for export and purge — every inbound `[[wikilink]]` from other projects that would go dead. Surface the orphan warning to the user; it is the one consequence they cannot see coming.

3. Apply

swarmvault.py eject --project <P> --mode <mode> --apply [--backup PATH]
  • **purge** asks for the project name typed back. Don't work around that prompt; if the

session is non-interactive, tell the user and let *them* pass `--confirm-name <P>`.

  • A backup tarball is written outside the vault before any deletion. `--no-backup` exists;

don't reach for it, and never pass it on the user's behalf.

  • Report the printed log back rather than summarising it as "done."

Rules

  • **Live work blocks the eject.** Open ticket claims or a running supervisor cause a refusal

listing what's holding it. Release the claims or `supervisor stop` first, and say why — never present the refusal as a bug.

  • **The repo is not vault property.** `docs/SRS.md`, `docs/specs/`, source, and git history

are never touched at any level. If the user actually wants their SRS deleted, that's a normal file operation they ask for separately.

  • **Global instruction files stay.** They are shared with every other project; only this

project's own files get unwired.

  • Idempotent — a half-finished eject completes on a re-run, and `doctor` names the state.
  • After unwire, `swarm-flow` and the phase skills no longer apply here. Say so, in one line.

Undo

Unwire is reversible while the vault content is intact:

swarmvault.py register --name <P> --path <path>   # then: wire --platforms <list>

Export and purge are only reversible from the backup tarball. Say that out loud before applying either.

--- *The reverse of swarm-init and FR-06's `wire`; the safety protocol follows the vault's own destructive-action stance (FR-25).*

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-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…

swarm-implement

swarm-implement

Implementation phase — turn a validated design into dependency-ordered tickets, then work them as one of N parallel agents with…

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.

skills11d309k
@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-eject.

Which coding agents can use swarm-eject?
swarm-eject 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.