twilio-sms
하는 일
이 스킬은 Twilio 전화번호와 문자 메시지를 관리합니다. 번호 목록 조회, 수신 또는 발신 문자 확인을 포함합니다. Twilio로 문자를 보내고 받는 사람을 위한 스킬입니다.
사용하는 경우
- ✓Twilio로 문자 메시지를 보내고 싶을 때.
- ✓최근 수신 또는 발신 메시지를 확인하고 싶을 때.
- ✓내가 가진 Twilio 전화번호 목록을 보거나 관리하고 싶을 때.
스킬 링크
https://github.com/steipete/agent-scripts/blob/main/skills/twilio-sms/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“팀에게 회의가 오후 3시로 바뀌었다는 문자를 보내고, 전달됐는지 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 Twilio 도구와 자격 증명이 있는지 출력하지 않고 확인하고, 접근 권한을 검증한 뒤 메시지를 보내거나 읽습니다. 요청하지 않는 한 메시지 내용은 보여 주지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Twilio SMS
Use for Twilio phone-number and SMS work: create/buy numbers, list owned numbers, keep/label numbers, send texts, and check inbound/outbound messages.
Safety
- Never print Account SIDs, auth tokens, API secrets, TOTP codes, or full 1Password item JSON.
- Do not store real phone numbers, SIDs, names, or account-specific item IDs in this skill.
- Use
$one-passwordfor secret reads.opstays tmux-only. - If desktop 1Password access is needed, unset service-account auth for those commands:
env -u OP_SERVICE_ACCOUNT_TOKEN op .... - Print credential shape only: field present, length, prefix class if useful.
- Public writes or logs: avoid leaking message bodies unless the user asked to read/check SMS.
Credential Route
- Check Twilio CLI/profile:
twilio --versionornpx -y twilio-cli --versiontwilio profiles:listornpx -y twilio-cli profiles:list
- Check exact env presence only:
TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKEN- optional API key/secret vars
- If only partial env exists, search 1Password metadata first.
- Prefer an item with fields matching:
TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKEN- optional
TWILIO_FROM_NUMBER
- If
oponly sees a restricted vault, retry desktop-backed reads withenv -u OP_SERVICE_ACCOUNT_TOKEN. - Verify auth before any purchase/send:
curl -sS -u "$TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN" \
"https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID.json"
CLI Setup
Twilio CLI profile creation requires account auth token, not just API key creds:
npx -y twilio-cli profiles:create "$TWILIO_ACCOUNT_SID" \
--auth-token "$TWILIO_AUTH_TOKEN" \
--profile default --force --silent
npx -y twilio-cli profiles:use default
Use npx -y twilio-cli when twilio is not installed.
Numbers
List owned:
npx -y twilio-cli api:core:incoming-phone-numbers:list \
--properties phoneNumber,friendlyName,capabilities
Search US local SMS-capable inventory:
npx -y twilio-cli api:core:available-phone-numbers:local:list \
--country-code US --sms-enabled --voice-enabled --limit 5
If the CLI shape is awkward or missing flags, use REST:
curl -sS -u "$TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN" \
"https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/AvailablePhoneNumbers/US/Local.json?SmsEnabled=true&VoiceEnabled=true&PageSize=5"
Buy one candidate:
curl -sS -u "$TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN" \
-X POST "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/IncomingPhoneNumbers.json" \
--data-urlencode "PhoneNumber=$PHONE_NUMBER"
Verify ownership/capabilities after purchase. Twilio JSON uses lowercase keys:
capabilities.sms
capabilities.mms
capabilities.voice
Mark numbers the user wants to keep:
npx -y twilio-cli api:core:incoming-phone-numbers:update \
--sid "$PHONE_NUMBER_SID" \
--friendly-name "KEEP - <purpose>"
Retention rule: a number is kept while it remains in the Twilio account and billing is healthy. Do not release/delete unless explicitly asked.
SMS
Send:
npx -y twilio-cli api:core:messages:create \
--from "$FROM_NUMBER" \
--to "$TO_NUMBER" \
--body "$BODY" \
-o json
Fetch status:
npx -y twilio-cli api:core:messages:fetch --sid "$MESSAGE_SID" -o json
Check inbound to a number:
npx -y twilio-cli api:core:messages:list \
--to "$NUMBER" --limit 20 -o json
Check outbound from a number:
npx -y twilio-cli api:core:messages:list \
--from "$NUMBER" --limit 20 -o json
Twilio CLI JSON can return an array for single-resource commands. Parse defensively:
jq 'if type=="array" then .[0] else . end'
Notes
- International SMS may show an alphanumeric or carrier sender instead of the purchased US number.
- US SMS can be compliance-gated. If sending to US recipients fails, check A2P/10DLC registration state before retrying blindly.
- Trial accounts may restrict recipients.
자주 묻는 질문
Twilio 비밀 정보가 출력에 보이나요?
아닙니다. 스킬은 계정 ID, 토큰, 비밀 정보를 절대 출력하지 않도록 설명합니다.
묻지 않고 번호를 구입하나요?
아닙니다. 구입이나 발송 전에 접근 권한을 확인하며, 요청했을 때만 실행합니다.
자격 증명은 어디에서 가져오나요?
환경 설정이나 비밀번호 관리자에서 가져오며, 비밀 정보 읽기는 전용 도우미 스킬을 통해 처리합니다.
상세 정보
작성자의 원본 설명
Twilio SMS CLI: buy/list/keep numbers, send/check messages, credential routing.
repo: steipete/agent-scripts
인기도
- GitHub 스타
- 7.4k
- 순위
- #13254
- 라이선스
- MIT
- 업데이트
- 2026. 10. 30.
댓글
- …
이 저장소의 다른 스킬
beeper
7.4k에이전트가 로컬 Beeper 채팅 기록을 검색해 메시지를 찾고, 모호한 힌트가 어느 채팅이나 연락처를 가리키는지 알아내도록 돕습니다.
cloudflare-registrar
7.4k에이전트가 Cloudflare Registrar에서 도메인 가격과 사용 가능 여부를 확인하고, 확인 단계를 거쳐 도메인을 등록하거나 목록을 조회하도록 돕습니다.
codexbar
7.4k에이전트가 Codex, Claude, Kimi 같은 AI 서비스의 남은 사용량을 한도, 크레딧, 초기화 시간과 함께 확인하도록 돕습니다.
create-cli
7.4k에이전트가 명령줄 도구의 명령, 옵션, 도움말, 출력, 오류를 설계해 사람과 스크립트 모두가 쓸 수 있도록 돕습니다.
비슷한 스킬
discord-user-post
394k에이전트가 승인한 메시지를 정확한 채널을 확인한 뒤 Discord 데스크톱 앱에서 내 계정으로 올리도록 돕습니다.
configure-channel
394k에이전트에게 Telegram 같은 채팅 앱을 OpenClaw에 연결하고, 봇 토큰을 안전하게 보관하며, 메시지가 오가는지 확인하는 방법을 가르칩니다.
discord
394k에이전트가 OpenClaw를 통해 Discord 메시지를 읽고, 보내고, 수정하고, 반응을 달며, 변경 전에 정확한 메시지를 확인하도록 돕습니다.