# How to Build a Claude Code Skill That Makes Phone Calls

Canonical HTML: https://clawcall.dev/blog/how-to-build-a-claude-skill-that-makes-phone-calls
Published: 2026-05-31
Updated: 2026-11-28
Author: ClawCall

A Claude Code skill that makes phone calls is a SKILL.md file at `.claude/skills/phone-calls/SKILL.md` that tells Claude when to dial, which REST API to call, and how to poll for the result and a nullable transcript. The skill is plain markdown with YAML frontmatter, and the dialing happens behind an HTTP endpoint the skill calls. So the work splits in two: the instructions Claude reads, and a phone-calling backend that, after finalization, returns a transcript when present. For hosts with remote MCP and OAuth, ClawCall connects through the hosted connector at https://api.clawcall.dev/mcp, where the phone agent can also ask your own Claude mid-call (live delegation). This tutorial builds the packaged skill on ClawCall's REST API, so your own SKILL.md controls the procedure; the same product includes a free trial of 30 calls or 30 minutes, whichever comes first, with no card required. By the end you will have a skill that dials any US number for you.

## What a Claude Code skill is, and why phone calling fits

A Claude Code skill is a markdown file Claude reads at runtime to decide when and how to do something. The Anthropic docs place personal skills at `~/.claude/skills/<skill-name>/SKILL.md` and project skills at `.claude/skills/<skill-name>/SKILL.md`. There is no SDK and no build step. You write instructions, frontmatter, and a description, and Claude loads the skill automatically when the description matches what the user asked for.

That model fits phone calling well, because most of the agent's work is judgment, not code. A SKILL.md is good at questions like these, and a generic HTTP tool wrapper is bad at them:

- Should we place this call, or did the user just ask a question about a phone number?
- Is this an emergency line we should refuse?
- Do we need call evidence back, or only confirmation that the call happened?

The dialing itself is a fixed contract: a POST that returns a call ID immediately, and a GET that returns captured transcript evidence when present once the call finalizes. You do not want Claude inventing telephony; you want it picking up a phone that already works. That split is the whole pattern: markdown for judgment, REST for the boring part, and a stable provider contract so the skill keeps working as models change.

## Pick the calling backend before you write SKILL.md

Your skill is only as good as the API behind it, so settle the backend first. The realistic options fall into three buckets:

1. **Developer voice platforms** (Bland, Vapi, Retell, Synthflow, Vocode, Regal) give you raw infrastructure for building voice products. They sell construction-kit primitives priced per minute, and you end up writing the orchestration, IVR navigation, hold handling, and cleanup yourself.
2. **Agent phone-number services** (AgentPhone, AgentLine, and Bland's Agent Phone Plan) give your agent its own number behind an API, billed per minute or per month. You still design what the agent says on the call.
3. **Finished calling products with a public API** handle the call end to end and let your skill stay small. ClawCall sits here, with hosted MCP, a REST API, and a published skill.

This tutorial uses ClawCall because the reference skill is already published, the REST contract is stable, and the free trial of 30 calls or 30 minutes, whichever comes first, covers your development testing. With ClawCall you skip the glue code entirely: the call is one POST and one poll, and the time you save goes into the skill's judgment.

## What ClawCall's calling backend adds to your skill

The backend does more than place the call, so your skill can stay small:

1. **Live delegation.** On the hosted connector, the phone agent asks your own Claude mid-call for anything the request did not cover, such as a fact to look up or a detail from your files, and passes the answer on in its own words, so the other side hears one caller. It is built in, over the same connection as every other ClawCall tool. One switch turns it on for a call, and your Claude stays with the call through the track_call tool. See [live agent lookups](/guides/live-agent-lookups).
2. **Loop-in.** When a step needs you, such as a one-time code, a payment or a choice outside what you allowed, ClawCall keeps the other side on hold, calls you, briefs you and bridges you in on your yes. If you say no, it carries on with what you told it.
3. **Phone menus and hold.** The agent presses keys through phone trees, notices hold and transfers on its own, with nothing to configure, and talks to whoever finally answers, so the skill does not have to script any of it.
4. **Plug and play.** In Claude, the hosted connector is one URL and a sign-in. There is no API key, no developer mode, no number to buy and no tunnel to run. This tutorial's REST path puts the same calling backend behind your own SKILL.md.
5. **Control from the chat.** On the hosted connector, a live call card in Claude shows the call as it happens. From it you end the call, and you answer the agent's questions on calls with delegation on.

## Install the reference skill to see the target shape

Before you write your own SKILL.md, install an existing reference skill so you have a working example to study. From your project directory, drop the skill folder into `.claude/skills/clawcall/`, which puts SKILL.md alongside any helper files the skill needs.

Open it and read the frontmatter first: name, description, and any allowed-tools list. The description is the most important field in the file. Claude does not parse your skill on every turn. It scans descriptions, decides whether yours is relevant, and only then loads the body. A vague description like `makes phone calls` gets ignored when the user says "call my dentist and reschedule." A precise one like `Place outbound US phone calls on the user's behalf, navigate phone trees, wait on hold, and return captured transcript evidence when present` fires when it should.

Read the body next. ClawCall's published skill is deliberately short. It tells Claude to fetch the current API guides from the server before each operation, where to keep credentials, and which boundaries it must hold: not collecting the recipient's own sensitive data, AI disclosure, and no bulk or robocall-style promotions. Individual outreach calls are allowed. The endpoint details live in the fetched guides rather than the skill, so the skill keeps working as the API evolves. Rules like these belong inside the skill because they are not preferences; they are constraints the agent must honor however the user phrased the request. The reference skill is at /for-agents and the API contract at /docs.

## Write your own SKILL.md from scratch

Now write your own. Create `.claude/skills/phone-calls/SKILL.md` with YAML frontmatter that gives the skill a name, a one-sentence description written for retrieval, and an allowed-tools list scoped to the bash or fetch tools it needs. Then build the body in this order:

1. **Charter.** One paragraph: what the skill does, who the user is, what counts as in scope.
2. **When to invoke.** Concrete triggers in the user's words ("call this number," "schedule an appointment by phone," "sit on hold for me") and concrete non-triggers ("look up this phone number," "find the support line for X"; those are searches, not calls).
3. **API contract.** Document POST /call with the JSON body the API expects (to, task, an optional voice, and optionally loop_in_user for a live handoff to the user's verified phone), the response shape (call_id), the X-Api-Key header the skill sends from your ClawCall account, and the polling loop against GET /call/:id. Say that lifecycle moves through `queued`, `dialing`, `answered`, and `finalized`, and that talk_seconds is the single duration field.
4. **Hard rules and an example.** Close with the rules and a short example transcript so Claude knows what a finalized response looks like.

Aim for 150 to 400 lines. Longer skills get partially ignored; shorter ones miss edge cases. Write it like a runbook for a junior teammate, not API documentation.

## Wire up the first call: POST, poll, read

Every phone-calling skill runs the same three-step loop, and it is worth pinning down in SKILL.md so Claude does not improvise:

1. **POST /call** with the destination number in E.164 format (a +1 NANP number), a natural-language task, and a voice: eric (the default), jessica, sarah, or chris. Send your ClawCall API key in the X-Api-Key header; the response comes back immediately with a call_id.
2. **Poll GET /call/:id.** Sleep two to five seconds per poll, tell the user about each lifecycle change, and stop once lifecycle is finalized.
3. **Read the result.** The finalized response includes outcome plus nullable transcript and recording_url fields. Read captured turns only when present, and offer temporary recording access only when available.

A loop-in adds a fourth step. When the call was placed with loop_in_user set to true and the agent decides to bring the person in, it calls the loop_in_user tool, which calls the user's verified phone and connects them once they accept. Document this loop once and Claude will not need a second tutorial.

## Test the skill with a realistic task

The best test for a phone-calling skill is a task you would actually delegate to a human assistant. Open Claude Code in a fresh terminal and type:

> Call my dentist at +1-555-0123 and ask whether they have any cleaning slots before Friday at 5pm. If they do, book the earliest one under my name.

If your skill description is right, Claude loads the skill, turns the request into a structured task, places the call, polls until finalized, and returns the booked time plus captured transcript evidence when present. Then check what Claude did between turns:

- Did it ask for missing information (your name, your insurance) before dialing? It should. The SKILL.md should tell it to gather everything the receptionist will ask before committing to the call.
- Did it disclose it is an AI when the receptionist asked? It must. That is a hard rule, not a preference.
- Did it handle voicemail as instructed, leaving a concise message when the task asked for one and reporting the result when it did not? It should.

Run a half-dozen variants: a restaurant reservation, a hold with a utility company, an airline rebooking, a doctor's office. Each shakes loose a different edge case. Add the lessons back into the skill body as short examples; showing Claude a constraint inline works better than describing it abstractly at the top. For realistic examples, see [Hold For Me](/hold-for-me) and [restaurant reservations](/use-cases/restaurant-reservation).

## Why ClawCall is the backend for your skill

Here is what every other route leaves you to build, and why a ClawCall-backed skill stays small:

- **Built-in phone features** like Apple Hold Assist and Google Hold for Me hold the line and ring you when a person picks up, but they cannot negotiate, book, or dispute anything, and there is no API to drive them from a coding agent. ClawCall books, negotiates and disputes, and a skill drives it through one endpoint.
- **Consumer calling apps** such as Google's Gemini Call for Me and HoldForMe.ai are built for a person in an app, with no API a SKILL.md can call. ClawCall is the one a SKILL.md calls.
- **Agent phone-number services** (AgentPhone, AgentLine) give the agent its own number and leave the whole conversation to you to design. ClawCall's phone agent already holds the conversation.
- **Developer voice platforms** (Bland, Vapi, Retell, Synthflow, Vocode, Regal) bill per minute and expect you to build a product around them. ClawCall is flat-priced and finished.
- **Inbound AI receptionists** (Goodcall, Rosie, Numa, Replicant) only answer a business's incoming calls. ClawCall places your calls and, on Unlimited Reserve Plus, answers yours too.

ClawCall is the backend this skill is built on because it alone puts live delegation, loop-in, phone menus and hold behind one endpoint. It publishes hosted MCP, a stable outbound REST API, and a packaged Claude Code skill, with flat pricing (Unlimited at $8.99/mo, Unlimited Reserve at $14.99/mo, Unlimited Reserve Plus at $18.99/mo), and the free trial of 30 calls or 30 minutes, whichever comes first, covers your build. See [ClawCall vs Bland](/vs/bland) and [pricing](/pricing) for the full side-by-side.

## What to do once the skill is working

A working skill is the start, not the finish. Four additions pay off:

1. **An escalation rule.** If the call finalizes but the captured evidence does not show the task succeeded, what should the agent do? Retry once with a different opening, hand control back to the user with a summary, or surface the recording when one is available? Pick one default and put it in SKILL.md so behavior is predictable across runs.
2. **Task templates** for the calls you make most. A dentist-rescheduling template that already asks for the patient's name and date of birth saves rewriting the prompt each time, and a utility-billing template that asks for the account number cuts the load on the user.
3. **A logging hook.** The finalized response exposes nullable transcript and recording_url fields. If transcript is present, save the captured evidence; if recording_url is present, download the recording before its temporary access expires. A call can finish without a transcript, so handle its absence.
4. **Sharing.** The Claude Code skills ecosystem is young, and a calling skill that discloses it is an AI, leaves voicemail only when instructed, and respects a do-not-call list would be a useful addition to whichever marketplace you publish to.

The CC BY 4.0 license on the underlying docs means you can lift the API contract and rules into your own skill verbatim, as long as you credit the source.

## Frequently asked questions

### Do I need to know how telephony works to build a phone-calling Claude skill?

No. The reason to skip the developer voice platforms (Bland, Vapi, Retell, Vocode) and write against a finished product is that the telephony stack (the carrier, speech recognition, voice synthesis, codec conversion, the phone-number pool, and webhook handling) is fully managed. Your SKILL.md only needs two endpoints: POST /call to start a call, and GET /call/:id to poll for the result and a nullable transcript. The skill is judgment plus a fire-and-poll loop. If you can write a markdown file and read a JSON response, you can ship a working phone-calling skill in an afternoon.

### How long should a SKILL.md file actually be?

Between 150 and 400 lines is the sweet spot for a phone-calling skill. Shorter than that and you miss edge cases — what to do when nobody picks up, when the receptionist asks if you are a bot, when the call reaches voicemail. Longer than that and Claude starts skipping sections. Write the file like a runbook for a junior teammate: charter, when to invoke, when not to invoke, API contract with example payloads, hard rules, and three or four worked transcripts. Add new constraints as short examples in the body rather than as long policy prose at the top.

### What numbers can the skill call with ClawCall?

Any US +1 number, in 25 languages. Your skill validates the destination as an E.164 +1 number before posting, and the phone agent starts in the recipient's language and can follow them into another of 25 mid-call.

### What is the difference between a Claude Code skill and an MCP server for phone calls?

A skill is a markdown file Claude reads to decide when and how to do something — no code, no process, no port. An MCP server is a long-running process that exposes tools over the Model Context Protocol, which Claude can call as functions. For phone calling, hosted OAuth MCP is the primitive when the host supports remote MCP and OAuth: connect https://api.clawcall.dev/mcp, sign in, and let the host discover the workflow tools without receiving a ClawCall API key. A SKILL.md plus ClawCall's REST API adds your own procedural guidance on top of the hosted tool descriptions.

### How do I keep the skill from making spam calls or leaving voicemails?

Put the hard rules in the SKILL.md body and back them with a backend that follows them too. The ClawCall voice agent follows two fixed rules: it always discloses it is an AI when asked, and it leaves voicemail only when the call instructions authorize one. The skill should restate both in plain language so Claude understands the boundary, and should add a do-not-call rule: no bulk or robocall-style promotions; individual outreach calls are allowed within the user's instructions. Backend rules plus skill-level instruction are what keep a phone-calling agent on the right side of consumer-protection law and basic decency.
