跳到正文
Skillpedia
邮件与消息48k · #5448

placecall

它能做什么

这项服务让 AI 智能体能够给美国的企业拨打真实电话。它可以预约、询价、咨询,并汇报通话结果。

适用场景

  • ✓当你需要给美国的企业打电话来安排某件事时。
  • ✓当你想通过电话询价或确认信息时。
  • ✓当你需要了解之前所打电话的结果时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/placecall/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/placecall/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“给“The Italian Taste”餐厅打个电话,问问周五晚上是否有 4 人的桌位,以及有哪些可预订的时间。”

每周 5 个新技能,1 分钟读完。

工作原理

你提供通话的详细信息,比如电话号码和要说的内容。AI 智能体会利用这些信息拨打电话、与对方沟通,然后把结果告诉你。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

PlaceCall

Overview

PlaceCall is a hosted API that places a real outbound phone call to a US business, has an AI voice agent carry out a plain-English task on that call (an inquiry, a booking, a cancellation, a quote), and returns a structured outcome, the transcript and the recording. The agent works through phone menus and hold, and it can send the user a question in the middle of a call. When the user has no number, the API can first suggest businesses to call and write the call brief for each one. This skill teaches an agent to drive that API with curl. Adapted from the official PlaceCall skill: https://github.com/voygr-tech/placecall

When to Use This Skill

  • Use when the user asks you to call a business, or to ask, book, confirm, reschedule or cancel something by phone, and the number is a US number.
  • Use when the user names a need rather than a number ("find a florist in Chicago with peonies and call them"): suggest places first, then call the one the user picks.
  • Use when the user asks for the status, outcome or transcript of a call placed earlier, or wants to answer a question the call agent sent mid-call.
  • Do not use for SMS, email, non-US numbers, or numbers the user is not entitled to call.

How It Works

All requests go to https://api.voygr.tech over HTTPS with the header X-API-Key: $PLACECALL_API_KEY.

Step 1: Check the key and the balance

The user creates a key at https://api.voygr.tech/checkout (name and email; the key is emailed to them) and puts it in the PLACECALL_API_KEY environment variable or the agent's secure settings. Never ask for the key in chat, never print it, and never search the disk for credential files.

curl -s -H "X-API-Key: $PLACECALL_API_KEY" https://api.voygr.tech/users/me
# 200 {"customer_id":"...","credits_available":...,"max_concurrent_calls":...}

Step 2: Write the brief and confirm it

The call agent reads only the brief. Put every detail in it: what to ask, whose behalf you call on (there is no separate caller-name field), names, dates, party size, a callback number, and how to wrap up. Show the user the number and the brief and get a yes before dialling.

Step 3: Place the call

Generate a new UUID for Idempotency-Key for every call you intend to place, and keep it with that call.

curl -s -X POST https://api.voygr.tech/calls \
  -H "X-API-Key: $PLACECALL_API_KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: 3f6c2a0e-0b8e-4c55-9a51-2d7d1f0b6c11" \
  -d '{
        "target_phone": "+15551234567",
        "brief": "Call this sports bar and find out (1) whether they are showing the USA vs Netherlands match today and (2) whether a reservation is needed. Read the answers back to confirm, thank them, and end.",
        "language": "en",
        "ask_user_mode": "stream"
      }'
# -> 201 {"call":{"call_id":"...","status":"dialing",...},...}
  • target_phone: E.164 (+1...). 911 and other N11 codes are refused with 422.
  • brief: up to 4000 characters.
  • language: auto (resolves to en) or one of en, es, fr, de, hi, ru, pt, ja, it, nl, sr, tr, pl. Anything else returns 422 unsupported_language.
  • ask_user_mode: always send "stream", so mid-call questions reach the events feed you poll.
  • The call id is nested: call.call_id. Some deployments answer 202 with status: "queued"; follow it the same way.

For bookings, the optional structured path validates details before anything is dialled: send "intent": "booking" with slots (target_phone, name, date as YYYY-MM-DD, time as HH:MM, party_size, optional phone_to_dictate) instead of a brief. A gap comes back as 422 missing_slots with a suggested_question for each missing slot. This path returns a flat call_id. Send either a brief or intent + slots, never both.

Step 4: Follow the call by polling events

Poll; do not hold a long-lived curl -N stream open. Use the after_event_id query parameter.

ID=<call_id>; LAST=0; STOP=$(($(date +%s)+120))
while [ "$(date +%s)" -lt "$STOP" ]; do
  OUT=$(curl -s --max-time 20 -H "X-API-Key: $PLACECALL_API_KEY" \
        "https://api.voygr.tech/calls/$ID/events?after_event_id=$LAST")
  [ -n "$OUT" ] && echo "$OUT"
  N=$(printf '%s' "$OUT" | sed -n 's/^id: //p' | tail -1); [ -n "$N" ] && LAST=$N
  printf '%s' "$OUT" | grep -q '^event: outcome'  && { echo "### OUTCOME ###"; break; }

…
常见问题

如果商家没有接听怎么办?

根据指令的不同,智能体会再试一次,或者报告无法接通。

我可以拨打任意号码吗?

不可以。这项服务只支持美国企业的电话号码,不支持短信或电子邮件。

AI 怎么知道该说什么?

你需要写一份详细的“任务简报”,列明通话中 AI 应该使用的所有信息和问题。

详情

作者的原始描述

Place real outbound phone calls to US businesses through the PlaceCall API: book, ask, get quotes, then read the outcome and transcript.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5448
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能