Aller au contenu
Skillpedia
Automatisations48k · #6295

sendblue-notify

Ce qu’il fait

Cette fonctionnalité envoie un SMS sur votre téléphone lorsqu'une tâche longue sur votre ordinateur se termine. C'est comme demander à être prévenu quand quelque chose d'important est fini.

Quand l’utiliser

  • ✓Quand vous lancez une tâche qui va prendre beaucoup de temps et que vous voulez vaquer à d'autres occupations.
  • ✓Quand vous voulez être averti dès qu'un processus automatique se termine.
  • ✓Quand vous avez besoin de connaître le résultat d'une tâche sans rester devant l'écran.

Lien du skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/sendblue/sendblue-notify/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/sendblue/sendblue-notify/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Envoie-moi un SMS quand la génération du rapport mensuel sera terminée.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Le fonctionnement repose sur la mise en place d'une notification qui se déclenche lorsqu'une tâche précise est terminée. Le message envoyé est court et indique si la tâche a réussi ou échoué.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Sendblue Notify

Overview

Outbound, fire-and-forget notifications from a local Claude Code session, script, or scheduled job to the user's phone via Sendblue. This is the "walk away from the terminal" pattern: kick off something long, get an iMessage when it lands. This skill owns when to notify and what to say. Actual sending goes through [[sendblue-cli]]. Hook wiring (so notifications fire automatically) goes through [[update-config]].

When to Use This Skill

  • Use when the user says "text me when X is done", "ping my phone", "notify me on completion", "let me know when the build/deploy/migration finishes", or "send me an iMessage when…".
  • Use when the user asks to wire a hook that texts on agent stop, /loop iteration, or /schedule completion.
  • Use when an agent turn is genuinely long-running and the user has gone heads-down on something else.
  • Do not use for short, interactive tasks where the user is watching the terminal — the notify is noise.

Prerequisites

The CLI must be installed and authenticated:

npx @sendblue/cli whoami        # confirms creds
# or, if first run:
npx @sendblue/cli setup

The user's phone number must be a verified contact on the account. On the free plan, the contact has to text the Sendblue number once before outbound sends work — confirm with sendblue contacts before relying on notify in an unattended workflow.

Cache the destination number once per project rather than re-asking. A NOTIFY_NUMBER env var or a one-line .notify-number file is fine; defer storage strategy to whatever the surrounding project already does.

How It Works

Step 1: Decide whether notify is appropriate

Notify is for long, unattended work — not chatter. Good triggers:

  • Agent turns over ~2 minutes (build, large refactor, migration, dataset crunch).
  • /loop and /schedule jobs that produce a discrete result.
  • CI / deploy completion when watched from the terminal.
  • Multi-step playbooks where the user has gone heads-down on something else.

Bad triggers (do not silently wire these):

  • Every Stop event, regardless of duration — produces spam, trains the user to ignore.
  • Read-only or sub-second commands.
  • Anything inside a tight loop.

If the user asks for "notify me when done" on a short task, do the obvious one-shot inline send (Example 1) and do not install a global hook.

Step 2: Pick a delivery pattern

  • One-shot inline send — default for a single ad-hoc task. No config changes.
  • Stop hook — opt-in, project-scoped, for sessions the user explicitly wants on automatic notify. Always gate by duration.
  • End-of-/loop or /schedule ping — append the send to the routine's body.

Step 3: Compose the notification copy

  • One line, under ~140 chars — fits in the lock-screen preview.
  • Lead with outcome — ✅/❌, "done", "failed", "needs review".
  • Include something actionable — branch name, error tail, PR number, duration.
  • No emojis the user didn't ask for beyond a single status glyph.
  • No agent self-narration ("I have completed the task as requested" — just say what happened).

Examples

Example 1: One-shot inline send

For a single task, append the send to the command. This is the default — no config changes, no surprise behavior later.

Branch on the task's exit status with an if/else. Do not use a task && send-success || send-failure chain: if the task succeeds but the success-send itself returns non-zero, the || fires the failure message — so the user sees ❌ even though the task completed. The if/else keeps the outcome tied solely to the task.

if long_running_thing; then
  npx @sendblue/cli send +15551234567 "✅ done: $(date +%H:%M)"
else
  npx @sendblue/cli send +15551234567 "❌ failed: $(date +%H:%M)"
fi

Or, when the result is interesting, include a one-line summary:

RESULT=$(run-migration 2>&1 | tail -1)
npx @sendblue/cli send +15551234567 "migration done — $RESULT"

Example 2: Claude Code Stop hook (opt-in, scoped)

Register a Stop hook in .claude/settings.json (project-scoped) — never in global settings unless asked. Defer the actual file edit to [[update-config]]. The hook command itself should:

  1. Run cheaply (it fires on every Stop).
  2. Gate on duration — skip sends for turns under a threshold (e.g. 90s).
  3. Never fail the parent — pipe to || true so a notify error doesn't surface as a hook failure.

…
Questions fréquentes

Dois-je installer quelque chose sur mon téléphone ?

Non, la notification est envoyée sur votre numéro de téléphone depuis l'ordinateur où la tâche s'exécute. Il suffit que Sendblue soit configuré sur cet ordinateur.

Puis-je choisir le contenu du message ?

Oui, vous pouvez définir le contenu du message pour qu'il soit utile : indiquer le résultat et, éventuellement, quelques informations supplémentaires.

Cela fonctionne-t-il pour toutes les tâches ?

Cela convient surtout aux tâches longues qui ne demandent pas votre attention constante. Pour les tâches rapides, la notification risque d'être plus gênante qu'utile.

Détails

Description originale de l’auteur

Text the user's phone when a long-running task, agent turn, or scheduled job finishes — via @sendblue/cli for outbound, optionally wired to a Claude Code Stop hook for automatic fire.

repo: sickn33/agentic-awesome-skills

Popularité

Étoiles GitHub
48k
Position au classement
#6295
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires