Toggle Runbook
You are enabling or disabling a registered runbook.
Instructions
-
Parse arguments:
/runbook-toggle <runbook-name> [enable|disable]/runbook-toggle auto-commit— toggle current state/runbook-toggle auto-commit enable— explicitly enable/runbook-toggle auto-commit disable— explicitly disable
-
Read
.claude/runbooks.jsonand find the named runbook- If not found, list available runbooks
-
Toggle the
enabledfield:- If no explicit enable/disable given, flip the current value
- If explicit, set to that value
-
Write the updated file back to
.claude/runbooks.json -
Confirm:
Runbook "auto-commit" is now disabled. It will no longer auto-execute on task completion.
Notes
- Disabled runbooks can still be run manually with
/runbook-run - Only the
enabledfield changes — trigger and actions are preserved
