netlify-skills-router

netlify-skills-router is a cursor rule for Cursor from netlify/context-and-tools. It costs 1,587 tokens per session, scanned A, original, MIT.

A routing guide for Netlify platform skills. Netlify is a service for hosting and running web projects.

In plain words
What is it for?
It directs work involving server functions, edge functions, file storage, databases, image delivery, forms, and deployment.
Why use it?
It helps choose the relevant instructions instead of searching through separate guides for Netlify features.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions Codex.

Good fit It directs work involving server functions, edge functions, file storage, databases, image delivery, forms, and deployment.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/netlify/context-and-tools/netlify-skills-router
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/netlify/context-and-tools

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for netlify-skills-router

README.md
[![agentmods](https://agentmods.dev/badge/rules/netlify/context-and-tools/netlify-skills-router/github.svg)](https://agentmods.dev/rules/netlify/context-and-tools/netlify-skills-router)
Your own site
<a href="https://agentmods.dev/rules/netlify/context-and-tools/netlify-skills-router"><img src="https://agentmods.dev/badge/rules/netlify/context-and-tools/netlify-skills-router/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for netlify-skills-router

Your own site · 80×15
<a href="https://agentmods.dev/rules/netlify/context-and-tools/netlify-skills-router"><img src="https://agentmods.dev/badge/rules/netlify/context-and-tools/netlify-skills-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,587 This file is loaded in full into every session.
When invoked 1,587 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01587 $0.01587
Opus 5.5 $0.00635 $0.00635
Sonnet 5.5 $0.00317 $0.00317
Haiku 4.5 $0.00159 $0.00159

Measured 1mo ago against content hash 6c3b30694bed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

netlify-skills-router scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Do not call `https://api.netlify.com/...` directly** via `curl` or `fetch`. Endpoint shapes are not part of the public contract.
cursor/rules/netlify-skills-router.mdc · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Netlify Skills

This project deploys on Netlify. Use these skills for guidance on Netlify platform primitives. Each skill provides specific, factual reference for working with a Netlify feature.

When to Use Each Skill

Building API endpoints or server-side logic? Read netlify-functions/SKILL.md for modern function syntax, routing, background/scheduled functions.

Need low-latency middleware, geo-based logic, or request manipulation? Read netlify-edge-functions/SKILL.md for edge compute patterns.

Storing files, images, or other assets? Read netlify-blobs/SKILL.md for object storage API. Blobs is for file/asset storage only — not for dynamic data.

Need to store any dynamic, structured, or relational data? Read netlify-database/SKILL.md for Netlify Database — the GA managed Postgres product with Drizzle ORM, migrations, and preview branching.

Optimizing or transforming images? Read netlify-image-cdn/SKILL.md for the image transformation endpoint and clean URL patterns. For user-uploaded images, see netlify-image-cdn/references/user-uploads.md.

Adding HTML forms? Read netlify-forms/SKILL.md for form detection, AJAX submissions, spam filtering, and file uploads.

Configuring netlify.toml (redirects, headers, build settings) or managing environment variables? Read netlify-config/SKILL.md for the complete configuration reference, including CLI environment variable management (env:set, env:get, env:list, context scoping).

Setting up a framework (Vite, Astro, TanStack, Next.js), or running a framework project locally with Netlify features (netlify dev, the Netlify Vite plugin)? Read netlify-frameworks/SKILL.md for adapter/plugin setup and general local development options. Framework-specific details are in netlify-frameworks/references/.

Controlling CDN caching behavior? Read netlify-caching/SKILL.md for cache headers, stale-while-revalidate, cache tags, and purge.

Adding AI capabilities, choosing an AI model, or generating images with AI? Read netlify-ai-gateway/SKILL.md for AI Gateway setup, supported models, provider SDKs, and image generation (text-to-image and image-to-image via Gemini).

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 85 lines · 1,587 tokens per session scan A 6c3b30694bed

Subscribe to this mod's changes

netlify-skills-router is a cursor rule published in the GitHub repository netlify/context-and-tools (41 stars, last pushed today), licensed MIT. It adds 1,587 tokens to every session, about $0.0063 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.