CtrlK
BlogDocsLog inGet started
Tessl Logo

netlify-ai-gateway

Reference for Netlify AI Gateway — the managed proxy that routes calls to OpenAI, Anthropic, and Google Gemini SDKs without provider API keys. Use this skill any time the user wants to add AI on a Netlify site (chat, completion, reasoning, image generation, image-to-image edit/stylize), choose or change a model, wire up the OpenAI / Anthropic / @google/genai SDK, decide which provider to use for an image-gen feature (it's Gemini-only on the gateway), or debug "model not found" / "API key missing" against the gateway. Required reading before pinning a model — the gateway exposes a curated subset, not every provider model.

72

Quality

88%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

77%

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

Highly actionable reference with executable per-provider examples and clear error-recovery guidance, weakened mainly by repeated gotcha warnings and a monolithic structure with no progressive disclosure into bundle files. Strongest on actionability and workflow clarity; weakest on conciseness and progressive disclosure.

Suggestions

Dedupe the repeated warnings: state the credit-metering and first-deploy requirements once in their dedicated sections and have the opening callouts link there instead of restating them.

Move the Available Models list into a references/ file (e.g. references/models.md) and link to it from the body, so the curated model catalog is one level deep and the SKILL.md stays a lean overview.

Tighten the prose sections (Usage metering, No browser-callable gateway) to bullet points of the rule plus the one-line rationale, removing restated context.

DimensionReasoningScore

Conciseness

Content is domain-specific and free of generic concept explanations, but the credit-metering warning and the first-deploy requirement are each repeated across the opening callouts and later prose sections (e.g. line 12 vs the "Usage metering" section, line 10 vs "Local Development"), so it could be tightened. It is mostly efficient but not lean enough for a 3.

2 / 3

Actionability

Provides complete, executable TypeScript for OpenAI, Anthropic, @google/genai, a Netlify Function, text-to-image, and image-to-image, plus a concrete env-var table and curated model list — copy-paste ready with specific model identifiers.

3 / 3

Workflow Clarity

Setup is a clear numbered sequence (enable AI → deploy to production → install SDK) and the Errors & Troubleshooting section maps each error to its cause and fix (e.g. "OPENAI_API_KEY missing" → disabled or not yet deployed), giving explicit error-recovery feedback loops.

3 / 3

Progressive Disclosure

The body is a ~240-line monolith with well-organized sections but no bundle files to offload detail into; the large inline Available Models reference (lines 218–239) is content that could plausibly live in a separate file, so it is structured but not split for one-level-deep navigation.

2 / 3

Total

10

/

12

Passed

Description

100%

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, third-person description that names concrete capabilities, provides explicit use-when triggers with natural user phrasings, and is tightly scoped to the Netlify AI Gateway niche. No significant weaknesses to address.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — "routes calls to OpenAI, Anthropic, and Google Gemini SDKs", "add AI on a Netlify site (chat, completion, reasoning, image generation, image-to-image edit/stylize)", "wire up the OpenAI / Anthropic / @google/genai SDK", and "debug 'model not found' / 'API key missing'" — rather than vague language.

3 / 3

Completeness

Explicitly states what it does ("managed proxy that routes calls to … SDKs without provider API keys") and when to use it ("Use this skill any time the user wants to add AI on a Netlify site …"), satisfying both halves with an explicit trigger clause.

3 / 3

Trigger Term Quality

Covers natural user phrasings such as "add AI on a Netlify site", "chat", "image generation", and the raw error strings "model not found" / "API key missing" that a user would actually say, beyond just technical jargon.

3 / 3

Distinctiveness Conflict Risk

Occupies a clear niche — Netlify AI Gateway integration with provider-specific SDK wiring and gateway-only image-gen constraints — with distinct triggers unlikely to fire for unrelated skills.

3 / 3

Total

12

/

12

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
netlify/context-and-tools
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.