Slash Command
/rollback
Undo last agent changes — git-based rollback to previous state. Can rollback by commit count, to a specific commit, or to last checkpoint.
From project-orchestratorInstall
1
Run in your terminal$
npx claudepluginhub vivekmano27/agent-orchestrator --plugin project-orchestratorDetails
Argument
<count: number of commits> OR <commit-hash> OR 'last-checkpoint'Command Content
Mission
Safely undo agent changes using git.
Options
/rollback 1 → undo last 1 commit
/rollback 5 → undo last 5 commits
/rollback abc1234 → rollback to specific commit
/rollback last-checkpoint → rollback to last /backup checkpoint
Steps
- Show what will be rolled back:
git log --oneline -N - STOP. Call the AskUserQuestion tool NOW — do NOT proceed without confirmation:
AskUserQuestion( question="This will undo N commits. Proceed?", options=["Yes, rollback", "No, cancel"] ) - Execute only if user selected "Yes, rollback":
git reset --hard HEAD~Norgit reset --hard <hash> - Verify:
git status+ run tests
Safety Rules
- ALWAYS show what will be undone before executing
- ALWAYS call AskUserQuestion tool before executing — never assume consent, never skip
- NEVER rollback past the initial commit
- Suggest
/backupbefore risky rollbacks
Other plugins with /rollback
Stats
Parent Repo Stars0
Parent Repo Forks0
Last CommitMar 15, 2026