Install any skill in seconds. Free to start, no credit card required.
Get Started Free →team-telnyx/telnyx-oauth-python
Implement OAuth 2.0 authentication flows for Telnyx API access. This skill provides Python SDK examples.
Passed 22 of 22 test cases with the skill, and 3 of 22 without it.
and 31 more in the full report
19 fixed3 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write Python code using Telnyx SDK to create a public OAuth client named 'Mobile Portal' with allowed scope 'admin' and allowed grant type 'client_credentials'.
| Checked | Without skill | With skill |
|---|---|---|
| Calls client.oauth_clients.create. | Missed | Passed |
| Passes client_type="public" parameter. | 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 3 / 22 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.