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.
npx skills add PracticalSwan/agent-skills --skill netlify-identitygit clone --depth 1 https://github.com/PracticalSwan/agent-skillsWrote 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.
[](https://agentmods.dev/skills/practicalswan/agent-skills/netlify-identity)<a href="https://agentmods.dev/skills/practicalswan/agent-skills/netlify-identity"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/netlify-identity/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.
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/netlify-identity"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/netlify-identity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00128 | $0.04327 |
| Opus 5.5 | $0.00051 | $0.01731 |
| Sonnet 5.5 | $0.00026 | $0.00865 |
| Haiku 4.5 | $0.00013 | $0.00433 |
Grade C, and why
netlify-identity 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 18d 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/identity/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.
> **Identity config is dashboard-only. There is no public API.** Never curl `api.netlify.com` to flip or read Identity settings, never read tokens from local Netlify config, and never probe undocumented endpoints. Enable This is a copy
89% identical to netlify-identity — 55 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 349 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Netlify Identity
Use @netlify/identity (npm). For new projects it replaces the legacy netlify-identity-widget and gotrue-js. Do not reach for those.
npm install @netlify/identity
Framework examples (Next.js/Astro/Remix/SvelteKit) and the full API reference are in the @netlify/identity README on npm.
Identity does not run under
netlify dev. Test all auth flows on a deploy. Deploy Previews work. Local dev will not complete signup/login/OAuth.
Identity config is dashboard-only. There is no public API. Never curl
api.netlify.comto flip or read Identity settings, never read tokens from local Netlify config, and never probe undocumented endpoints. Enable and configure Identity athttps://app.netlify.com/projects/{site_name}/identity.
Never build a from-scratch OAuth flow alongside Identity. No provider app registration in code, no
client_id/secretin source, and no custom callback token exchange. UseoauthLogin()+handleAuthCallback(). Raw OAuth beside Identity is the most common source of rework.
Client auth (browser)
import { signup, login, logout, getUser, oauthLogin, handleAuthCallback } from '@netlify/identity'
// Register — confirmation email sent by default (unless autoconfirm is on)
const user = await signup('[email protected]', 'securepassword', { full_name: 'Jane Doe' })
// Log in / out
await login('[email protected]', 'securepassword')
await logout()
// Current user or null
const current = await getUser()
if (current) console.log(`Logged in as ${current.email}`)
// External provider — redirects the browser; provider is one of
// 'google' | 'github' | 'gitlab' | 'bitbucket'
oauthLogin('github')
handleAuthCallback()is mandatory on your landing page. Without it, OAuth redirects, email-confirmation links, password-recovery links, and invite links never complete. Call it on page load.
Invites are NOT logged in by
handleAuthCallback(). For an invite it returnstype === 'invite'with the token inresult.tokenandresult.user === null. The account does not exist yet. You must collect a password and callacceptInvite(result.token, password). If you skip this step, invited users never get an account.
What ships with it
4 files 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.
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.
- 18d ago Changed · +30 lines 127346103c74
- 1mo ago Changed · -26 lines f64b1c35085a
- 2mo ago Changed 72b5b67f56e4
- 2mo ago Changed 2e0e350195d9
- 3mo ago First seen · 345 lines · 128 tokens per session scan C 949178e980d3
netlify-identity is a skill published in the GitHub repository PracticalSwan/agent-skills (25 stars, last pushed 18d ago), licensed MIT. It adds 128 tokens to every session and 4,327 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 2 findings (hidden instructions, makes network calls). It is 89% identical to netlify-identity, differing in 55 lines, and is treated as a copy.
netlify-identity compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| netlify-identityPracticalSwan/agent-skills | Skill | 25 | 18d ago | MIT | C | 128 | Codex |
| configuring-oauth2-authorization-flowxalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | A | 44 | Claude Code, Codex |
| zeroidhighflame-ai/zeroid | Skill | 216 | today | Apache-2.0 | A | 51 | Claude Code |
| configuring-oauth2-authorization-flow26zl/cybersec-toolkit | Skill | 116 | today | MIT | A | 84 | Claude Code |
| configuring-ldap-security-hardening26zl/cybersec-toolkit | Skill | 116 | today | MIT | A | 61 | Claude Code |
| keycloak-migration-doctorsky-cloak/skycloak-mcp | Skill | 5 | yesterday | Apache-2.0 | A | 72 | Claude Code, Codex |
| deepai-assistantDeep-Identity-Inc/agent-skills | Skill | 3 | 4mo ago | Apache-2.0 | A | 47 | Claude Code, Codex |