Install any skill in seconds. Free to start, no credit card required.
Get Started Free →team-telnyx/telnyx-numbers-config-python
Configure phone number settings including caller ID, call forwarding, messaging enablement, and connection assignments. This skill provides Python SDK examples.
Passed 24 of 25 test cases with the skill, and 5 of 25 without it.
and 24 more in the full report
20 fixed4 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 20 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a Python script to initialize the Telnyx client. I want to pass my API key explicitly from an environment variable named 'MY_SECRET_KEY' instead of relying on default environment variables.
| Checked | Without skill | With skill |
|---|---|---|
| Instantiates the client using the Telnyx class constructor | Missed | Passed |
| Passes the api_key argument to the constructor | Missed | Passed |
The instructions your model reads when the skill loads.
pip install telnyx
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.
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:
result = client.messages.send(to="+13125550001", from_="+13125550002", text="Hello")
except telnyx.APIConnectionError:
print("Network error — check connectivity and retry")
except telnyx.RateLimitError:
# 429: rate limited — wait and retry with exponential backoff
import time
time.sleep(1) # Check Retry-After header for actual delay
except telnyx.APIStatusError as e:
test cases passed, vs 5 / 25 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.