sendblue-cli
하는 일
이 프로그램은 전화 앱이나 복잡한 서버 설정 없이 컴퓨터에서 직접 문자 메시지(SMS와 iMessage)를 보내게 해 줍니다. 연락처를 관리하고 계정을 설정하는 데도 도움을 줍니다.
사용하는 경우
- ✓휴대폰으로 간단한 알림을 보내고 싶을 때.
- ✓오래 걸리는 작업이 끝났음을 알리고 싶을 때.
- ✓대량 메시지를 자동으로 보내야 하는 경우.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/sendblue/sendblue-cli/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“+15551234567 번호로 ‘작업이 끝났습니다!’라는 메시지를 보내 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
먼저 컴퓨터에 프로그램을 설치합니다. 그다음 이메일과 인증 코드로 계정을 설정합니다. 마지막으로 간단한 명령을 사용해 메시지를 보내거나 기록을 볼 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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.
…
자주 묻는 질문
특별한 전화번호가 필요한가요?
아니요, 평소 사용하는 전화번호를 쓰면 됩니다. 다만 받는 번호는 E.164 형식(예: +15551234567)이어야 합니다.
아무에게나 메시지를 보낼 수 있나요?
무료 요금제에서는 받는 사람이 먼저 여러분의 Sendblue 번호로 메시지를 보내야 합니다. 그 뒤에는 그 사람에게 보낼 수 있습니다.
로그인 정보는 어디에 저장되나요?
인증 정보는 컴퓨터의 안전한 파일 `credentials.json`에 저장되며, 사용자만 접근할 수 있도록 권한이 제한되어 있습니다.
상세 정보
작성자의 원본 설명
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.
인기도
- GitHub 스타
- 48k
- 순위
- #6294
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.