When using --enhance-local, Skill Seeker opens a new terminal window to run Claude Code. This guide explains how to control which terminal app is used.
The script automatically detects which terminal to use in this order:
SKILL_SEEKER_TERMINAL environment variable (highest priority)TERM_PROGRAM environment variable (inherit current terminal)Add this to your shell config (~/.zshrc or ~/.bashrc):
# For Ghostty users
export SKILL_SEEKER_TERMINAL="Ghostty"
# For iTerm users
export SKILL_SEEKER_TERMINAL="iTerm"
# For WezTerm users
export SKILL_SEEKER_TERMINAL="WezTerm"
Then reload your shell:
source ~/.zshrc # or source ~/.bashrc
Set the variable before running the command:
SKILL_SEEKER_TERMINAL="Ghostty" python3 cli/doc_scraper.py --config configs/react.json --enhance-local
If you run the script from Ghostty, iTerm2, or WezTerm, it will automatically open the enhancement in the same terminal app.
Note: IDE terminals (VS Code, Zed, JetBrains) use unique TERM_PROGRAM values, so they fall back to Terminal.app unless you set SKILL_SEEKER_TERMINAL.
ghostty)iTerm.app)Apple_Terminal)WezTerm)When terminal detection works:
🚀 Launching Claude Code in new terminal...
Using terminal: Ghostty (from SKILL_SEEKER_TERMINAL)
When running from an IDE terminal:
🚀 Launching Claude Code in new terminal...
⚠️ unknown TERM_PROGRAM (zed)
→ Using Terminal.app as fallback
Tip: Set SKILL_SEEKER_TERMINAL to avoid the fallback behavior.
Q: The wrong terminal opens even though I set SKILL_SEEKER_TERMINAL
A: Make sure you reloaded your shell after editing ~/.zshrc:
source ~/.zshrc
Q: I want to use a different terminal temporarily
A: Set the variable inline:
SKILL_SEEKER_TERMINAL="iTerm" python3 cli/doc_scraper.py --enhance-local ...
Q: Can I use a custom terminal app?
A: Yes! Just use the app name as it appears in /Applications/:
export SKILL_SEEKER_TERMINAL="Alacritty"