sendblue-cli
Fungsinya
Program ini memungkinkan Anda mengirim pesan teks (SMS dan iMessage) langsung dari komputer, tanpa perlu aplikasi telepon atau penyiapan server yang rumit. Program ini juga membantu mengelola kontak dan menyiapkan akun Anda.
Kapan dipakai
- βSaat Anda ingin mengirim pengingat singkat ke ponsel Anda.
- βUntuk memberi tahu bahwa tugas yang panjang sudah selesai.
- βSaat Anda perlu mengirim pesan massal secara otomatis.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/sendblue/sendblue-cli/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βKirim pesan ke +15551234567 dengan isi 'Tugas sudah selesai!'β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Pertama, pasang program di komputer Anda. Lalu, siapkan akun menggunakan email dan kode verifikasi. Terakhir, Anda bisa menggunakan perintah sederhana untuk mengirim pesan atau melihat riwayat.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Sendblue CLI
Overview
@sendblue/cli is a Node CLI that creates a Sendblue account, provisions an iMessage-enabled number, and sends messages. It is the fastest way to text from a shell, script, or Claude Code hook β no API client, no webhook server, no credentials in env vars. Credentials live at ~/.sendblue/credentials.json (mode 600) and Node.js 18+ is required.
When to Use This Skill
- Use when the user wants to text a phone number from a script, shell, hook, or agent turn (e.g. "text me when X finishes", "ping my phone", "notify on completion").
- Use when the user mentions
sendblueas a CLI/binary or asks to set up the@sendblue/clipackage. - Prefer this skill over [[sendblue-api]] when the work happens in a shell context, one-shot script, cron job, or agent hook.
- Reach for [[sendblue-api]] instead when writing application code that integrates Sendblue, receiving inbound webhooks, or needing features the CLI does not expose (send styles, reactions, group messages, status callbacks, media uploads).
How It Works
Step 1: Install
npm install -g @sendblue/cli # global, exposes `sendblue`
# or one-shot:
npx @sendblue/cli <command>
Step 2: Set up an account
sendblue setup runs interactively by default. For CI/scripts, run it in two phases β the first call sends an 8-digit verification code by email, the second consumes it.
sendblue setup --email you@example.com # sends code
sendblue setup --email you@example.com --code 12345678 \
--company my-co --contact +15551234567 # completes setup
| Flag | Notes |
|---|---|
--email |
Email address |
--code |
8-digit verification code (from the email) |
--company |
Lowercase, hyphens/underscores, 3β64 chars |
--contact |
First contact, E.164 |
Step 3: Send messages
sendblue send +15551234567 'Hello from Sendblue!'
sendblue messages --inbound --limit 20
Phone numbers must be E.164 (+ + country code + digits, no spaces or dashes).
Step 4: Manage contacts and plan
On the free plan, a contact must text your Sendblue number once before outbound sends to that contact will work. After sendblue setup ... --contact +15551234567, have that contact send any text to the printed Sendblue number, then run sendblue contacts to confirm verification.
Command Reference
| Command | Purpose |
|---|---|
sendblue setup |
Create account, verify email, set company name, add first contact |
sendblue login |
Log in to an existing account |
sendblue send <number> <message> |
Send an iMessage |
sendblue messages [--inbound|--outbound] [-n <number>] [-l <count>] |
List recent messages |
sendblue add-contact <number> |
Register a contact |
sendblue contacts |
List contacts and their verification status |
sendblue status |
Account/plan info |
sendblue whoami |
Show current credentials and verify validity |
Examples
Example 1: Notify when a long task finishes
long_running_thing && sendblue send +15551234567 "β
done: $(date)"
Example 2: Read recent inbound for a specific contact
sendblue messages -n +15551234567 --inbound --limit 50
Example 3: Verify creds are good before a batch send
sendblue whoami || sendblue login
Example 4: Wire to a Claude Code Stop hook
To text yourself at the end of every agent turn, register a Stop hook in settings.json that shells out to sendblue send. Defer the actual hook wiring to [[update-config]] and the trigger logic to [[sendblue-notify]] β this skill only owns the CLI invocation.
Best Practices
- β
Use E.164 numbers everywhere.
+15551234567, never5551234567or(555) 123-4567. - β
Run
sendblue whoamibefore unattended batches to fail fast on stale or missing creds. - β
Re-run
setupas the same OS user that owns~/.sendblue/credentials.json. - β Don't
sudoβ it writes creds to root's home and the next non-sudo run won't see them. - β Don't embed creds in env vars when the CLI already reads them from the per-user credentials file.
Limitations
- Outbound-first: there is no built-in webhook server for inbound. Use [[sendblue-api]] webhooks for full inbound handling.
β¦
Pertanyaan umum
Apakah saya perlu nomor telepon khusus?
Tidak, Anda menggunakan nomor telepon biasa, tetapi nomor tujuan harus dalam format E.164 (misalnya +15551234567).
Apakah saya bisa mengirim pesan ke siapa saja?
Pada paket gratis, penerima harus lebih dulu mengirim pesan ke nomor Sendblue Anda. Setelah itu, Anda bisa mengirim pesan kepadanya.
Di mana detail login saya disimpan?
Kredensial Anda disimpan dalam file aman di komputer bernama `credentials.json`, dengan izin akses terbatas sehingga hanya Anda yang bisa membukanya.
Detail
Deskripsi asli dari pembuat
Send iMessage and SMS from the shell via the @sendblue/cli npm package β outbound sends, contact management, and account setup with no API client or webhook server required.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #6294
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
knowledge-automation
394kMembantu agent Anda mengatur tugas terjadwal yang memasukkan konten baru ke Knowledge vault Anda secara rutin, lalu memastikan tugas itu berjalan.
knowledge-source-ingest
394kMembantu agent Anda menjaga Knowledge vault tetap mutakhir dengan item baru dari chat, feed, atau kotak surat, tanpa menambahkan ulang yang sudah ada.
benchmark
280kMembantu agent Anda mengukur kecepatan dan performa kode. Berguna untuk memastikan semuanya cepat dan menemukan penyebab kelambatan.