Install any skill in seconds. Free to start, no credit card required.
Get Started Free →team-telnyx/telnyx-porting-in-python
Port phone numbers into Telnyx. Check portability, create port orders, upload LOA documents, and track porting status. This skill provides Python SDK examples.
Passed 25 of 26 test cases with the skill, and 3 of 26 without it.
and 24 more in the full report
22 fixed3 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 22 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a Python snippet using the Telnyx SDK to query all porting phone numbers and output the porting order ID for the first returned result.
| Checked | Without skill | With skill |
|---|---|---|
| Calls client.porting_phone_numbers.list(). | 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 / 26 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.