authentication-identity-expert

authentication-identity-expert is a skill for Cursor from roedyrustam/vibes-plug. It costs 49 tokens per session (4,471 once invoked), scanned A, original, MIT.

A guide to controlling who can sign in to an application and what each signed-in person can do. It covers common login providers, OAuth, passkeys, multi-factor authentication, and role- or attribute-based permissions.

In plain words
What is it for?
Use it when building signup and login flows, OAuth integrations, role or attribute permissions, passkeys, two-factor authentication, single sign-on, or route guards.
Why use it?
It helps avoid mistakes in login, session handling, access rules, and single sign-on. It also explains how to protect application routes and connect authentication services.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the vibes-plug plugin — 179 skills, 9 agents, 2 MCP servers shipped together

Good fit Use it when building signup and login flows, OAuth integrations, role or attribute permissions, passkeys, two-factor authentication, single sign-on, or route guards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/authentication-identity-expert
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 roedyrustam/vibes-plug --skill authentication-identity-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 179 skills, 9 agents, 2 MCP servers.

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 authentication-identity-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/authentication-identity-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/authentication-identity-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/authentication-identity-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/authentication-identity-expert/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 authentication-identity-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/authentication-identity-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/authentication-identity-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 52
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 219
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 251
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 269
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00049 $0.04471
Opus 5.5 $0.00020 $0.01788
Sonnet 5.5 $0.00010 $0.00894
Haiku 4.5 $0.00005 $0.00447

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

Security

Grade A, and why

authentication-identity-expert scanned grade A with 0 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/authentication-identity-expert/SKILL.md · 328 lines

How it starts

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

Authentication & Identity Expert (2026 Edition)

English | Bahasa Indonesia


English

Orchestration & Integration

  • Upstream Orchestrators: Works under brainstorming and zero-to-prod-orchestrator (Phase 2 - Foundation, Auth & Identity Architecture) to implement secure user authentication.
  • Downstream Cooperating Skills:
    • compliance-gdpr-privacy-expert — Mandatory account deletion flow, crypto-shredding, and UU PDP / GDPR right to erasure.
    • saas-architect — B2B multi-tenant auth workflows, organization switching, and onboarding.
    • saas-multi-tenant — RBAC permission matrices, custom session claims, and workspace member access.
    • supabase-security-expert — Supabase SSR auth, PKCE token cookies, and RLS policies.
    • firebase-security-expert — Firebase Auth, custom token minting, and security rules.
    • js-backend-expert — Authorization middleware, JWT token verification, and session stores.
    • production-ready-hardener — Pre-release auth security audits, rate-limiting, and CSP headers.
    • session-memory-manager — Store authentication topology decisions and credential schemas.

Description

Production-grade guide for implementing secure authentication, authorization, and identity management in modern web and mobile applications. Covers Clerk, Supabase Auth, Auth.js v5, Better Auth, JWT patterns, OAuth 2.1, PKCE flows, RBAC/ABAC, passkeys (WebAuthn), and MFA implementations for React 19 / Next.js 16 stacks.

Trigger Conditions

  • Working on login/signup flows, session management, or OAuth integrations.
  • Integrating Clerk, Supabase Auth, Auth.js v5, Better Auth, or Auth0.
  • Implementing RBAC (Role-Based Access Control) or ABAC.
  • Setting up WebAuthn/Passkeys, MFA/2FA, or SSO.
  • Securing Next.js App Router routes with middleware-based auth guards.
  • Implementing mandatory self-service account deletion and user data deletion lifecycle.

Read the full file on GitHub · 328 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. 10d ago Changed 264d6ef35415
  2. 11d ago Changed · +10 lines 3c1f69347c3f
  3. 16d ago Changed 2c7f4a21b19d
  4. 25d ago Changed · +26 lines · -2 tokens per session 853bf9efd068
  5. 1mo ago Changed · +11 lines 94798ed2d80e
  6. 1mo ago Changed · +1 lines a3a5a90baf28
  7. 1mo ago Changed · +106 lines 03fbe500dd05
  8. 1mo ago Changed d8f1f7b141d2
  9. 1mo ago Changed cad12a0b8193
  10. 1mo ago First seen · 174 lines · 51 tokens per session scan A 993b2238c995

Subscribe to this mod's changes

authentication-identity-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (130 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 4,471 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

authentication-identity-expert compared with skills from other repositories

authentication-identity-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
authentication-identity-expertroedyrustam/vibes-plugSkill1304d agoMITA49Cursor
nodejs-backend-patternschidekina/aria-superpowersSkill21mo agononeA58Claude Code, Codex
api-design-principleschidekina/aria-superpowersSkill21mo agononeA44Claude Code, Codex
system-and-data-designAnastasiyaW/codex-claude-code-configSkill2183d agoMITA217Claude Code
langgraph-patternsfrankxai/claude-skills-librarySkill51todayMITA53Claude Code
implementdevcxl/mattpocock-skills-zhSkill568todayMITA14Claude Code, Codex
evolutionary-modular-architecturetech-leads-club/agent-skillsSkill7.2k3d agononeA208Claude Code, Codex