twilio-security-api-auth
Skill by openai
Helps an AI assistant choose and implement the right Twilio authentication method. It covers API Keys for production, OAuth2 client credentials, Access Tokens for client-side SDKs, Auth Tokens for testing, and test credentials.
Install twilio-security-api-auth
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/twilio-developer-kit/skills/twilio-security-api-auth ~/.claude/skills/twilio-security-api-authRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install twilio-security-api-auth in Claude Code
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/plugins/plugins/twilio-developer-kit/skills/twilio-security-api-auth ~/.gemini/antigravity-cli/skills/twilio-security-api-authAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install twilio-security-api-auth in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps an AI assistant choose and implement the right Twilio authentication method. It covers Auth Tokens for local testing, API Keys as the production standard, OAuth2 client_credentials bearer tokens that expire after one hour, Access Tokens for client-side SDKs, and test credentials. The source includes a decision framework, Python and Node.js examples, and a list of restrictions for each method.
It is aimed at developers who call Twilio APIs and need to pick a credential type before going to production. The skill says to use it before making any production Twilio API calls. It also lists known pitfalls, such as Auth Token rotation breaking all API keys and API Key secrets being shown only once at creation.
Written from the project's SKILL.md and checked against it.
What it can do
- Choose an auth methodPicks between Auth Token, API Key, OAuth2, Access Token and test credentials using a decision framework.
- Implement API Key authShows how to create a Twilio client with an API key, secret and Account SID in Python or Node.js.
- Request OAuth2 bearer tokensExplains how to get a client_credentials bearer token from the Twilio OAuth endpoint.
- Generate Access TokensShows how to create a short-lived JWT for Voice, Video, Chat or Sync clients in Python.
- Use test credentialsDescribes making API calls without charges and lists the magic numbers for testing.
What you need
- A Twilio account
- Access to the Twilio Console
- Twilio API Key and Secret
- Python or Node.js if using the example code
Try asking
- Which Twilio auth method should I use for my production server?
- Show me how to create a Twilio client with an API key in Python.
- Generate a Twilio Access Token for a browser Voice client.
Good to know
- Auth Tokens should only be used for local testing.
- OAuth2 supports only the client_credentials grant and tokens expire after 1 hour.
- Access Tokens cannot be revoked individually.
- Test credentials work with only four endpoints.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/twilio-developer-kit/skills/twilio-security-api-auth/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
agents/openai.yaml229 B
Alternatives to twilio-security-api-auth
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
twilio-security-api-auth: common questions
Which Twilio authentication method should be used in production?
The source names API Key and Secret as the production standard for server-side code. OAuth2 client_credentials is an option for time-limited tokens.
How long do Twilio OAuth2 bearer tokens last?
The source says they expire after 1 hour, shown as expires_in 3600. The source also says OAuth2 has no refresh tokens, so the application must handle renewal.
Can a single Twilio Access Token be revoked?
No. The source says individual Access Tokens cannot be revoked and stay valid until they expire, up to 24 hours. Deleting the issuing API key revokes all of them.
How do I install twilio-security-api-auth?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is twilio-security-api-auth free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is twilio-security-api-auth safe to use?
It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to twilio-security-api-auth?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
