Chuyển đến nội dung
Skillpedia
Email và tin nhắn260k · #546

telephony

Skill này làm gì

Skill này cho AI của bạn các khả năng điện thoại cơ bản, như mua số, gửi tin nhắn và gọi điện. Phù hợp với người muốn AI xử lý các tác vụ điện thoại đơn giản.

Khi nào nên dùng

  • ✓Khi bạn muốn AI mua và giữ một số điện thoại để dùng sau này.
  • ✓Khi bạn muốn AI gửi tin nhắn hoặc kiểm tra tin nhắn đến cho số đó.
  • ✓Khi bạn muốn AI thực hiện một cuộc gọi đi đọc một tin nhắn ngắn.

Liên kết skill

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/telephony/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/telephony/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Nhắn cho số đã lưu của tôi xác nhận việc giao hàng đã được xác nhận, nhưng hãy hỏi tôi trước khi gửi bất cứ thứ gì.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chạy một script trợ giúp để lưu khóa nhà cung cấp và số của bạn. Nó kiểm tra tin nhắn đến bằng cách truy vấn định kỳ dịch vụ Twilio, nên không cần máy chủ webhook.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Telephony — Numbers, Calls, and Texts without Core Tool Changes

This optional skill gives Hermes practical phone capabilities while keeping telephony out of the core tool list.

It ships with a helper script, scripts/telephony.py, that can:

  • save provider credentials into ${HERMES_HOME:-~/.hermes}/.env
  • search for and buy a Twilio phone number
  • remember that owned number for later sessions
  • send SMS / MMS from the owned number
  • poll inbound SMS for that number with no webhook server required
  • make direct Twilio calls using TwiML <Say> or <Play>
  • import the owned Twilio number into Vapi
  • place outbound AI calls through Bland.ai or Vapi

What this solves

This skill is meant to cover the practical phone tasks users actually want:

  • outbound calls
  • texting
  • owning a reusable agent number
  • checking messages that arrive to that number later
  • preserving that number and related IDs between sessions
  • future-friendly telephony identity for inbound SMS polling and other automations

It does not turn Hermes into a real-time inbound phone gateway. Inbound SMS is handled by polling the Twilio REST API. That is enough for many workflows, including notifications and some one-time-code retrieval, without adding core webhook infrastructure.

Safety rules — mandatory

  1. Always confirm before placing a call or sending a text.
  2. Never dial emergency numbers.
  3. Never use telephony for harassment, spam, impersonation, or anything illegal.
  4. Treat third-party phone numbers as sensitive operational data:
    • do not save them to Hermes memory
    • do not include them in skill docs, summaries, or follow-up notes unless the user explicitly wants that
  5. It is fine to persist the agent-owned Twilio number because that is part of the user's configuration.
  6. VoIP numbers are not guaranteed to work for all third-party 2FA flows. Use with caution and set user expectations clearly.

Decision tree — which service to use?

Use this logic instead of hardcoded provider routing:

1) "I want Hermes to own a real phone number"

Use Twilio.

Why:

  • easiest path to buying and keeping a number
  • best SMS / MMS support
  • simplest inbound SMS polling story
  • cleanest future path to inbound webhooks or call handling

Use cases:

  • receive texts later
  • send deployment alerts / cron notifications
  • maintain a reusable phone identity for the agent
  • experiment with phone-based auth flows later

2) "I only need the easiest outbound AI phone call right now"

Use Bland.ai.

Why:

  • quickest setup
  • one API key
  • no need to first buy/import a number yourself

Tradeoff:

  • less flexible
  • voice quality is decent, but not the best

3) "I want the best conversational AI voice quality"

Use Twilio + Vapi.

Why:

  • Twilio gives you the owned number
  • Vapi gives you better conversational AI call quality and more voice/model flexibility

Recommended flow:

  1. Buy/save a Twilio number
  2. Import it into Vapi
  3. Save the returned VAPI_PHONE_NUMBER_ID
  4. Use ai-call --provider vapi

4) "I want to call with a custom prerecorded voice message"

Use Twilio direct call with a public audio URL.

Why:

  • easiest way to play a custom MP3
  • pairs well with Hermes text_to_speech plus a public file host or tunnel

Files and persistent state

The skill persists telephony state in two places:

${HERMES_HOME:-~/.hermes}/.env

Used for long-lived provider credentials and owned-number IDs, for example:

  • TWILIO_ACCOUNT_SID
  • TWILIO_AUTH_TOKEN
  • TWILIO_PHONE_NUMBER
  • TWILIO_PHONE_NUMBER_SID
  • BLAND_API_KEY
  • VAPI_API_KEY
  • VAPI_PHONE_NUMBER_ID
  • PHONE_PROVIDER (AI call provider: bland or vapi)

~/.hermes/telephony_state.json

Used for skill-only state that should survive across sessions, for example:

  • remembered default Twilio number / SID
  • remembered Vapi phone number ID
  • last inbound message SID/date for inbox polling checkpoints

This means:

  • the next time the skill is loaded, diagnose can tell you what number is already configured
  • twilio-inbox --since-last --mark-seen can continue from the previous checkpoint

Locate the helper script

After installing this skill, locate the script like this:

SCRIPT="$(find ~/.hermes/skills -path '*/telephony/scripts/telephony.py' -print -quit)"

If SCRIPT is empty, the skill is not installed yet.

Install

This is an official optional skill, so install it from the Skills Hub:

hermes skills search telephony
herm
Câu hỏi thường gặp

AI có gọi hoặc nhắn tin mà không hỏi không?

Không. Skill có quy tắc an toàn: AI phải xác nhận trước khi thực hiện cuộc gọi hoặc gửi tin nhắn.

Nó có gọi được số khẩn cấp không?

Không. Skill nói không bao giờ quay số khẩn cấp.

Nó có nhận cuộc gọi theo thời gian thực không?

Không. Skill nói tin nhắn đến được kiểm tra bằng truy vấn định kỳ, không theo thời gian thực.

Chi tiết

Mô tả gốc của tác giả

Provision Twilio numbers, SMS/MMS, and AI outbound calls.

repo: NousResearch/hermes-agent

Độ phổ biến

Sao GitHub
260k
Vị trí xếp hạng
#546
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự