notify

Send real-time notifications via ntfy.sh from fish shell scripts.

2|2|Updated Jan 5, 2021
One-click install
npx skills add https://github.com/kentoje/dotfiles --skill notify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: notify
Source: https://github.com/kentoje/dotfiles/tree/main/.config/claude/skills/notify
Command: npx skills add https://github.com/kentoje/dotfiles --skill notify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill simplifies sending real-time notifications via ntfy.sh, ensuring you are promptly alerted to completed tasks, errors, or important events.

Core Features & Use Cases

  • Live alerts: Notify on task completion, failures, or significant events.
  • Simple integration: Works with existing scripts using a minimal fish/curl command.
  • Use Case: Integrate with build pipelines to post a notification when a nightly job finishes.

Quick Start

Use this command with an appropriate message: fish -c 'curl -d "<MESSAGE>" "ntfy.sh/$NTFY_SUB_TOPIC"'

Frequently Asked Questions about notify

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

FAQPage Schema
How do I send real-time notifications when a build pipeline finishes?

You can send real-time notifications for build pipelines by using a fish shell command with curl to publish a concise completion message to an ntfy.sh topic, providing immediate alerts for workflow automation events.

Can I use ntfy.sh to send alerts from monitoring scripts?

Yes, you can use ntfy.sh to send alerts from monitoring scripts by executing a curl command within the fish shell. This posts concise error or event messages directly to a specified ntfy.sh topic for real-time delivery.

Do I need the fish shell to send curl notifications with ntfy.sh?

Yes, this specific skill requires the fish shell to execute the curl command that publishes notifications to ntfy.sh. You also need curl installed on your system to transmit the alert messages to your designated topic.

What's the best way to integrate live alerts into existing automation scripts?

The best way to integrate live alerts into existing automation scripts is using a minimal fish and curl command to push messages to ntfy.sh. This approach requires no complex dependencies and simplifies sending real-time event notifications.

How does ntfy.sh route notifications to my device?

ntfy.sh routes notifications by publishing messages to a specific topic variable defined in your curl command. When you send a POST request with your message data to ntfy.sh/$NTFY_SUB_TOPIC, subscribers of that topic instantly receive the alert.