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.gitA Claude Code Notification hook for MacOS that displays a toast message when Claude Code is waiting for the user to respond.
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"
)
```Restaurant POS platform
Agents that listen, think and act for you.
Automate invoicing and financial reporting for streamlined business management.
AI assistant built for thoughtful, nuanced conversation
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power