Phone Callsのロゴ

Phone Calls

組織人気
vellum-ai
phone-calls

Make outgoing phone calls, receive incoming calls, and pull up past call transcripts

概要

公開者vellum-ai
リポジトリvellum-assistant
スキル名phone-calls
スター
1.3K
フォーク
186
同梱ファイル
8
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 8個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    vellum-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Phone Calls」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/vellum-ai/vellum-assistant/tree/main/assistant/src/config/bundled-skills/phone-calls
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant.git /tmp/vellum-assistant
mkdir -p .claude/skills
cp -r /tmp/vellum-assistant/assistant/src/config/bundled-skills/phone-calls .claude/skills/phone-calls
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPhone Callsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にPhone Callsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Phone Callsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

You are helping the user set up and manage phone calls via Twilio. This skill covers enabling the calls feature, placing outbound calls, receiving inbound calls, and interacting with live calls. Twilio credential storage, phone number provisioning, and public ingress are handled by the twilio-setup skill.

External Identity

When speaking on behalf of your user during calls, refer to yourself as an "assistant" (not "AI assistant"). Use your user's name and pronouns from their user persona file (users/<slug>.md). Don't volunteer that you are an AI unless directly asked.

Overview

The calling system connects both outbound and inbound voice calls over Twilio Media Streams: the assistant transcribes and synthesizes call audio itself using the STT provider telephony selects (services.stt.roles.telephony when set, otherwise services.stt.provider) and the TTS provider (services.tts.provider, default: ElevenLabs), so working API keys for both are required before calls can connect. After Twilio setup, the assistant prompts the user to choose a voice from a curated list of supported options.

Initial Setup

Follow the steps below to ensure everything is prepared to make and receive phone calls.

Step 1: Twilio Setup

Immediately load the twilio-setup skill to begin setup. That skill marks Twilio setup as started before its read-only checks, which gives managed deployments a chance to open the Velay tunnel WebSocket while the user finishes entering credentials and choosing a number. Twilio setup is a prerequisite to all subsequent steps.

Step 2: Enable Calls

Once Twilio is confirmed to be fully configured, enable calls by updating the config:

bash
assistant config set calls.enabled true

Verify:

bash
assistant config get calls.enabled

Step 3: Choose a Voice

Voice selection and tuning are handled by the elevenlabs-voice skill. Follow the instructions there to pick a curated voice, optionally set up an ElevenLabs API key for advanced selection, or tune voice parameters.

Step 4: Verify Setup (Test Call)

Before making real calls, offer a quick verification. Suggest a test call to the user's own phone: "Want to do a quick test call to your phone to make sure everything works? This is a good way to make sure everything works and that you like the way I sound."

If they agree, ask for their personal phone number and place a test call with a simple task like "Introduce yourself and confirm the call system is working."

Step 5: Guardian Verification

The final step is for the user to verify themselves so that they are recognized when they call you. It's also a great way for them to hear what you sound like and decide if they want you to use a different voice.

Load the guardian-verify-setup skill and follow the instructions for guardian verification over the phone channel. This will require the user to provide you with their phone number and then for you to give them a call. Say something like:

Want to do a quick verification call now so that you can hear what I sound like and also so that I recognize your number when you call me in the future? I'll show a 6 digit code here in the chat and when you answer my call, enter it using your phone's keypad.

You can check their verification status with:

bash
assistant channel-verification-sessions status --channel phone --json

After they are verified, ask them what they think of your voice and offer to let them change it. Load up the elevenlabs-voice skill and follow the instructions there to see what voices are available and how to update your configured voice. Say something like:

Great, you're verified! What did you think of my voice? We can update it if you'd like.

Making Outbound Calls

Use the call_start tool to place outbound calls. Every call requires:

  • phone_number: The number to call in E.164 format (e.g. +14155551234)
  • task: What the call should accomplish - this becomes the AI voice agent's objective
  • context (optional): Additional background information for the conversation

Example calls:

Making a reservation:

call_start phone_number="+14155551234" task="Make a dinner reservation for 2 people tonight at 7pm" context="The user's name is John Smith. Prefer a table by the window if available."

Calling a business:

call_start phone_number="+18005551234" task="Check if they have a specific product in stock" context="Looking for a 65-inch Samsung OLED TV, model QN65S95D. Ask about availability and price."

Following up on an appointment:

call_start phone_number="+12125551234" task="Confirm the dentist appointment scheduled for next Tuesday at 2pm" context="The appointment is under the name Jane Doe, DOB 03/15/1990."

Caller identity in calls

Implicit calls always use the assistant's Twilio number (assistant_number). Only specify caller_identity_mode when the user explicitly requests a different identity for a specific call.

Default call (assistant number):

call_start phone_number="+14155551234" task="Check store hours for today"

Call from the user's own number:

call_start phone_number="+14155551234" task="Check store hours for today" caller_identity_mode="user_number"

Decision rule: Implicit calls (no explicit mode) always use the assistant's Twilio number. Only use caller_identity_mode="user_number" when the user explicitly requests it for a specific call.

Phone number format

Phone numbers MUST be in E.164 format: + followed by country code and number with no spaces, dashes, or parentheses.

  • US/Canada: +1XXXXXXXXXX (e.g. +14155551234)
  • UK: +44XXXXXXXXXX (e.g. +442071234567)
  • International: +{country_code}{number}

If the user provides a number in a different format, convert it to E.164 before calling. If the country is ambiguous, ask.

Trial account limitations

On Twilio trial accounts, outbound calls can ONLY be made to verified numbers. If a call fails with a "not verified" error:

  1. Tell the user they need to verify the number at https://console.twilio.com/us1/develop/phone-numbers/manage/verified
  2. Or upgrade to a paid Twilio account to call any number

Receiving Inbound Calls

Once Twilio is configured and the assistant has a phone number, inbound calls work automatically. When someone dials the assistant's number:

  1. The gateway resolves the assistant by phone number and forwards to the runtime
  2. A new voice session is created, keyed by the Twilio CallSid
  3. The LLM-driven orchestrator answers in receptionist mode - greeting the caller warmly and asking how it can help
  4. The conversation proceeds naturally, with ASK_GUARDIAN dispatches to consult the user when needed

No additional configuration is needed beyond Twilio setup and calls.enabled being true. As long as the phone number has been provisioned/assigned, inbound calls are handled automatically.

Guardian voice verification for inbound calls

To set up guardian verification, load the skill: skill_load skill=guardian-verify-setup. Once a guardian binding exists, inbound callers may be prompted for verification before calls proceed.

Interacting with a Live Call

During an active call, the user can interact with the AI voice agent via the HTTP API endpoints. After placing a call with call_start, use call_status to poll the call state.

Answering questions

When the AI voice agent encounters something it needs user input for, it dispatches an ASK_GUARDIAN request to all configured guardian channels (mac desktop, Telegram). The call status changes to waiting_on_user.

  1. The question is delivered simultaneously to every configured channel. The first channel to respond wins (first-response-wins semantics) -- once one channel provides an answer, the other channels receive a "already answered" notice.
  2. On the mac desktop, a guardian request conversation is created with the question. On Telegram, the question text and a request code are delivered via the gateway.
  3. If DTMF callee verification is enabled, the callee must enter a verification code before the call proceeds (see the DTMF Callee Verification section above).
  4. The guardian provides an answer through whichever channel they prefer. The answer is routed to the AI voice agent, which continues the conversation naturally.

Important: Respond to pending questions quickly. There is a consultation timeout (default: 2 minutes). If no answer is provided in time, the AI voice agent will move on.

Guardian timeout and follow-up

When a consultation times out, the voice agent apologizes to the caller and moves on -- but the interaction is not lost. If the guardian responds after the timeout:

  1. Late reply detection: The system recognizes the late answer on whichever channel it arrives (desktop or Telegram) and presents a follow-up prompt asking the guardian what they would like to do.
  2. Follow-up options: The guardian can choose to:
    • Call back the original caller with the answer
    • Send a text message to the caller with the answer
    • Decline if the follow-up is no longer needed
  3. Automatic execution: If the guardian chooses to call back or send a message, the system resolves the original caller's phone number from the call record and executes the action automatically -- placing an outbound callback call or sending a message via the gateway.

All user-facing messages in this flow (timeout acknowledgments, follow-up prompts, completion confirmations) are generated by the assistant to maintain a natural, conversational tone. No fixed/canned responses are used.

The follow-up flow works across all guardian channels. The guardian can receive the timeout notice on Telegram and choose to call back -- the system handles cross-channel routing transparently.

Steering with instructions

When there is no pending question but the call is still active, the user can send steering instructions via the HTTP API (POST /v1/calls/:id/instruction) to proactively guide the call in real time - for example:

  • "Ask them about their cancellation policy too"
  • "Wrap up the call, we have what we need"
  • "Switch to asking about weekend availability instead"
  • "Be more assertive about getting a discount"

The instruction is injected into the AI voice agent's conversation context as high-priority input, and the agent adjusts its behavior accordingly.

Note: Steering is done via the HTTP API, not the desktop chat conversation. The desktop conversation only receives pointer/status messages about the call.

Call status values

  • initiated - Call is being placed
  • ringing - Phone is ringing on the other end
  • in_progress - Call is connected, conversation is active
  • waiting_on_user - AI agent needs input from the user (check pending question)
  • completed - Call ended successfully
  • failed - Call failed (check lastError for details)
  • cancelled - Call was manually cancelled

Ending a call early

Use call_end with the call session ID to terminate an active call:

call_end call_session_id="<session_id>" reason="User requested to end the call"

Reference

For detailed information on the following topics, see the reference files:

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Phone Calls」では何ができますか?

Make outgoing phone calls, receive incoming calls, and pull up past call transcripts

TypingMindでPhone Callsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Phone Callsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPhone Callsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/vellum-ai/vellum-assistant/tree/main/assistant/src/config/bundled-skills/phone-callsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Phone Callsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Phone Callsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPhone Callsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Phone Calls」は無料ですか?

はい。vellum-aiがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇