netlify-access-control

netlify-access-control is a skill for Claude Code from netlify/context-and-tools. It costs 169 tokens per session (3,194 once invoked), scanned C, original, MIT.

A guide for choosing the right Netlify protection setting for a deployed website. Netlify is a hosting platform, and its password protection, project visibility, team SSO, and app login features control different kinds of access.

In plain words
What is it for?
It helps choose settings for password-protecting sites or previews, limiting team access, making projects public or private, and requiring SSO for site viewing.
Why use it?
It prevents developers from confusing website protection, access to a Netlify project, team dashboard sign-in, and login for the site's own users. It also explains when settings must be changed in the Netlify dashboard.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the netlify-skills plugin — 16 skills, 1 MCP server shipped together

Good fit It helps choose settings for password-protecting sites or previews, limiting team access, making projects public or private, and requiring SSO for site viewing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/netlify/context-and-tools/netlify-access-control
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.

Any agent
npx skills add netlify/context-and-tools --skill netlify-access-control
Clone the repo
git clone --depth 1 https://github.com/netlify/context-and-tools

Made for: Claude Code.

Or install netlify-skills, the plugin that ships this one along with the rest of its 16 skills, 1 MCP server.

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-access-control

README.md
[![agentmods](https://agentmods.dev/badge/skills/netlify/context-and-tools/netlify-access-control/github.svg)](https://agentmods.dev/skills/netlify/context-and-tools/netlify-access-control)
Your own site
<a href="https://agentmods.dev/skills/netlify/context-and-tools/netlify-access-control"><img src="https://agentmods.dev/badge/skills/netlify/context-and-tools/netlify-access-control/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-access-control

Your own site · 80×15
<a href="https://agentmods.dev/skills/netlify/context-and-tools/netlify-access-control"><img src="https://agentmods.dev/badge/skills/netlify/context-and-tools/netlify-access-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,194 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 22 Oct 2026
  • Snyk pass 22 Oct 2026
How audits are shown
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.00169 $0.03194
Opus 5.5 $0.00068 $0.01278
Sonnet 5.5 $0.00034 $0.00639
Haiku 4.5 $0.00017 $0.00319

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

Security

Grade C, and why

netlify-access-control scanned grade C with 2 findings 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- system: agent-context/access-control/system.md — human-owned, merged by ctx-gen; edit system.md, not this section -->

Makes network callslowCapability

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

This skill routes you to the correct protection layer. It does not teach each one. **These settings have no public API, CLI command, or MCP tool.** Never curl `api.netlify.com` or read local auth tokens to inspect or cha
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agent-plugin/skills/netlify-access-control/SKILL.md · 155 lines

How it starts

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

Netlify access control — pick the protection layer

This skill routes you to the correct protection layer. It does not teach each one. These settings have no public API, CLI command, or MCP tool. Never curl api.netlify.com or read local auth tokens to inspect or change them — give the user the dashboard path and checklist. On failure, report what you tried and stop.

First: disambiguate "auth" — three unrelated layers

Users constantly conflate these. Identify which one is meant before recommending anything.

  1. Netlify Identity — "who is this user inside my app." Issues nf_jwt. → route to the netlify-identity skill; not covered here.
  2. Password Protection / project visibility — "can this request load the site at all." Covered here.
  3. Team/Org SAML SSO — "can you log in to the Netlify dashboard." Gates dashboard access; also underlies team-login site protection.

Sessions are separate. The same provider (e.g. Google) can appear twice unrelated — Identity OAuth for app users vs. SAML IdP for team members.

Double-login footgun: a Password-Protection/team-login perimeter session and an Identity app session have no bridge — no shared cookie, no header forwarding, no JWT exchange. Don't try to wire them together. For the combined layered pattern and its tradeoffs, see references/two-layer-pattern.md. The Netlify login itself does reach app code: on a private project or with team login protection, functions and edge functions receive the signed-in Netlify user as context.user — if every app user can pass that login, it is the app's identity and no second login is needed.

Want an internal app with a single sign-in (no double login)? First ask who uses it:

  • They can pass the project's Netlify login → Private project (Credit-based plans; Pro for anyone beyond the Team Owner) or team login protection (Enterprise), and use context.user in functions for per-person behavior.
  • They can't (e.g. employees without Netlify seats) → Auth0 extension federating to the corporate IdP, before the two-layer stack.

Read the full file on GitHub · 155 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +18 lines · +14 tokens per session a8b24f07cb23
  2. 2mo ago Changed · +18 lines 10f4c0304493
  3. 2mo ago Changed · -47 lines · +13 tokens per session 980d2999f371
  4. 3mo ago First seen · 166 lines · 142 tokens per session scan C f2511dd74b66

Subscribe to this mod's changes

netlify-access-control is a skill published in the GitHub repository netlify/context-and-tools (58 stars, last pushed yesterday), licensed MIT. It adds 169 tokens to every session and 3,194 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it C with 2 findings (hidden instructions, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

netlify-access-control compared with skills from other repositories

netlify-access-control next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
netlify-access-controlnetlify/context-and-toolsSkill58yesterdayMITC169Claude Code
gke-compute-classesgoogle/skillsSkill26ktodayApache-2.0A100Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill26ktodayApache-2.0A118Claude Code, Codex
gke-reliabilitygoogle/skillsSkill26ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill26ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code