[Feature Request] Add confirmation prompt or `--confirm` flag for `/clear` command

Resolved 💬 3 comments Opened May 6, 2026 by tcaddy Closed May 10, 2026

Bug Description
before /clear wipes the session, show a y/n confirmation — or add a --confirm flag, or expose a hook point for built-in commands so users can gate them.

I have another skill called /cleanup-branch and muscle memory of running /cle + TAB and now I'm accidentally clearing my session

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.131
  • Feedback ID: 07c88ebd-2d64-4554-915e-678bc667c4ae

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗