CtrlK
BlogDocsLog inGet started
Tessl Logo

ai-gateway

Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.

75

1.58x
Quality

66%

Does it follow best practices?

Impact

100%

1.58x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./skills/ai-gateway/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

42%

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

The skill is highly actionable with excellent, executable code examples covering the full breadth of AI Gateway features. However, it is far too verbose — it reads as a complete documentation page rather than a concise skill file, explaining concepts Claude already understands and including redundant summary sections. The lack of any bundle files means all content is crammed into one monolithic document with no progressive disclosure.

Suggestions

Split detailed sections (Cache-Control, Audit Logging, Budget Alerts, Claude Code Compatibility, Error Handling patterns) into separate bundle files and replace them with 1-2 line summaries linking to those files.

Remove sections that explain concepts Claude already knows: 'Key Benefits' list, 'Supported Providers' enumeration, 'What's logged' bullet list, and the 'When to Use AI Gateway' summary table (which duplicates the decision tree).

Cut explanatory prose like 'AI Gateway provides a single API endpoint to access 100+ models...' and 'AI Gateway logs every request for compliance and debugging' — lead directly with the actionable content.

Add a validation checkpoint after OIDC setup (e.g., 'Verify auth works: run `npx ts-node -e "import {gateway} from 'ai'; console.log(await gateway.getAvailableModels())"`).

DimensionReasoningScore

Conciseness

The skill is extremely verbose at ~400+ lines. It explains concepts Claude already knows (what OIDC is, what caching strategies are, what audit logging captures), includes lengthy tables and decision trees that pad the content, and repeats information across sections (e.g., the 'When to Use' table at the end largely duplicates the decision tree). Many sections like 'Key Benefits' and 'Supported Providers' list are unnecessary filler.

1 / 3

Actionability

The skill provides fully executable, copy-paste-ready TypeScript code examples throughout — setup, routing, caching, rate limiting, error handling, streaming, image generation, and Claude Code configuration. Commands like `vercel env pull` and `curl` examples are concrete and specific.

3 / 3

Workflow Clarity

Individual sections are well-structured with clear steps (e.g., OIDC setup has a 4-step flow, error handling has a complete template with switch cases). However, there's no overarching workflow tying sections together, and the authentication setup lacks explicit validation checkpoints (e.g., 'verify your token works by calling X'). The budget/rate-limiting sections describe dashboard configuration without verification steps.

2 / 3

Progressive Disclosure

This is a monolithic wall of text with no bundle files to offload detailed content. Sections like Cache-Control, Audit Logging, Budget Alerts, Claude Code Compatibility, and Error Handling could each be separate reference files linked from a concise overview. The skill tries to be a comprehensive reference document rather than a navigable overview with pointers to details.

1 / 3

Total

7

/

12

Passed

Description

89%

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

This is a solid description that clearly identifies its niche (Vercel AI Gateway) and provides explicit trigger conditions via a 'Use when' clause. Its main weakness is that the capabilities are described at a topic level rather than as concrete actions, which slightly reduces specificity. The trigger terms are well-chosen and the description is clearly distinguishable from other skills.

Suggestions

Replace 'expert guidance' with specific concrete actions like 'Configure model routing rules, set up provider failover chains, track API costs, and manage multi-provider configurations through Vercel AI Gateway.'

DimensionReasoningScore

Specificity

Names the domain (Vercel AI Gateway) and lists several actions/areas (model routing, provider failover, cost tracking, managing multiple AI providers), but these are more like topic areas than concrete actions. It doesn't list specific operations like 'configure fallback chains', 'set up rate limits', or 'define routing rules'.

2 / 3

Completeness

Clearly answers both what ('Vercel AI Gateway expert guidance') and when ('Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API'). The explicit 'Use when' clause with specific trigger scenarios is present.

3 / 3

Trigger Term Quality

Includes strong natural keywords users would say: 'model routing', 'provider failover', 'cost tracking', 'multiple AI providers', 'unified API', and 'Vercel AI Gateway'. These cover the main terms a user working with this technology would naturally use.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive due to the specific product name 'Vercel AI Gateway' and the combination of provider failover, model routing, and unified API management. Unlikely to conflict with generic AI or Vercel deployment skills.

3 / 3

Total

11

/

12

Passed

Validation

63%

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

Validation7 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (666 lines); consider splitting into references/ and linking

Warning

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

7

/

11

Passed

Repository
vercel/vercel-plugin
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.