phone-calls
17
总安装量
17
周安装量
#19928
全站排名
安装命令
npx skills add https://github.com/merit-systems/agentcash-skills --skill phone-calls
Agent 安装分布
opencode
17
gemini-cli
17
github-copilot
17
codex
17
kimi-cli
17
amp
17
Skill 文档
AI Phone Calls with StablePhone
Make AI-powered phone calls, buy phone numbers, and get transcripts via x402 payments at https://stablephone.dev.
Setup
See rules/getting-started.md for installation and wallet setup.
Quick Reference
| Task | Endpoint | Price |
|---|---|---|
| Make a call | https://stablephone.dev/api/call |
$0.54 |
| Check call status | GET https://stablephone.dev/api/call/{call_id} |
Free |
| Buy phone number | https://stablephone.dev/api/number |
$20.00 |
| Top up number (30d) | https://stablephone.dev/api/number/topup |
$15.00 |
| List your numbers | GET https://stablephone.dev/api/numbers?wallet=0x... |
Free |
Make a Call
npx agentcash fetch https://stablephone.dev/api/call -m POST -b '{
"phone_number": "+14155551234",
"task": "Call this person and ask if they are available for a meeting tomorrow at 2pm. Be polite and professional."
}'
Required:
phone_numberâ E.164 format (e.g.+14155551234)taskâ instructions for the AI agent (what to say, how to behave)
Optional:
fromâ outbound caller ID (must be an active StablePhone number)first_sentenceâ specific opening linevoiceâ voice preset (see Voice Options below)max_durationâ max call length in minutes (1-30, default 5)wait_for_greetingâ wait for recipient to speak first (default false)recordâ record call audio (default true)modelâ"base"(default, best quality) or"turbo"(lowest latency)transfer_phone_numberâ number to transfer to if caller requests a humanvoicemail_actionâ"hangup"(default),"leave_message", or"ignore"voicemail_messageâ message to leave (required when action is"leave_message")metadataâ custom key-value data to attach
Check Call Status
Poll until completed is true:
npx agentcash fetch https://stablephone.dev/api/call/{call_id}
Response fields:
statusâ call statuscompletedâ boolean, true when call is doneanswered_byâ"human","voicemail", or"no_answer"call_lengthâ duration in secondssummaryâ AI-generated call summarytranscriptâ full text transcripttranscriptsâ array of timestamped transcript segmentsrecording_urlâ URL to call recordingpriceâ actual cost
Poll every 5-10 seconds. Calls typically complete in 1-5 minutes depending on max_duration.
Voice Options
| Voice | Description |
|---|---|
nat |
American female (default) |
josh |
Articulate American male |
maya |
Young American female, soft |
june |
American female |
paige |
Calm, soft-tone female |
derek |
Soft and engaging male |
florian |
German male |
Buy a Phone Number
Buy a number to use as outbound caller ID:
npx agentcash fetch https://stablephone.dev/api/number -m POST -b '{"area_code": "415", "country_code": "US"}'
Optional:
area_codeâ 3-digit US/CA area code (random if omitted)country_codeâ"US"(default) or"CA"
Numbers expire after 30 days. Top up to extend.
Top Up a Number
npx agentcash fetch https://stablephone.dev/api/number/topup -m POST -b '{"phone_number": "+14155551234"}'
Extends by 30 days from current expiry. Top-ups stack. Anyone can top up any number.
List Your Numbers
npx agentcash fetch https://stablephone.dev/api/numbers?wallet=YOUR_WALLET_ADDRESS
Workflows
Quick Call
- (Optional) Check balance:
npx agentcash wallet info - Make call with task instructions
- Poll status until completed
- Review transcript and summary
npx agentcash fetch https://stablephone.dev/api/call -m POST -b '{
"phone_number": "+14155551234",
"task": "Ask if the business is open on weekends and what their hours are."
}'
Leave a Voicemail
npx agentcash fetch https://stablephone.dev/api/call -m POST -b '{
"phone_number": "+14155551234",
"task": "Leave a voicemail about the appointment.",
"voicemail_action": "leave_message",
"voicemail_message": "Hi, this is a reminder about your appointment tomorrow at 3pm. Please call back to confirm."
}'
For natural voicemail delivery, use "voicemail_action": "ignore" which bypasses detection and lets the AI speak naturally into the voicemail system.
Call with Transfer
npx agentcash fetch https://stablephone.dev/api/call -m POST -b '{
"phone_number": "+14155551234",
"task": "Qualify this lead. Ask about their budget and timeline. If they are interested, offer to transfer to a sales rep.",
"transfer_phone_number": "+14155559999",
"voice": "josh",
"max_duration": 10
}'
Set Up Dedicated Number
- Buy a phone number ($20)
- Use it as caller ID for outbound calls
- Top up before expiry ($15/30 days)
npx agentcash fetch https://stablephone.dev/api/number -m POST -b '{"area_code": "212", "country_code": "US"}'
Then use it as from:
npx agentcash fetch https://stablephone.dev/api/call -m POST -b '{
"phone_number": "+14155551234",
"from": "+12125551234",
"task": "Confirm the reservation for Friday at 7pm."
}'
Cost Estimation
| Task | Cost |
|---|---|
| Single call | $0.54 |
| Call + dedicated number | $20.54 |
| Monthly number maintenance | $15.00 |
| 10 calls/month + number | $20.00 + $5.40 = $25.40 first month |