Stop
QuantumAgent — Tear down all cosmos worktrees and branches, optionally purging Quantum Memory (.quantum/). Clean shutdown of the multiverse harness.From its SKILL.md
npx -y skills add hyuniiiv/quantum-agent --skill stopAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 5 commands, including `git rev-parse --show-toplevel` and 4 more.
SKILL.md
1.6 KB, 390 tokens by cl100k_base, as published. Nobody here has run it
cosmos:stop
Remove all cosmos worktrees and branches. Optionally clean quantum memory.
Trigger
/cosmos stop
Execution Steps
Step 1 — Detect repo root
git rev-parse --show-toplevel
Store as <repo_root>.
Step 2 — List active worktrees
git worktree list
From the output, identify worktrees whose branch column starts with cosmos/.
Extract the cosmos name as the part after cosmos/
(e.g., [cosmos/alpha] → name is alpha).
If no cosmos worktrees are found:
(no active cosmos)
Then skip to Step 5.
Step 3 — Remove each worktree
For each cosmos worktree <name>:
git worktree remove <repo_root>/cosmos/<name> --force
If the command fails (worktree already removed), continue.
Step 4 — Delete cosmos branches
For each cosmos that had a worktree:
git branch -D cosmos/<name>
Ignore errors for branches that don't exist.
Step 5 — Offer quantum memory cleanup
Ask the user:
Delete
.quantum/directory (all recorded insights)?
- yes — permanently delete all insights
- no — keep insights for reference
If yes:
rm -rf <repo_root>/.quantum/
If no:
Insights preserved at .quantum/.
Step 6 — Confirm
Output:
🛑 All cosmos stopped.
Worktrees removed: alpha, beta, gamma
Branches deleted: cosmos/alpha, cosmos/beta, cosmos/gamma
Quantum memory: <deleted | preserved at .quantum/>
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.