А до этого заманался переключаться между табами, когда 2-4 агента параллельно что-то делают. Держать всё перед глазами, не отвлекаться — лишнее напряжение в голове.
Оказалось, есть terminal-notifier (https://github.com/julienXX/terminal-notifier). Ставишь, добавляешь промпт в claude.md — и всё.
Пользуюсь больше недели. Работает как часы.
Вот мой промпт:
### Notifications
**ALWAYS** call terminal-notifier after completing long-running tasks (builds, tests, generation, installations, etc.):
```
terminal-notifier -title "Claude Code" -message "message goes here"
```
Use for:
- Build/compilation completed
- Tests finished (passed or failed)
- Video/image generation done
- npm/pip install completed
- Any task taking more than 10-15 seconds
Examples:
- `terminal-notifier -title "Claude Code" -message "Build completed successfully"`
- `terminal-notifier -title "Claude Code" -message "Tests: 15 passed, 2 failed"`
- `terminal-notifier -title "Claude Code" -message "Video generation finished"`
- `terminal-notifier -title "Claude Code" -message "Dependencies installed"`
