telnyx-networking-javascript

telnyx-networking-javascript is a skill for Claude Code from team-telnyx/ai. It costs 33 tokens per session (9,657 once invoked), scanned A, a copy of telnyx-networking-curl, MIT.

A JavaScript SDK guide for Telnyx private networks, WireGuard VPN gateways, internet gateways, and virtual cross-connects. It also shows how to handle common API errors such as rate limits and invalid requests.

In plain words
What is it for?
Use it to configure private network connections and VPN gateways from a JavaScript application.
Why use it?
It reduces the work of learning the Telnyx networking API and helps prevent failures caused by missing error handling.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the telnyx-platform plugin — 92 skills, 1 agent, 3 hooks shipped together

Good fit Use it to configure private network connections and VPN gateways from a JavaScript application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/team-telnyx/ai/telnyx-networking-javascript
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add team-telnyx/ai --skill telnyx-networking-javascript
Clone the repo
git clone --depth 1 https://github.com/team-telnyx/ai

Made for: Claude Code.

Or install telnyx-platform, the plugin that ships this one along with the rest of its 92 skills, 1 agent, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for telnyx-networking-javascript

README.md
[![agentmods](https://agentmods.dev/badge/skills/team-telnyx/ai/telnyx-networking-javascript.svg)](https://agentmods.dev/skills/team-telnyx/ai/telnyx-networking-javascript)
Your own site
<a href="https://agentmods.dev/skills/team-telnyx/ai/telnyx-networking-javascript"><img src="https://agentmods.dev/badge/skills/team-telnyx/ai/telnyx-networking-javascript.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,657 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.09657
Opus 5 $0.00016 $0.04829
Sonnet 5 $0.00007 $0.01931
Haiku 4.5 $0.00003 $0.00966

Measured 2d ago against content hash b178e36e8ac5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

telnyx-networking-javascript scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

95% identical to telnyx-networking-curl — 622 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

providers/claude/plugins/telnyx-platform/skills/telnyx-networking-javascript/SKILL.md · 1,009 lines

How it starts

The opening of the file, as written. The whole thing — 1,009 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Telnyx Networking - JavaScript

Installation

npm install [email protected]

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 result = await client.messages.send({ to: '+13125550001', from: '+13125550002', text: 'Hello' });
} catch (err) {
  if (err instanceof Telnyx.APIConnectionError) {
    console.error('Network error — check connectivity and retry');
  } else if (err instanceof Telnyx.RateLimitError) {
    // 429: rate limited — wait and retry with exponential backoff
    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.

List all clusters

GET /ai/clusters

// Automatically fetches more pages as needed.
for await (const clusterListResponse of client.ai.clusters.list()) {
  console.log(clusterListResponse.task_id);
}

Returns: bucket (string), created_at (date-time), finished_at (date-time), min_cluster_size (integer), min_subcluster_size (integer), status (enum: pending, starting, running, completed, failed), task_id (string)

Read the full file on GitHub · 1,009 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 1,009 lines · 33 tokens per session scan A b178e36e8ac5

Subscribe to this mod's changes

telnyx-networking-javascript is a skill published in the GitHub repository team-telnyx/ai (213 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 9,657 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to telnyx-networking-curl, differing in 622 lines, and is treated as a copy.

Related

Other skills, from other repositories

dokploy-deploy

This skill should be used when user asks to "deploy with Dokploy", "use Dokploy Cloud", "manage self-hosted Dokploy", "deploy Docker Compose on Dokploy", "manage Dokploy databases", "configure Dokploy domains", or "look up Dokploy CLI commands".

fcakyon/claude-codex-settings · 63 tokens

qdrant-deployment-options

Guides Qdrant deployment selection. Use when someone asks 'how to deploy Qdrant', 'Docker vs Cloud', 'local mode', 'embedded Qdrant', 'Qdrant EDGE', 'which deployment option', 'self-hosted vs cloud', or 'need lowest latency deployment'. Also use when choosing between deployment types for a new project.

qdrant/skills · 79 tokens

lov-deploy-to-vercel

A deployment workflow for publishing Vite, Next.js, Create React App, or static frontend projects on Vercel, a hosting service for web applications. It can also connect a custom domain and configure Cloudflare DNS records.

lovstudio/skills · 92 tokens

netlify-deploy

Deploy web projects to Netlify using the Netlify CLI (npx netlify). Use when the user asks to deploy, host, publish, or link a site/repo on Netlify, including preview and production deploys. Do NOT use for deploying to Vercel, Cloudflare, or Render (use their respective skills).

tech-leads-club/agent-skills · 72 tokens

opa-policies

Write OPA/Gatekeeper and Kyverno admission policies for Kubernetes security guardrails.

sawrus/agent-guides · 21 tokens

tls-termination

Configure TLS termination with cert-manager — Let's Encrypt, internal CA via Vault PKI, wildcard certs, mTLS between services.

sawrus/agent-guides · 30 tokens