notify

Send push notifications to mobile devices via ntfy.sh using curl.

3|Updated Jul 17, 2024
One-click install
npx skills add https://github.com/Castrozan/.dotfiles --skill notify-castrozan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: notify
Source: https://github.com/Castrozan/.dotfiles/tree/main/agents/skills/notify
Command: npx skills add https://github.com/Castrozan/.dotfiles --skill notify-castrozan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables sending real-time push notifications to mobile devices via ntfy.sh directly from the command line, simplifying incident alerts, status updates, and team communications without relying on complex tooling.

Core Features & Use Cases

  • Basic notifications: Send a simple alert message to a ntfy.sh topic.
  • Priority and Actions: Attach priority headers and clickable actions to direct recipients to dashboards or runbooks.
  • Use Case: When a CI job finishes or a server experiences an outage, push a notification to your mobile device with minimal effort.

Quick Start

Use the ntfy.sh endpoint to send a message. For example: curl -H "Title: Alert" -d "Deployment completed" ntfy.sh/@notifyTopic@ To include priority: curl -H "Title: High Priority" -H "Priority: high" -d "Immediate attention required" ntfy.sh/@notifyTopic@ To add a click action: curl -H "Title: Deployment" -H "Click: https://example.com/status" -d "Deployment finished" ntfy.sh/@notifyTopic@

Frequently Asked Questions about notify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to notify my team when a CI job finishes or a server experiences an outage?▼

The best way to notify your team of a CI job completion or server outage is pushing a real-time ntfy.sh alert via curl, delivering immediate incident updates directly to their mobile devices.

Can I set priority levels for mobile alerts sent via ntfy.sh?▼

Yes, you can set priority levels for ntfy.sh alerts by including the "Priority" header in your curl command to distinguish routine status updates from high-importance incident alerts.

How do I add clickable actions to ntfy push notifications?▼

To add clickable actions to ntfy push notifications, use the "Click" header in your curl command with a destination URL, allowing recipients to navigate directly to dashboards or runbooks.

Do I need to install additional dependencies to send ntfy push notifications?▼

No, you do not need additional dependencies to send ntfy push notifications; the process requires only standard curl commands and an active ntfy.sh endpoint without any extra setup.

What is the best way to notify my team when a CI job finishes or a server experiences an outage?▼

The best way to notify your team of a CI job completion or server outage is pushing a real-time ntfy.sh alert via curl, delivering immediate incident updates directly to their mobile devices.