Install any skill in seconds. Free to start, no credit card required.
Get Started Free →team-telnyx/telnyx-oauth-ruby
Implement OAuth 2.0 authentication flows for Telnyx API access. This skill provides Ruby SDK examples.
Passed 23 of 23 test cases with the skill, and 3 of 23 without it.
and 22 more in the full report
20 fixed3 passed either way0 still failing0 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 Ruby call to retrieve details of a single OAuth grant by ID '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'.
| Checked | Without skill | With skill |
|---|---|---|
| Calls client.oauth_grants.retrieve with the target grant ID | Missed | Passed |
The instructions your model reads when the skill loads.
gem install telnyx
require "telnyx"
client = Telnyx::Client.new(
api_key: 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:
begin
result = client.messages.send_(to: "+13125550001", from: "+13125550002", text: "Hello")
rescue Telnyx::Errors::APIConnectionError
puts "Network error — check connectivity and retry"
rescue Telnyx::Errors::RateLimitError
# 429: rate limited — wait and retry with exponential backoff
sleep(1) # Check Retry-After header for actual delay
rescue Telnyx::Errors::APIStatusError => e
puts "API error #{e.status}: #{e.message}"
if e.status == 422
puts "Validation error — check required fields and formats"
end
test cases passed, vs 3 / 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.