[Feature Request] Add command to close active fork session

Status Fixed / completed
Reported on v2.1.195
Maintainer reply ✓ Yes — bcherny
Activity 3 comments · opened Jun 29, 2026 · closed Aug 16, 2026
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
Add the ability to close a fork, for example /fork-close or /close

Environment Info

  • Platform: darwin
  • Terminal: pycharm
  • Version: 2.1.195
  • Feedback ID: 8ac7681c-0225-4b45-a18a-f277dfe0b369

Errors

[]

View original on GitHub ↗

3 Comments

github-actions[bot] · 1 month ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

bcherny collaborator · 1 month ago

Since /fork now copies the conversation into its own background session, closing a fork is done from agent view (claude agents, or press ← in a session): select the forked session and press Ctrl+X to stop it, and Ctrl+X again within two seconds to delete it. From the shell, claude stop <id> / claude rm <id> do the same, and /stop ends a session from inside it.

Details: https://code.claude.com/docs/en/agent-view

🤖 Generated with Claude Code

github-actions[bot] · 8 days ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.