Token导航 LogoToken导航

Agent Skill · 开发

telnyx-10dlc-javascript(telnyx 10dlc JavaScript 测试)

用于辅助 Java 项目开发、面向对象设计、Spring 生态、Maven 或 Gradle 依赖和后端工程实践。它适合让 Agent 分析类结构、设计接口、整理服务分层、生成测试或检查常见代码坏味道。使用时需要结合项目已有架构、包结构和依赖版本,不应只按通用教程改代码;涉及数据库、事务、并发或框架配置时,应先确认运行环境和回归测试范围。

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

总安装 269周安装 11GitHub Stars 167下载 87核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/team-telnyx/telnyx-skills --skill telnyx-10dlc-javascript

这个 Skill 是做什么的

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

用于辅助 Java 项目开发、面向对象设计和 Spring 生态开发。适合分析类结构、设计接口、整理服务分层或生成测试用例。使用时需结合项目已有架构、包结构和依赖版本,不应照搬教程。涉及数据库、事务、并发或框架配置时应先确认运行环境和回归测试。安装前建议检查权限范围和维护状态,避免误改生产数据。

来源仓库内路径:skills/telnyx-10dlc-javascript

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

telnyx-10dlc-javascript 怎么安装?

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

telnyx-10dlc-javascript 支持哪些 AI 工具?

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

telnyx-10dlc-javascript 需要什么权限?

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

telnyx-10dlc-javascript 是免费的吗?

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

telnyx-10dlc-javascript 用的人多吗?

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

telnyx-10dlc-javascript 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 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-10dlc-javascript

telnyx 10dlc JavaScript 测试 · 本页

269167接触敏感数据未明确通过

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

SKILL.md 原文

Telnyx 10DLC - JavaScript

Installation

npm install telnyx

Setup

import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: process.env['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:

try {
  const telnyxBrand = await client.messaging10dlc.brand.create({
    country: 'US',
    displayName: 'ABC Mobile',
    email: 'support@example.com',
    entityType: 'PRIVATE_PROFIT',
    vertical: 'TECHNOLOGY',
  });
} catch (err) {
  if (err instanceof Telnyx.APIConnectionError) {
    console.error('Network error — check connectivity and retry');
  } else if (err instanceof Telnyx.RateLimitError) {
    const retryAfter = err.headers?.['retry-after'] || 1;
    await new Promise(r => setTimeout(r, retryAfter * 1000));
  } else if (err instanceof Telnyx.APIError) {
    console.error(`API error ${err.status}: ${err.message}`);
    if (err.status === 422) {
      console.error('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

  • Pagination: List methods return an auto-paginating iterator. Use for await (const item of result) {...} to iterate through all pages automatically.

Operational Caveats

  • 10DLC is sequential: create the brand first, then submit the campaign, then attach messaging infrastructure such as the messaging profile.
  • Registration calls are not enough by themselves. Messaging cannot use the campaign until the assignment step completes successfully.
  • Treat registration status fields as part of the control flow. Do not assume the campaign is send-ready until the returned status fields confirm it.

Reference Use Rules

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

Core Tasks

Create a brand

Brand registration is the entrypoint for any US A2P 10DLC campaign flow.

client.messaging10dlc.brand.create() — POST /10dlc/brand

ParameterTypeRequiredDescription
entityTypeobjectYesEntity type behind the brand.
displayNamestringYesDisplay name, marketing name, or DBA name of the brand.
countrystringYesISO2 2 characters country code.
emailstringYesValid email address of brand support contact.
verticalobjectYesVertical or industry segment of the brand.
companyNamestringNo(Required for Non-profit/private/public) Legal company name.
firstNamestringNoFirst name of business contact.
lastNamestringNoLast name of business contact.
...+16 optional params in references/api-details.md
const telnyxBrand = await client.messaging10dlc.brand.create({
  country: 'US',
  displayName: 'ABC Mobile',
  email: 'support@example.com',
  entityType: 'PRIVATE_PROFIT',
  vertical: 'TECHNOLOGY',
});

console.log(telnyxBrand.identityStatus);

Primary response fields:

  • telnyxBrand.brandId
  • telnyxBrand.identityStatus
  • telnyxBrand.status
  • telnyxBrand.displayName
  • telnyxBrand.state
  • telnyxBrand.altBusinessId

Submit a campaign

Campaign submission is the compliance-critical step that determines whether traffic can be provisioned.

client.messaging10dlc.campaignBuilder.submit() — POST /10dlc/campaignBuilder

ParameterTypeRequiredDescription
brandIdstring (UUID)YesAlphanumeric identifier of the brand associated with this ca...
descriptionstringYesSummary description of this campaign.
usecasestringYesCampaign usecase.
ageGatedbooleanNoAge gated message content in campaign.
autoRenewalbooleanNoCampaign subscription auto-renewal option.
directLendingbooleanNoDirect lending or loan arrangement
...+29 optional params in references/api-details.md
const telnyxCampaignCsp = await client.messaging10dlc.campaignBuilder.submit({
  brandId: 'BXXXXXX',
  description: 'Two-factor authentication messages',
  usecase: '2FA',
    sampleMessages: ["Your verification code is {{code}}"],
});

console.log(telnyxCampaignCsp.brandId);

Primary response fields:

  • telnyxCampaignCsp.campaignId
  • telnyxCampaignCsp.brandId
  • telnyxCampaignCsp.campaignStatus
  • telnyxCampaignCsp.submissionStatus
  • telnyxCampaignCsp.failureReasons
  • telnyxCampaignCsp.status

Assign a messaging profile to a campaign

Messaging profile assignment is the practical handoff from registration to send-ready messaging infrastructure.

client.messaging10dlc.phoneNumberAssignmentByProfile.assign() — POST /10dlc/phoneNumberAssignmentByProfile

ParameterTypeRequiredDescription
messagingProfileIdstring (UUID)YesThe ID of the messaging profile that you want to link to the...
campaignIdstring (UUID)YesThe ID of the campaign you want to link to the specified mes...
tcrCampaignIdstring (UUID)NoThe TCR ID of the shared campaign you want to link to the sp...
const response = await client.messaging10dlc.phoneNumberAssignmentByProfile.assign({
  messagingProfileId: '4001767e-ce0f-4cae-9d5f-0d5e636e7809',
    campaignId: 'CXXX001',
});

console.log(response.messagingProfileId);

Primary response fields:

  • response.messagingProfileId
  • response.campaignId
  • response.taskId
  • response.tcrCampaignId

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., Express — use raw body, not parsed JSON):
app.post('/webhooks', express.raw({ type: 'application/json' }), async (req, res) => {
  try {
    const event = await client.webhooks.unwrap(req.body.toString(), {
      headers: req.headers,
    });
    // Signature valid — event is the parsed webhook payload
    console.log('Received event:', event.data.event_type);
    res.status(200).send('OK');
  } catch (err) {
    console.error('Webhook verification failed:', err.message);
    res.status(400).send('Invalid signature');
  }
});

Webhooks

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

Campaign Status Update

FieldTypeDescription
brandIdstringBrand ID associated with the campaign.
campaignIdstringThe ID of the campaign.
createDatestringUnix timestamp when campaign was created.
cspIdstringAlphanumeric identifier of the CSP associated with this campaign.
isTMobileRegisteredbooleanIndicates whether the campaign is registered with T-Mobile.
typeenum: TELNYX_EVENT, REGISTRATION, MNO_REVIEW, TELNYX_REVIEW, NUMBER_POOL_PROVISIONED, NUMBER_POOL_DEPROVISIONED, TCR_EVENT, VERIFIED
descriptionstringDescription of the event.
statusenum: ACCEPTED, REJECTED, DORMANT, success, failedThe status of the campaign.

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.

Get Brand

Inspect the current state of an existing brand registration.

client.messaging10dlc.brand.retrieve() — GET /10dlc/brand/{brandId}

ParameterTypeRequiredDescription
brandIdstring (UUID)Yes
const brand = await client.messaging10dlc.brand.retrieve('BXXX001');

console.log(brand);

Primary response fields:

  • brand.status
  • brand.state
  • brand.altBusinessId
  • brand.altBusinessIdType
  • brand.assignedCampaignsCount
  • brand.brandId

Qualify By Usecase

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

client.messaging10dlc.campaignBuilder.brand.qualifyByUsecase() — GET /10dlc/campaignBuilder/brand/{brandId}/usecase/{usecase}

ParameterTypeRequiredDescription
usecasestringYes
brandIdstring (UUID)Yes
const response = await client.messaging10dlc.campaignBuilder.brand.qualifyByUsecase('usecase', {
  brandId: 'BXXX001',
});

console.log(response.annualFee);

Primary response fields:

  • response.annualFee
  • response.maxSubUsecases
  • response.minSubUsecases
  • response.mnoMetadata
  • response.monthlyFee
  • response.quarterlyFee

Create New Phone Number Campaign

Create or provision an additional resource when the core tasks do not cover this flow.

client.messaging10dlc.phoneNumberCampaigns.create() — POST /10dlc/phone_number_campaigns

ParameterTypeRequiredDescription
phoneNumberstring (E.164)YesThe phone number you want to link to a specified campaign.
campaignIdstring (UUID)YesThe ID of the campaign you want to link to the specified pho...
const phoneNumberCampaign = await client.messaging10dlc.phoneNumberCampaigns.create({
  campaignId: '4b300178-131c-d902-d54e-72d90ba1620j',
  phoneNumber: '+18005550199',
});

console.log(phoneNumberCampaign.campaignId);

Primary response fields:

  • phoneNumberCampaign.assignmentStatus
  • phoneNumberCampaign.brandId
  • phoneNumberCampaign.campaignId
  • phoneNumberCampaign.createdAt
  • phoneNumberCampaign.failureReasons
  • phoneNumberCampaign.phoneNumber

Get campaign

Inspect the current state of an existing campaign registration.

client.messaging10dlc.campaign.retrieve() — GET /10dlc/campaign/{campaignId}

ParameterTypeRequiredDescription
campaignIdstring (UUID)Yes
const telnyxCampaignCsp = await client.messaging10dlc.campaign.retrieve('CXXX001');

console.log(telnyxCampaignCsp.brandId);

Primary response fields:

  • telnyxCampaignCsp.status
  • telnyxCampaignCsp.ageGated
  • telnyxCampaignCsp.autoRenewal
  • telnyxCampaignCsp.billedDate
  • telnyxCampaignCsp.brandDisplayName
  • telnyxCampaignCsp.brandId

List Brands

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

client.messaging10dlc.brand.list() — GET /10dlc/brand

ParameterTypeRequiredDescription
sortenum (assignedCampaignsCount, -assignedCampaignsCount, brandId, -brandId, createdAt,...)NoSpecifies the sort order for results.
pageintegerNo
recordsPerPageintegerNonumber of records per page.
...+6 optional params in references/api-details.md
// Automatically fetches more pages as needed.
for await (const brandListResponse of client.messaging10dlc.brand.list()) {
  console.log(brandListResponse.identityStatus);
}

Primary response fields:

  • brandListResponse.page
  • brandListResponse.records
  • brandListResponse.totalRecords

Get Brand Feedback By Id

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

client.messaging10dlc.brand.getFeedback() — GET /10dlc/brand/feedback/{brandId}

ParameterTypeRequiredDescription
brandIdstring (UUID)Yes
const response = await client.messaging10dlc.brand.getFeedback('BXXX001');

console.log(response.brandId);

Primary response fields:

  • response.brandId
  • response.category

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
Get Brand SMS OTP Statusclient.messaging10dlc.brand.getSMSOtpByReference()GET /10dlc/brand/smsOtp/{referenceId}Fetch the current state before updating, deleting, or making control-flow decisions.referenceId
Update Brandclient.messaging10dlc.brand.update()PUT /10dlc/brand/{brandId}Inspect the current state of an existing brand registration.entityType, displayName, country, email, +2 more
Delete Brandclient.messaging10dlc.brand.delete()DELETE /10dlc/brand/{brandId}Inspect the current state of an existing brand registration.brandId
Resend brand 2FA emailclient.messaging10dlc.brand.resend2faEmail()POST /10dlc/brand/{brandId}/2faEmailCreate or provision an additional resource when the core tasks do not cover this flow.brandId
List External Vettingsclient.messaging10dlc.brand.externalVetting.list()GET /10dlc/brand/{brandId}/externalVettingFetch the current state before updating, deleting, or making control-flow decisions.brandId
Order Brand External Vettingclient.messaging10dlc.brand.externalVetting.order()POST /10dlc/brand/{brandId}/externalVettingCreate or provision an additional resource when the core tasks do not cover this flow.evpId, vettingClass, brandId
Import External Vetting Recordclient.messaging10dlc.brand.externalVetting.imports()PUT /10dlc/brand/{brandId}/externalVettingModify an existing resource without recreating it.evpId, vettingId, brandId
Revet Brandclient.messaging10dlc.brand.revet()PUT /10dlc/brand/{brandId}/revetModify an existing resource without recreating it.brandId
Get Brand SMS OTP Status by Brand IDclient.messaging10dlc.brand.retrieveSMSOtpStatus()GET /10dlc/brand/{brandId}/smsOtpFetch the current state before updating, deleting, or making control-flow decisions.brandId
Trigger Brand SMS OTPclient.messaging10dlc.brand.triggerSMSOtp()POST /10dlc/brand/{brandId}/smsOtpCreate or provision an additional resource when the core tasks do not cover this flow.pinSms, successSms, brandId
Verify Brand SMS OTPclient.messaging10dlc.brand.verifySMSOtp()PUT /10dlc/brand/{brandId}/smsOtpModify an existing resource without recreating it.otpPin, brandId
List Campaignsclient.messaging10dlc.campaign.list()GET /10dlc/campaignInspect available resources or choose an existing resource before mutating it.None
Accept Shared Campaignclient.messaging10dlc.campaign.acceptSharing()POST /10dlc/campaign/acceptSharing/{campaignId}Create or provision an additional resource when the core tasks do not cover this flow.campaignId
Get Campaign Costclient.messaging10dlc.campaign.usecase.getCost()GET /10dlc/campaign/usecase/costInspect available resources or choose an existing resource before mutating it.None
Update campaignclient.messaging10dlc.campaign.update()PUT /10dlc/campaign/{campaignId}Inspect the current state of an existing campaign registration.campaignId
Deactivate campaignclient.messaging10dlc.campaign.deactivate()DELETE /10dlc/campaign/{campaignId}Inspect the current state of an existing campaign registration.campaignId
Submit campaign appeal for manual reviewclient.messaging10dlc.campaign.submitAppeal()POST /10dlc/campaign/{campaignId}/appealCreate or provision an additional resource when the core tasks do not cover this flow.appealReason, campaignId
Get Campaign Mno Metadataclient.messaging10dlc.campaign.getMnoMetadata()GET /10dlc/campaign/{campaignId}/mnoMetadataFetch the current state before updating, deleting, or making control-flow decisions.campaignId
Get campaign operation statusclient.messaging10dlc.campaign.getOperationStatus()GET /10dlc/campaign/{campaignId}/operationStatusFetch the current state before updating, deleting, or making control-flow decisions.campaignId
Get OSR campaign attributesclient.messaging10dlc.campaign.osr.getAttributes()GET /10dlc/campaign/{campaignId}/osr/attributesFetch the current state before updating, deleting, or making control-flow decisions.campaignId
Get Sharing Statusclient.messaging10dlc.campaign.getSharingStatus()GET /10dlc/campaign/{campaignId}/sharingFetch the current state before updating, deleting, or making control-flow decisions.campaignId
List shared partner campaignsclient.messaging10dlc.partnerCampaigns.listSharedByMe()GET /10dlc/partnerCampaign/sharedByMeInspect available resources or choose an existing resource before mutating it.None
Get Sharing Statusclient.messaging10dlc.partnerCampaigns.retrieveSharingStatus()GET /10dlc/partnerCampaign/{campaignId}/sharingFetch the current state before updating, deleting, or making control-flow decisions.campaignId
List Shared Campaignsclient.messaging10dlc.partnerCampaigns.list()GET /10dlc/partner_campaignsInspect available resources or choose an existing resource before mutating it.None
Get Single Shared Campaignclient.messaging10dlc.partnerCampaigns.retrieve()GET /10dlc/partner_campaigns/{campaignId}Fetch the current state before updating, deleting, or making control-flow decisions.campaignId
Update Single Shared Campaignclient.messaging10dlc.partnerCampaigns.update()PATCH /10dlc/partner_campaigns/{campaignId}Modify an existing resource without recreating it.campaignId
Get Assignment Task Statusclient.messaging10dlc.phoneNumberAssignmentByProfile.retrieveStatus()GET /10dlc/phoneNumberAssignmentByProfile/{taskId}Fetch the current state before updating, deleting, or making control-flow decisions.taskId
Get Phone Number Statusclient.messaging10dlc.phoneNumberAssignmentByProfile.listPhoneNumberStatus()GET /10dlc/phoneNumberAssignmentByProfile/{taskId}/phoneNumbersFetch the current state before updating, deleting, or making control-flow decisions.taskId
List phone number campaignsclient.messaging10dlc.phoneNumberCampaigns.list()GET /10dlc/phone_number_campaignsInspect available resources or choose an existing resource before mutating it.None
Get Single Phone Number Campaignclient.messaging10dlc.phoneNumberCampaigns.retrieve()GET /10dlc/phone_number_campaigns/{phoneNumber}Fetch the current state before updating, deleting, or making control-flow decisions.phoneNumber
Create New Phone Number Campaignclient.messaging10dlc.phoneNumberCampaigns.update()PUT /10dlc/phone_number_campaigns/{phoneNumber}Modify an existing resource without recreating it.phoneNumber, campaignId, phoneNumber
Delete Phone Number Campaignclient.messaging10dlc.phoneNumberCampaigns.delete()DELETE /10dlc/phone_number_campaigns/{phoneNumber}Remove, detach, or clean up an existing resource.phoneNumber

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

平台分布

Codex

35.88%
按下载量换算31

Claude

30.12%
按下载量换算26

Cursor

18.51%
按下载量换算16

Gemini CLI

9.4%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills