[FEATURE] /restart command for in-session environment refresh
Resolved 💬 3 comments Opened Jan 9, 2026 by ilepn Closed Feb 23, 2026
Feature Request: /restart command for in-session environment refresh
Problem
As Claude Code ecosystem grows with plugins, skills, hooks, and marketplaces, updates frequently require restart to apply. The current workflow is cumbersome:
/exitto leave session- Run
claude --resumeorclaude --continueexternally - With multiple concurrent sessions, must identify correct session ID
- Manual juggling of commands and context
Additionally, /clear command is reported as broken and doesn't actually clear context (see #10035, #17054, #17039).
Proposed Solution
Add /restart command with flags:
/restartor/restart --clean(default): Fresh start, clear context/restart --resume: Refresh environment (reload plugins, apply updates) while preserving current session context
Use Case
- Apply plugin updates without losing work context
- Refresh environment after marketplace updates
- Simplify session management without external command juggling
- Particularly valuable with multiple concurrent Claude Code sessions
References
- Related (different scope): #425 (Docker-specific, closed)
- Broken /clear reports: #10035, #17054, #17039
Submitted feedback ID: 61e13ca7-3311-4381-8647-8a4c2e6a3851
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗