Install any skill in seconds. Free to start, no credit card required.
Get Started Free →athola/authentication-patterns
Provides auth patterns for API keys, OAuth, and token management.
Passed 19 of 22 test cases with the skill, and 7 of 22 without it.
and 19 more in the full report
12 fixed7 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
Which authentication method category and environment variable setting should be assigned for public external APIs in Leyline integrations?
| Checked | Without skill | With skill |
|---|---|---|
| Assigns None as the authentication method | Passed | Passed |
| Specifies N/A for the environment variable | Missed | Passed |
The instructions your model reads when the skill loads.
Common authentication patterns for integrating with external services. Provides consistent approaches to credential management, verification, and error handling.
| Method | Best For | Environment Variable |
|---|---|---|
| API Key | Simple integrations | {SERVICE}_API_KEY |
| OAuth | User-authenticated | Browser-based flow |
| Token | Session-based | {SERVICE}_TOKEN |
| None | Public APIs | N/A |
from leyline.auth import verify_auth, AuthMethod
# API Key verification
status = verify_auth(
service="gemini", method=AuthMethod.API_KEY, env_var="GEMINI_API_KEY"
)
if not status.authenticated:
print(f"Auth failed: {status.message}")
test cases passed, vs 7 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.