CtrlK
BlogDocsLog inGet started
Tessl Logo

openai-api-troubleshooting

Use when an OpenAI API request fails and Codex needs to classify the likely cause, explain the next step, and route to the right follow-up. Covers common runtime failures such as blocked outbound network access, invalid credentials, exhausted API quota or credits, rate limits, and model, project, or organization access issues; delegate key provisioning to openai-platform-api-key and current documentation lookups to openai-docs.

69

Quality

83%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

75%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a tight, well-structured routing guide with concrete error codes, an explicit escalation checkpoint, and a clearly signaled single reference file. Slight gains are available from tightening the duplicated transport-failure framing and adding an example request.

Suggestions

Consolidate the repeated 'before any OpenAI API response exists' phrasing in item 1 to reduce redundancy.

Add a minimal copy-paste example of one retried API request with sandbox_permissions=require_escalated to raise actionability.

Format the billing/limits URLs as markdown links for easier navigation.

DimensionReasoningScore

Conciseness

The body is lean and assumes competence, with no padding about what OpenAI or error codes mean; the only minor redundancy is item 1 restating the 'before any OpenAI API response exists' framing across several bullets.

4 / 5

Actionability

Concrete error codes (401, invalid_api_key, insufficient_quota, rate_limit_exceeded), a specific rerun directive (sandbox_permissions=require_escalated), and exact billing/limits URLs make guidance executable, with minor gaps (no example request).

4 / 5

Workflow Clarity

A numbered routing sequence with an explicit validation checkpoint (rerun the request with escalated access, then route from the concrete response) and a Rules section distinguishing edge cases like insufficient_quota vs ordinary 429; feedback loops are present but lightly structured.

4 / 5

Progressive Disclosure

Content is well-organized into Routing, Rules, and References, with a single one-level-deep reference (references/evals.md, verified to exist) that is clearly signaled and described.

4 / 5

Total

16

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, well-scoped description that states both what the skill does and when to use it, with concrete trigger language and clear delegation to sibling skills. Minor synonym coverage could be broadened for trigger terms.

Suggestions

Add common user-facing synonyms such as 'API key', 'credit card', and 'spend limit' to broaden trigger-term coverage.

Consider adding the 'model_not_found' / 'project or organization mismatch' trigger phrasing in the description to mirror the routing detail.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions ('classify the likely cause, explain the next step, and route to the right follow-up') and enumerates comprehensive failure classes (blocked network, invalid credentials, quota/credits, rate limits, model/project/org access).

5 / 5

Completeness

It explicitly answers both 'what' (classify, explain, route runtime failures) and 'when' ('Use when an OpenAI API request fails...') with concrete trigger phrases, and adds explicit delegation of key provisioning and docs lookups.

5 / 5

Trigger Term Quality

Natural phrases like 'OpenAI API request fails', 'blocked outbound network access', 'invalid credentials', and 'rate limits' map well to user language, but a few common synonyms (e.g., 'API key', 'credit card', 'spend limit') are absent.

4 / 5

Distinctiveness Conflict Risk

It carves a clear niche (runtime failures after a request is made) and explicitly delegates key provisioning to openai-platform-api-key and current docs to openai-docs, minimizing overlap risk.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
openai/plugins
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.