Install any skill in seconds. Free to start, no credit card required.
Get Started Free →team-telnyx/telnyx-numbers-javascript
Search, order, and manage phone numbers by location, features, and coverage.
Passed 22 of 23 test cases with the skill, and 10 of 23 without it.
and 10 more in the full report
12 fixed10 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
We need to inspect phone number availability and features for a specific country (e.g., 'GB') using the Telnyx JavaScript SDK. Which method fetches coverage details for a single specified country code?
| Checked | Without skill | With skill |
|---|---|---|
| Invokes client.countryCoverage.retrieveCountry | Missed | Passed |
The instructions your model reads when the skill loads.
npm install [email protected]
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.
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 availablePhoneNumbers = await client.availablePhoneNumbers.list();
} 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');
test cases passed, vs 10 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.