agentleFS
jord0-cmdjord0-cmd/jord0.skills/skills/NOTIFY/SKILL.md

NOTIFY

Skill1 starsChanged 9 months agoMITView on GitHub

Cross-platform desktop notifications from Claude Code. Use when: a long task completes, you need to alert the user, asking a choice via toast buttons, showing progress, or any time a desktop notification would be helpful. Works on WSL (Windows BurntToast), native Linux (notify-send), and macOS (osascript).

  • Installs packages

6 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 6

    1. zjunlp/Mechanist★ 78same name
    2. jonhill90/skills★ 9same name
    3. yangwhale/CloseCrab★ 4same name
    4. Odonno/doc2skill★ 1same name
    5. JordanHood/claude-skills★ 0same name
    6. microsoft/IssueLens★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository13 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Add --json flag for machine-readable output:

    line 69
  2. Distinctive:

    When this skill is invoked:

    line 101
  3. Distinctive:

    Run this check the first time NOTIFY is used in a session:

    line 104
  4. Distinctive:

    macOS: No check needed (osascript is built-in)

    line 115
  5. Distinctive:

    Use the appropriate notification method

    line 121
  6. Distinctive:

    Proactive use: When a long-running task completes (build, test suite, deployment), send a notification automatically so the user knows to …

    line 125
  7. Very specific:

    If prompted about untrusted repository, type Y

    line 134
  8. Very specific:

    Verify: Get-Module -ListAvailable BurntToast (should show version)

    line 135
  9. Very specific:

    If powershell.exe is not found, check /mnt/c/Windows/System32/WindowsPowerShell/v1.0/

    line 139
  10. Very specific:

    If you have appendWindowsPath=false in /etc/wsl.conf, add the PowerShell path to your $PATH

    line 140
  11. Very specific:

    No additional setup — uses built-in osascript.

    line 159

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

NOTIFY

Cross-platform desktop notifications from Claude Code.


Usage

/notify "Title" "Message"                          - Simple notification
/notify "Title" "Message" --alarm                  - Notification with sound
/notify "Question?" --choices "Yes" "No" "Maybe"   - Interactive with buttons
/notify "Building..." --progress 0.75              - Progress bar notification

What This Is

NOTIFY sends real desktop notifications from your Claude Code session. When a long build finishes, when a test suite completes, when Claude needs your attention — a toast pops up on your desktop instead of sitting silently in the terminal.


Platform Support

PlatformMethodInteractive ButtonsProgress Bar
WSLBurntToast (PowerShell)Yes (up to 5)Yes
Linuxnotify-sendYes (if supported)Text-based
macOSosascriptNoNo

How It Works

Simple Notification

python3 scripts/toast.py "Build Complete" "All 47 tests passed"

With Sound (Attention-Getter)

python3 scripts/toast.py "ALERT" "Deployment failed" --alarm

Interactive Choices

python3 scripts/toast.py "Deploy?" --choices "Production" "Staging" "Cancel"

Returns the selected option number (1-indexed) or None on timeout.

Progress Bar

python3 scripts/toast.py "Installing" --progress 0.6 --status "60% complete"

JSON Output

Add --json flag for machine-readable output:

python3 scripts/toast.py "Choose" --choices "A" "B" --json
# {"choice": 1, "label": "A"}

Programmatic Use (Python)

from toast import send_toast, ask_choice, send_progress

# Simple notification
send_toast("Title", "Message")

# With icon/image
send_toast("Title", "Message", hero=True)

# Interactive choice (returns 1-indexed int or None)
choice = ask_choice("Deploy where?", ["Production", "Staging", "Cancel"])

# Progress bar (call repeatedly to update)
send_progress("Building", "Compiling...", 0.3)
send_progress("Building", "Linking...", 0.7)
send_progress("Building", "Done!", 1.0)

AUTO-EXECUTE Protocol

When this skill is invoked:

Step 0: Prerequisites Check (First Use Only)

Run this check the first time NOTIFY is used in a session:

# Detect platform
grep -qiE "(microsoft|wsl)" /proc/version 2>/dev/null && echo "PLATFORM=wsl" || \
  ([ "$(uname)" = "Darwin" ] && echo "PLATFORM=macos" || echo "PLATFORM=linux")

Then verify dependencies:

  • WSL: powershell.exe -Command "Get-Module -ListAvailable BurntToast" — if not found, tell user: "NOTIFY requires BurntToast. Install it in PowerShell: Install-Module -Name BurntToast -Force"
  • Linux: which notify-send — if not found, tell user: "NOTIFY requires libnotify. Install it: sudo apt install libnotify-bin"
  • macOS: No check needed (osascript is built-in)

If prerequisites are missing, tell the user exactly what to install and how. Do not silently fail.

Steps 1-4: Normal Operation

  1. Detect the platform (WSL, Linux, macOS)
  2. Use the appropriate notification method
  3. For interactive choices, wait for the user's response (default 60s timeout)
  4. Return the result to the conversation

Proactive use: When a long-running task completes (build, test suite, deployment), send a notification automatically so the user knows to come back.


Prerequisites and Setup

WSL (Windows)

  1. Open PowerShell as Administrator on your Windows host
  2. Install BurntToast: Install-Module -Name BurntToast -Force
  3. If prompted about untrusted repository, type Y
  4. Verify: Get-Module -ListAvailable BurntToast (should show version)
  5. Copy scripts/toast.py and scripts/notify.sh to your skill directory

Troubleshooting WSL:

  • If powershell.exe is not found, check /mnt/c/Windows/System32/WindowsPowerShell/v1.0/
  • If you have appendWindowsPath=false in /etc/wsl.conf, add the PowerShell path to your $PATH
  • BurntToast requires Windows 10 1903+ or Windows 11

Linux (Debian/Ubuntu)

sudo apt install libnotify-bin

Linux (Fedora/RHEL)

sudo dnf install libnotify

Linux (Arch)

sudo pacman -S libnotify

macOS

No additional setup — uses built-in osascript. Interactive buttons are not supported on macOS; notifications are display-only.

Verify Installation

# Quick test — should show a desktop notification
python3 scripts/toast.py "Test" "NOTIFY is working"

Dependencies

  • Python 3.10+ (standard library only — no pip packages needed)
  • WSL: BurntToast PowerShell module (Windows 10 1903+)
  • Linux: libnotify-bin / libnotify package
  • macOS: None (built-in osascript)

Feature Matrix

FeatureWSL + BurntToastLinux + notify-sendmacOS
Basic notificationYesYesYes
Custom soundYes (multiple)NoDefault only
Alarm/urgentYesYes (critical urgency)No
Interactive buttonsYes (up to 5)Yes (if DE supports)No
Progress barYes (native)Yes (text-based)No
App iconYesYesNo
Notification replacementNoYesNo

Don't make them watch the terminal. Tap them on the shoulder.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.