Token导航 LogoToken导航

Agent Skill · 开发

telnyx-voice-python(telnyx voice Python 测试)

用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流。它适合让 Agent 阅读 Python 代码、定位测试问题、整理运行命令、生成脚本或分析数据处理逻辑。使用时需要确认项目虚拟环境、依赖版本和测试入口;涉及执行脚本、读写文件、访问数据库或调用外部 API 时,应先明确运行目录和输入输出范围,避免误改生产数据。

telnyx-voice-python 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 12,369。

总安装 1,317周安装 56GitHub Stars 171下载 461核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:telnyx-voice-python(telnyx voice Python 测试)
来源仓库:https://github.com/team-telnyx/skills
仓库路径:skills/telnyx-voice-python
安装命令:
npx skills add https://github.com/team-telnyx/skills --skill telnyx-voice-python
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/team-telnyx/skills --skill telnyx-voice-python

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流。适合阅读代码、定位测试问题、整理运行命令、生成脚本或分析数据处理逻辑。通过 GitHub 安装,支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

使用时应确认虚拟环境、依赖版本和测试入口;执行脚本或访问数据库前需明确目录与数据范围。安装前建议核实权限与维护状态,防止误改生产数据。

来源仓库内路径:skills/telnyx-voice-python

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/team-telnyx/skills --skill telnyx-voice-python;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

telnyx-voice-python 怎么安装?

在终端执行 npx skills add https://github.com/team-telnyx/skills --skill telnyx-voice-python。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

telnyx-voice-python 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

telnyx-voice-python 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

telnyx-voice-python 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

telnyx-voice-python 用的人多吗?

公开数据是累计安装 1,317 次,近一周安装 56 次,下载 461 次,GitHub 171 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

telnyx-voice-python 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
telnyx-voice-python

telnyx voice Python 测试 · 本页

1,317171接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Telnyx Voice - Python

Installation

pip install telnyx

Setup

import os
from telnyx import Telnyx

client = Telnyx(
    api_key=os.environ.get("TELNYX_API_KEY"),  # This is the default and can be omitted
)

All examples below assume client is already initialized as shown above.

Error Handling

All API calls can fail with network errors, rate limits (429), validation errors (422), or authentication errors (401). Always handle errors in production code:

import telnyx

try:
    response = client.calls.dial(
        connection_id="7267xxxxxxxxxxxxxx",
        from_="+18005550101",
        to="+18005550100",
    )
except telnyx.APIConnectionError:
    print("Network error — check connectivity and retry")
except telnyx.RateLimitError:
    import time
    time.sleep(1)  # Check Retry-After header for actual delay
except telnyx.APIStatusError as e:
    print(f"API error {e.status_code}: {e.message}")
    if e.status_code == 422:
        print("Validation error — check required fields and formats")

Common error codes: 401 invalid API key, 403 insufficient permissions, 404 resource not found, 422 validation error (check field formats), 429 rate limited (retry with exponential backoff).

Important Notes

  • Phone numbers must be in E.164 format (e.g., +13125550001). Include the + prefix and country code. No spaces, dashes, or parentheses.
  • Pagination: List methods return an auto-paginating iterator. Use for item in page_result: to iterate through all pages automatically.

Operational Caveats

  • Call Control is event-driven. After dial() or an inbound webhook, issue follow-up commands from webhook handlers using the call_control_id in the event payload.
  • Outbound and inbound flows are different: outbound calls start with dial(), while inbound calls must be answered from the incoming webhook before other commands run.
  • A publicly reachable webhook endpoint is required for real call control. Without it, calls may connect but your application cannot drive the live call state.

Reference Use Rules

Do not invent Telnyx parameters, enums, response fields, or webhook fields.

Core Tasks

Dial an outbound call

Primary voice entrypoint. Agents need the async call-control identifiers returned here.

client.calls.dial() — POST /calls

ParameterTypeRequiredDescription
tostring (E.164)YesThe DID or SIP URI to dial out to.
from_string (E.164)YesThe from number to be used as the caller id presented to t...
connection_idstring (UUID)YesThe ID of the Call Control App (formerly ID of the connectio...
timeout_secsintegerNoThe number of seconds that Telnyx will wait for the call to...
billing_group_idstring (UUID)NoUse this field to set the Billing Group ID for the call.
client_statestringNoUse this field to add state to every subsequent webhook.
...+48 optional params in references/api-details.md
response = client.calls.dial(
    connection_id="7267xxxxxxxxxxxxxx",
    from_="+18005550101",
    to="+18005550100",
)
print(response.data)

Primary response fields:

  • response.data.call_control_id
  • response.data.call_leg_id
  • response.data.call_session_id
  • response.data.is_alive
  • response.data.recording_id
  • response.data.call_duration

Answer an inbound call

Primary inbound call-control command.

client.calls.actions.answer() — POST /calls/{call_control_id}/actions/answer

ParameterTypeRequiredDescription
call_control_idstring (UUID)YesUnique identifier and token for controlling the call
billing_group_idstring (UUID)NoUse this field to set the Billing Group ID for the call.
client_statestringNoUse this field to add state to every subsequent webhook.
webhook_urlstring (URL)NoUse this field to override the URL for which Telnyx will sen...
...+26 optional params in references/api-details.md
response = client.calls.actions.answer(
    call_control_id="550e8400-e29b-41d4-a716-446655440000",
)
print(response.data)

Primary response fields:

  • response.data.result
  • response.data.recording_id

Transfer a live call

Common post-answer control path with downstream webhook implications.

client.calls.actions.transfer() — POST /calls/{call_control_id}/actions/transfer

ParameterTypeRequiredDescription
tostring (E.164)YesThe DID or SIP URI to dial out to.
call_control_idstring (UUID)YesUnique identifier and token for controlling the call
timeout_secsintegerNoThe number of seconds that Telnyx will wait for the call to...
client_statestringNoUse this field to add state to every subsequent webhook.
webhook_urlstring (URL)NoUse this field to override the URL for which Telnyx will sen...
...+33 optional params in references/api-details.md
response = client.calls.actions.transfer(
    call_control_id="550e8400-e29b-41d4-a716-446655440000",
    to="+18005550100",
)
print(response.data)

Primary response fields:

  • response.data.result

Webhook Verification

Telnyx signs webhooks with Ed25519. Each request includes telnyx-signature-ed25519 and telnyx-timestamp headers. Always verify signatures in production:

# In your webhook handler (e.g., Flask — use raw body, not parsed JSON):
@app.route("/webhooks", methods=["POST"])
def handle_webhook():
    payload = request.get_data(as_text=True)  # raw body as string
    headers = dict(request.headers)
    try:
        event = client.webhooks.unwrap(payload, headers=headers)
    except Exception as e:
        print(f"Webhook verification failed: {e}")
        return "Invalid signature", 400
    # Signature valid — event is the parsed webhook payload
    print(f"Received event: {event.data.event_type}")
    return "OK", 200

Webhooks

These webhook payload fields are inline because they are part of the primary integration path.

Call Answered

FieldTypeDescription
data.record_typeenum: eventIdentifies the type of the resource.
data.event_typeenum: call.answeredThe type of event being delivered.
data.iduuidIdentifies the type of resource.
data.occurred_atdate-timeISO 8601 datetime of when the event occurred.
data.payload.call_control_idstringCall ID used to issue commands via Call Control API.
data.payload.connection_idstringCall Control App ID (formerly Telnyx connection ID) used in the call.
data.payload.call_leg_idstringID that is unique to the call and can be used to correlate webhook events.
data.payload.call_session_idstringID that is unique to the call session and can be used to correlate webhook ev...

Call Hangup

FieldTypeDescription
data.record_typeenum: eventIdentifies the type of the resource.
data.event_typeenum: call.hangupThe type of event being delivered.
data.iduuidIdentifies the type of resource.
data.occurred_atdate-timeISO 8601 datetime of when the event occurred.
data.payload.call_control_idstringCall ID used to issue commands via Call Control API.
data.payload.connection_idstringCall Control App ID (formerly Telnyx connection ID) used in the call.
data.payload.call_leg_idstringID that is unique to the call and can be used to correlate webhook events.
data.payload.call_session_idstringID that is unique to the call session and can be used to correlate webhook ev...

Call Initiated

FieldTypeDescription
data.record_typeenum: eventIdentifies the type of the resource.
data.event_typeenum: call.initiatedThe type of event being delivered.
data.iduuidIdentifies the type of resource.
data.occurred_atdate-timeISO 8601 datetime of when the event occurred.
data.payload.call_control_idstringCall ID used to issue commands via Call Control API.
data.payload.connection_idstringCall Control App ID (formerly Telnyx connection ID) used in the call.
data.payload.connection_codecsstringThe list of comma-separated codecs enabled for the connection.
data.payload.offered_codecsstringThe list of comma-separated codecs offered by caller.

If you need webhook fields that are not listed inline here, read the webhook payload reference before writing the handler.


Important Supporting Operations

Use these when the core tasks above are close to your flow, but you need a common variation or follow-up step.

Hangup call

End a live call from your webhook-driven control flow.

client.calls.actions.hangup() — POST /calls/{call_control_id}/actions/hangup

ParameterTypeRequiredDescription
call_control_idstring (UUID)YesUnique identifier and token for controlling the call
client_statestringNoUse this field to add state to every subsequent webhook.
command_idstring (UUID)NoUse this field to avoid duplicate commands.
custom_headersarray[object]NoCustom headers to be added to the SIP BYE message.
response = client.calls.actions.hangup(
    call_control_id="550e8400-e29b-41d4-a716-446655440000",
)
print(response.data)

Primary response fields:

  • response.data.result

Bridge calls

Trigger a follow-up action in an existing workflow rather than creating a new top-level resource.

client.calls.actions.bridge() — POST /calls/{call_control_id}/actions/bridge

ParameterTypeRequiredDescription
call_control_idstring (UUID)YesThe Call Control ID of the call you want to bridge with, can...
call_control_idstring (UUID)YesUnique identifier and token for controlling the call
client_statestringNoUse this field to add state to every subsequent webhook.
command_idstring (UUID)NoUse this field to avoid duplicate commands.
video_room_idstring (UUID)NoThe ID of the video room you want to bridge with, can't be u...
...+16 optional params in references/api-details.md
response = client.calls.actions.bridge(
    call_control_id_to_bridge="call_control_id",
    call_control_id_to_bridge_with="v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg",
)
print(response.data)

Primary response fields:

  • response.data.result

Reject a call

Trigger a follow-up action in an existing workflow rather than creating a new top-level resource.

client.calls.actions.reject() — POST /calls/{call_control_id}/actions/reject

ParameterTypeRequiredDescription
causeenum (CALL_REJECTED, USER_BUSY)YesCause for call rejection.
call_control_idstring (UUID)YesUnique identifier and token for controlling the call
client_statestringNoUse this field to add state to every subsequent webhook.
command_idstring (UUID)NoUse this field to avoid duplicate commands.
response = client.calls.actions.reject(
    call_control_id="550e8400-e29b-41d4-a716-446655440000",
    cause="USER_BUSY",
)
print(response.data)

Primary response fields:

  • response.data.result

Retrieve a call status

Fetch the current state before updating, deleting, or making control-flow decisions.

client.calls.retrieve_status() — GET /calls/{call_control_id}

ParameterTypeRequiredDescription
call_control_idstring (UUID)YesUnique identifier and token for controlling the call
response = client.calls.retrieve_status(
    "call_control_id",
)
print(response.data)

Primary response fields:

  • response.data.call_control_id
  • response.data.call_duration
  • response.data.call_leg_id
  • response.data.call_session_id
  • response.data.client_state
  • response.data.end_time

List all active calls for given connection

Fetch the current state before updating, deleting, or making control-flow decisions.

client.connections.list_active_calls() — GET /connections/{connection_id}/active_calls

ParameterTypeRequiredDescription
connection_idstring (UUID)YesTelnyx connection id
pageobjectNoConsolidated page parameter (deepObject style).
page = client.connections.list_active_calls(
    connection_id="1293384261075731461",
)
page = page.data[0]
print(page.call_control_id)

Response wrapper:

  • items: page.data
  • pagination: page.meta

Primary item fields:

  • call_control_id
  • call_duration
  • call_leg_id
  • call_session_id
  • client_state
  • record_type

List call control applications

Inspect available resources or choose an existing resource before mutating it.

client.call_control_applications.list() — GET /call_control_applications

ParameterTypeRequiredDescription
sortenum (created_at, connection_name, active)NoSpecifies the sort order for results.
filterobjectNoConsolidated filter parameter (deepObject style).
pageobjectNoConsolidated page parameter (deepObject style).
page = client.call_control_applications.list()
page = page.data[0]
print(page.id)

Response wrapper:

  • items: page.data
  • pagination: page.meta

Primary item fields:

  • id
  • created_at
  • updated_at
  • active
  • anchorsite_override
  • application_name

Additional Operations

Use the core tasks above first. The operations below are indexed here with exact SDK methods and required params; use references/api-details.md for full optional params, response schemas, and lower-frequency webhook payloads. Before using any operation below, read the optional-parameters section and the response-schemas section so you do not guess missing fields.

OperationSDK methodEndpointUse whenRequired params
Create a call control applicationclient.call_control_applications.create()POST /call_control_applicationsCreate or provision an additional resource when the core tasks do not cover this flow.application_name, webhook_event_url
Retrieve a call control applicationclient.call_control_applications.retrieve()GET /call_control_applications/{id}Fetch the current state before updating, deleting, or making control-flow decisions.id
Update a call control applicationclient.call_control_applications.update()PATCH /call_control_applications/{id}Modify an existing resource without recreating it.application_name, webhook_event_url, id
Delete a call control applicationclient.call_control_applications.delete()DELETE /call_control_applications/{id}Remove, detach, or clean up an existing resource.id
SIP Refer a callclient.calls.actions.refer()POST /calls/{call_control_id}/actions/referTrigger a follow-up action in an existing workflow rather than creating a new top-level resource.sip_address, call_control_id
Send SIP infoclient.calls.actions.send_sip_info()POST /calls/{call_control_id}/actions/send_sip_infoTrigger a follow-up action in an existing workflow rather than creating a new top-level resource.content_type, body, call_control_id

Other Webhook Events

Eventdata.event_typeDescription
callBridgedcall.bridgedCall Bridged

For exhaustive optional parameters, full response schemas, and complete webhook payloads, see references/api-details.md.

平台分布

Codex

33.32%
按下载量换算154

Claude

32.75%
按下载量换算151

Cursor

19.53%
按下载量换算90

Gemini CLI

9.81%
按下载量换算45

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills