sendblue-notify
できること
この機能は、パソコンで実行に時間がかかるタスクが終わったときに、スマートフォンにテキストメッセージでお知らせを送ります。重要な作業が終わったら知らせてほしい、というときに便利な仕組みです。
使う場面
- ✓実行に時間がかかるタスクを始めて、ほかの作業をしたいとき。
- ✓自動処理が終わったら、すぐに知りたいとき。
- ✓画面を見続けなくても、タスクの結果を知りたいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/sendblue/sendblue-notify/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“月次レポートの作成が終わったら、テキストメッセージで知らせて。”
毎週5つの新しいスキル。1分で読めます。
仕組み
特定のタスクが完了したときに通知が送られるように設定して動作します。送られるメッセージは短く、タスクが成功したか失敗したかを知らせます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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,
/loopiteration, or/schedulecompletion. - 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).
/loopand/schedulejobs 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
Stopevent, 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.
Stophook — opt-in, project-scoped, for sessions the user explicitly wants on automatic notify. Always gate by duration.- End-of-
/loopor/scheduleping — 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:
- Run cheaply (it fires on every
Stop). - Gate on duration — skip sends for turns under a threshold (e.g. 90s).
- Never fail the parent — pipe to
|| trueso a notify error doesn't surface as a hook failure.
…
よくある質問
スマートフォンに何かインストールする必要はありますか?
いいえ、通知はタスクを実行しているパソコンから、あなたの電話番号に送られます。パソコンにSendblueが設定されていれば十分です。
メッセージの内容を選べますか?
はい、メッセージの内容を指定できます。結果がわかるように、必要に応じて補足情報を加えることもできます。
どんなタスクにも使えますか?
常に見守る必要のない長時間のタスクに向いています。すぐに終わるタスクでは、通知がかえって邪魔になることがあります。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 48k
- ランキング
- #6295
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。