Desktop Notifications

Send desktop notifications from the terminal. Use this skill when the user wants to display system notifications, pipe command output to notifications, or get alerts after long-running operations complete. Supports cross-platform (Windows Toast, macOS osascript, Linux notify-send).

lirrensi fbb6162 1.2 KB Updated

File contents

Notify Skill

Send desktop notifications from the terminal.

Installation Check

notify --help

If not installed:

uv tool install "git+https://github.com/lirrensi/agent-sommelier"

Usage

Basic Notification

notify "Title" "Body message"

Pipe Input

echo "Status update" | notify "Progress"
cat log.txt | notify "Logs"

In Scripts

# After long operation
long_operation && notify "Done" "Operation completed successfully"

Examples

# Simple alert
notify "Build Complete" "All tests passed!"

# With pipe
curl -s http://api/status | notify "API Status"

# Chain with other commands
find . -name "*.py" | wc -l | notify "File Count"

Platform Support

  • Windows: Uses Windows Toast notifications
  • macOS: Uses osascript for native notifications
  • Linux: Uses notify-send (libnotify)

lirrensi/agent-sommelier/tree/main/skills/desktop-notifications commit fbb6162fa9

Frequently asked questions

npx skillmds@latest add lirrensi/desktop-notifications