Skip to content
Back to skills

Alerts

ASecurity

Send alerts and notifications using AppleScript - banners, modals, and text-to-speech

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
code-qualitygobash

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill alerts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Alerts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Alerts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-alerts/badge)](https://www.skillsdirectory.com/skills/david-li0406-alerts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: alerts
description: Send alerts and notifications using AppleScript - banners, modals, and text-to-speech
---

# Alerts Skill

Send alerts and notifications to Matt using AppleScript.

## When to Use

- Reminders that need immediate attention
- Completion notifications for long-running tasks
- Important alerts that shouldn't be missed

## Alert Types

### Non-Modal (Banner/Notification Center)

Use for informational alerts that don't require immediate action:

```bash
osascript /path/to/skill/alerts/notify.scpt "Title" "Message body here"
```

The notification appears briefly and goes to Notification Center.

### Modal (Dialog Box)

Use for alerts that require acknowledgement:

```bash
osascript /path/to/skill/alerts/dialog.scpt "Title" "Message body here"
```

This blocks until the user clicks OK. Use sparingly.

### Modal with Sound

For urgent alerts:

```bash
osascript /path/to/skill/alerts/dialog.scpt "Title" "Message body here" "Ping"
```

Available sounds: Basso, Blow, Bottle, Frog, Funk, Glass, Hero, Morse, Ping, Pop, Purr, Sosumi, Submarine, Tink

### Say (Text-to-Speech)

For hands-free alerts:

```bash
osascript /path/to/skill/alerts/say.scpt "Your meeting starts in 5 minutes"
```

## Script Locations

All scripts are in the same directory as this SKILL.md:

- `notify.scpt` - Non-modal banner notification
- `dialog.scpt` - Modal dialog (blocks until dismissed)
- `say.scpt` - Text-to-speech

## Guidelines

1. **Prefer non-modal** for most alerts - they're less disruptive
2. **Use modal** only when acknowledgement is required
3. **Use say** when Matt might not be looking at the screen
4. **Combine methods** for critical alerts (e.g., say + modal)

## Examples

```bash
# Reminder about a meeting
osascript ~/.opencode/skill/alerts/notify.scpt "Calendar" "Team sync in 15 minutes"

# Task completed
osascript ~/.opencode/skill/alerts/notify.scpt "Build Complete" "All tests passed"

# Urgent - needs action
osascript ~/.opencode/skill/alerts/dialog.scpt "Action Required" "PR review requested by Sarah" "Ping"

# Hands-free reminder
osascript ~/.opencode/skill/alerts/say.scpt "Don't forget to submit the form before noon"
```

Files in this skill

  • SKILL.md2.1 KB
  • dialog.scpt616 B
  • notify.scpt235 B
  • say.scpt149 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…