name: ghostty description: Open the current Claude Code session in a new Ghostty window. Use when the user explicitly asks to continue this session in Ghostty. disable-model-invocation: true
Ghostty
Open a new Ghostty window that resumes the current Claude Code session.
Steps
- Extract the session ID from the SessionStart context. Look for
claude --resume <uuid>. - If no session ID is available, stop and say so clearly.
- Run:
ghostty -e claude --resume <session-id>
Notes
- This resumes the same session in a new Ghostty window.
- It does not create a new Claude session.