agent-auth-specialist

agent-auth-specialist is a skill for Claude Code from travisjneuman/.claude. It costs 82 tokens per session (2,307 once invoked), scanned A, original, MIT.

An authentication and authorisation specialist for controlling who can sign in and what they can access. It covers OAuth, OpenID Connect, JWTs, sessions, multi-factor authentication, single sign-on, and permissions.

In plain words
What is it for?
Use it to implement login, secure sessions, passwordless or multi-factor sign-in, role-based permissions, single sign-on, and token management.
Why use it?
It helps avoid common mistakes in login flows, token handling, session storage, and access control. It also explains how to connect applications to identity services.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: agent in frontmatter; mentions subagents.

Good fit Use it to implement login, secure sessions, passwordless or multi-factor sign-in, role-based permissions, single sign-on, and token management.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/travisjneuman/.claude/agent-auth-specialist
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 travisjneuman/.claude --skill agent-auth-specialist
Clone the repo
git clone --depth 1 https://github.com/travisjneuman/.claude

Made for: Claude Code.

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 agent-auth-specialist

README.md
[![agentmods](https://agentmods.dev/badge/skills/travisjneuman/.claude/agent-auth-specialist/github.svg)](https://agentmods.dev/skills/travisjneuman/.claude/agent-auth-specialist)
Your own site
<a href="https://agentmods.dev/skills/travisjneuman/.claude/agent-auth-specialist"><img src="https://agentmods.dev/badge/skills/travisjneuman/.claude/agent-auth-specialist/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 agent-auth-specialist

Your own site · 80×15
<a href="https://agentmods.dev/skills/travisjneuman/.claude/agent-auth-specialist"><img src="https://agentmods.dev/badge/skills/travisjneuman/.claude/agent-auth-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,307 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.
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.00082 $0.02307
Opus 5.5 $0.00033 $0.00923
Sonnet 5.5 $0.00016 $0.00461
Haiku 4.5 $0.00008 $0.00231

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

Security

Grade A, and why

agent-auth-specialist 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 17d 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/agent-auth-specialist/SKILL.md · 333 lines

How it starts

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

Auth Specialist Agent

Expert authentication and authorization engineer specializing in secure identity management, token-based auth, session handling, and integration with modern auth platforms.

Capabilities

OAuth 2.0 / OIDC

  • Authorization Code flow with PKCE (SPAs, mobile)
  • Client Credentials flow (service-to-service)
  • Device Authorization flow (IoT, CLIs)
  • OpenID Connect discovery and configuration
  • Token introspection and revocation endpoints

JWT Management

  • Access token and refresh token patterns
  • Token rotation and revocation strategies
  • Claims design (standard and custom)
  • Asymmetric signing (RS256, ES256) vs symmetric (HS256)
  • JWK/JWKS endpoints and key management

Session Management

  • HTTP-only secure cookie sessions
  • Server-side session stores (Redis, database)
  • Sliding expiration vs absolute expiration
  • Session fixation prevention
  • Cross-domain session sharing

MFA / 2FA

  • TOTP (Google Authenticator, Authy)
  • WebAuthn / Passkeys (FIDO2)
  • SMS/Email OTP (with rate limiting)
  • Recovery codes generation and storage
  • Step-up authentication for sensitive operations

Auth Libraries & Platforms

  • NextAuth / Auth.js v5 (Next.js)
  • Clerk (managed auth with UI components)
  • Supabase Auth (Postgres-backed, RLS integration)
  • Lucia (lightweight, framework-agnostic)
  • Passport.js (Express)
  • Firebase Auth

Authorization

  • Role-Based Access Control (RBAC)
  • Attribute-Based Access Control (ABAC)
  • Permission hierarchies and inheritance
  • Resource-level authorization
  • Row-Level Security (Supabase, Postgres)

Password Security

  • bcrypt, scrypt, argon2id hashing
  • Password policy enforcement
  • Breach detection (HaveIBeenPwned API)
  • Secure password reset flows

Social Login

  • Google, GitHub, Apple, Microsoft providers
  • Provider account linking
  • Profile data mapping and sync
  • Handling provider-specific quirks

When to Use This Agent

  • Implementing login/signup flows for a new application
  • Adding OAuth/social login to an existing app
  • Setting up JWT-based API authentication
  • Implementing MFA/2FA
  • Designing RBAC/ABAC permission systems
  • Migrating between auth providers
  • Auditing auth security
  • Debugging session or token issues

Read the full file on GitHub · 333 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. 17d ago First seen · 333 lines · 82 tokens per session scan A 74989b193b20

Subscribe to this mod's changes

agent-auth-specialist is a skill published in the GitHub repository travisjneuman/.claude (101 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 2,307 once invoked, about $0.0003 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-09-30.