A Claude Code Notification hook for MacOS that displays a toast message when Claude Code is waiting for the user to respond.
git clone https://github.com/eyalzh/claude-code-toast.gitClaude Code Toast is a notification hook designed for macOS that integrates with Claude Code to display toast messages whenever Claude Code is waiting for user input. The skill uses AppleScript to create unobtrusive notifications that keep developers aware of pending interactions without requiring constant manual checking. Installation is straightforward through Claude Code's `/hooks` command, and the script runs locally on your machine. This automation eliminates the need to repeatedly check whether Claude Code requires your attention, improving productivity in development workflows that rely on iterative Claude Code interactions.
Use the `/hooks` command in Claude Code to add a new Notification hook. Add the command: `python /path/to/this/repo/claude-code-toast.py`. Review the script before use to ensure it's safe for your environment.
Get notified when Claude Code requires user feedback during long-running tasks
Reduce context-switching by knowing when Claude Code is waiting without manual checks
Improve development workflow efficiency by automating Claude Code status notifications
Stay informed of Claude Code interaction points during multitasking sessions
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/eyalzh/claude-code-toastCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create a Claude Code Notification hook for MacOS that displays a toast message when Claude Code is waiting for the user to respond. The toast should appear in the top-right corner of the screen and include the following details: [MESSAGE], [TIMESTAMP], and a button to [ACTION]. Ensure the toast is non-intrusive but noticeable, with a gentle animation and a subtle sound effect.
```python
import os
import time
from pync import Notifier
def claude_code_notification(message, action):
timestamp = time.strftime("%Y-%m-%d %H:%M:%S")
notification_title = "Claude Code Notification"
notification_message = f"{message}\n\nTimestamp: {timestamp}"
Notifier.notify(
title=notification_title,
message=notification_message,
app_icon="path/to/claude_icon.png",
sound=True,
group="ClaudeCodeNotifications",
execute=f"open 'claude://{action}'"
)
# Example usage
claude_code_notification(
message="Claude Code is waiting for your response.",
action="respond_to_claude"
)
```Accounting software with automated invoicing and reporting
AI assistant built for thoughtful, nuanced conversation
Agents that listen, think and act for you.
Get more done every day with Microsoft Teams – powered by AI
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan