---
description: "Remove a saved /multi-agent routine (created by /multi-agent:save): deletes its local-only command and its registry entry. Asks which one and confirms. Use when a saved routine is no longer wanted and should be removed."
description-tr: "Kaydedilmiş bir /multi-agent rutinini (/multi-agent:save ile oluşturulan) siler: local-only komutunu ve registry kaydını kaldırır. Hangisini soracak ve onay alacak."
argument-hint: "[name]  -  routine to remove; asked if omitted"
allowed-tools: Bash, Read, AskUserQuestion
---

# multi-agent forget  -  Remove a Routine

Delete a routine the user saved via `/multi-agent:save`. Backed by `$HOME/.claude/scripts/routine-registry.mjs`.

## Steps

1. **Resolve which routine.** If `$ARGUMENTS` names one, use it. Otherwise run `node "$HOME/.claude/scripts/routine-registry.mjs" list --json`, and `AskUserQuestion` (in `outputLanguage`) with one option per saved routine. No routines -> report there is nothing to forget and stop.

2. **Confirm.** `AskUserQuestion` (in `outputLanguage`): "Remove `/multi-agent:<name>`? This deletes the routine command and its registry entry." Options: `{ label: "Remove", description: "Delete this routine" }`, `{ label: "Cancel", description: "Keep it" }`. Anything but Remove -> stop.

3. **Remove:**
   ```bash
   node "$HOME/.claude/scripts/routine-registry.mjs" remove --name "<name>"
   ```
   The backend guards against removing a shipped command (it only deletes a dir that is BOTH registered AND `local-only: true`).

4. **Report** (in `outputLanguage`): the routine is removed; note that its `/multi-agent:<name>` entry clears from autocomplete on the next session reload.

## Notes

- Only user-saved routines can be forgotten; shipped `/multi-agent:*` commands are refused by the backend.
- To see what you can forget, run `/multi-agent:routines`.
