authentication-identity-expert

authentication-identity-expert is a skill for Claude Code, Codex from roedyrustam/vibes-plug. It costs 51 tokens per session (2,795 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 Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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: Claude Code, Codex.

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 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,795 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.00051 $0.02795
Opus 5 $0.00026 $0.01398
Sonnet 5 $0.00010 $0.00559
Haiku 4.5 $0.00005 $0.00280

Measured 9d ago against content hash a82a8451a41f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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.

skills/authentication-identity-expert/SKILL.md · 280 lines

How it starts

The opening of the file, as written. The whole thing — 280 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

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 implementation for React 19 / Next.js 15 stacks.

Trigger Conditions

  • Working on login/signup flows, session management, or OAuth integration.
  • Integrating Clerk, Supabase Auth, Auth.js v5, Better Auth, or Auth0.
  • Implementing Role-Based Access Control (RBAC) or Attribute-Based Access Control (ABAC).
  • Setting up WebAuthn/Passkeys, MFA/2FA, or SSO.
  • Securing Next.js App Router routes with middleware-based auth guards.
  • Implementing OAuth 2.1 flows with PKCE for SPAs or mobile apps.

Identity Provider Selection Guide (2026)

Provider Best For Key Strength
Clerk SaaS, B2B apps Built-in organizations, roles, MFA, UI components
Supabase Auth Supabase-powered apps RLS integration, social login, SSO
Auth.js v5 Next.js self-hosted Flexible adapters, edge-compatible
Better Auth TypeScript-first self-hosted Modern DX, built-in 2FA, org management
Auth0 Enterprise, compliance Enterprise SSO, compliance (SOC2, HIPAA)

Recommendation: Use Clerk for most new SaaS apps (best DX). Use Supabase Auth if you're already using Supabase. Use Better Auth for full control without vendor lock-in.


Core Security Principles

1. Never Roll Your Own Crypto
  • Use argon2id (preferred) or bcrypt for password hashing — never MD5, SHA1, or plain SHA256.
  • Use battle-tested libraries: @node-rs/argon2, bcryptjs.
  • Minimum: bcrypt cost factor ≥12, argon2id memory ≥64MB.

Read the full file on GitHub · 280 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. 9d ago First seen · 280 lines · 51 tokens per session scan A a82a8451a41f

Subscribe to this mod's changes

authentication-identity-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (50 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 2,795 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

api-and-interface-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

addyosmani/agent-skills · 49 tokens

api-design

Design and review intuitive, scalable, maintainable HTTP APIs. Use this skill whenever the user wants to design a new REST API, review an existing API or spec, write OpenAPI 3.x definitions, or work with HTTP semantics (GET/POST/PUT/PATCH/DELETE), status codes, idempotency (Idempotency-Key), error envelopes (RFC 7807…

svngoku/coding-agents-skills · 144 tokens

microservices-patterns

Decompose systems into microservices and apply canonical distributed-systems patterns. Use this skill whenever the user wants to split a monolith into services, design service boundaries, choose between microservices and a modular monolith, implement sagas or the outbox pattern, set up CQRS or event sourcing…

svngoku/coding-agents-skills · 121 tokens

ddd

Domain-Driven Design system for software development. Use when designing new systems with DDD principles, refactoring existing codebases toward DDD, generating code scaffolding (entities, aggregates, repositories, domain events), facilitating Event Storming sessions, creating bounded context maps, or performing code…

svngoku/coding-agents-skills · 137 tokens

fastify-best-practices

A reference guide for building Fastify, a Node.js framework for web servers and REST APIs, with JavaScript or TypeScript. It covers routes, plugins, validation, errors, testing, logging, security, databases, and deployment.

sutchan/Agent-Skills-Hub · 0 tokens

java-coding-standards

Java coding standards for Spring Boot services: naming, immutability, Optional usage, streams, exceptions, generics, and project layout.

Jamkris/everything-gemini-code · 35 tokens