claude-restart
Restart Claude Code session to reload new skills, manage context, or start fresh. Use this skill when skills have been added/modified, when needing to compact/clear context, or to reload configuration changes.
When & Why to Use This Skill
The Claude Restart skill is a vital utility designed to refresh and optimize the Claude Code environment. It allows developers to instantly reload the session to apply new skill modifications, clear accumulated context for better performance, and ensure that configuration changes are properly initialized without manual intervention.
Use Cases
- Skill Development: Automatically reloading the Claude session after modifying or adding new custom skills to ensure the agent recognizes the latest code changes.
- Context Optimization: Clearing a bloated or cluttered conversation history to reduce token overhead and improve the agent's reasoning accuracy on new tasks.
- Configuration Updates: Applying changes made to the .claude configuration files or environment variables that require a fresh session start to take effect.
- Workflow Reset: Starting a clean slate for a new project phase when the previous session's context is no longer relevant, preventing 'hallucinations' from old data.
| name | claude-restart |
|---|---|
| description | Restart Claude Code session to reload new skills, manage context, or start fresh. Use this skill when skills have been added/modified, when needing to compact/clear context, or to reload configuration changes. |
Restarting Claude Code session...
.claude/skills/claude-restart/scripts/claude-restart.sh resume