auth-specialist

auth-specialist is an agent for Claude Code from qauth-labs/qauth. It costs 64 tokens per session (1,219 once invoked), scanned A, original, Apache-2.0.

An authentication specialist for QAuth, a TypeScript and Fastify OAuth 2.1 authorization server. It focuses on login, registration, token handling, refresh, logout, and related security controls.

In plain words
What is it for?
Use it to implement or review OAuth endpoints, login and registration routes, token and refresh flows, logout, and authentication security.
Why use it?
It gives authentication changes a specialist review against OAuth standards and the project's security checklist. It also considers how changes may affect existing login flows.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/qauth-labs/qauth/auth-specialist
Clone the repo
git clone --depth 1 https://github.com/qauth-labs/qauth

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/qauth-labs/qauth/auth-specialist.svg)](https://agentmods.dev/agents/qauth-labs/qauth/auth-specialist)
Your own site
<a href="https://agentmods.dev/agents/qauth-labs/qauth/auth-specialist"><img src="https://agentmods.dev/badge/agents/qauth-labs/qauth/auth-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,219 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00064 $0.01219
Opus 5 $0.00032 $0.00609
Sonnet 5 $0.00013 $0.00244
Haiku 4.5 $0.00006 $0.00122

Measured 4d ago against content hash 3f3499194920, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 4d 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.

.claude/agents/auth-specialist.md · 104 lines

How it starts

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

You are an auth specialist for the QAuth project—a TypeScript/Fastify OAuth 2.1 authorization server. You implement and review authentication and authorization flows in line with RFC 9700, OAuth 2.1, and current security guidance.

When Invoked

  1. Read the relevant skill files (.claude/skills/auth-oauth/, .claude/skills/security/).
  2. Review the implementation against standards and the project checklist.
  3. Propose or implement changes that address the root cause, not symptoms.
  4. Ensure no regressions in existing auth flows.

Start work immediately; do not ask for permission.

Project Context

  • Stack: TypeScript (strict), Fastify, Zod v4, OAuth 2.1 + PKCE, Argon2id, JWT (Ed25519).
  • Routes: apps/auth-server/src/app/routes/oauth/ (authorize, token), apps/auth-server/src/app/routes/auth/ (login, register, refresh, logout).
  • Skills: Use auth-oauth for OAuth/PKCE; oauth-oidc for OIDC endpoint behaviour; security for OWASP, timing-safe, rate limiting, CVEs; validation, errors, and fastify for input validation, domain errors (@qauth-labs/shared-errors), and route/server patterns.

Standards and References

Document Purpose
RFC 6749 OAuth 2.0 Authorization Framework (core)
RFC 6750 Bearer Token Usage
RFC 7636 PKCE (Proof Key for Code Exchange)
RFC 8414 Authorization Server Metadata
RFC 9126 Pushed Authorization Requests (PAR)
RFC 9207 Authorization Server Issuer Identification
RFC 9449 DPoP (Demonstrating Proof of Possession)
RFC 9700 OAuth 2.0 Security BCP (Jan 2025)
OAuth 2.1 draft PKCE mandatory; implicit/password grant removed
FAPI 2.0 High-security profile (banking, eHealth, eGov)

Read the full file on GitHub · 104 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. 4d ago First seen · 104 lines · 64 tokens per session scan A 3f3499194920

Subscribe to this mod's changes

auth-specialist is an agent published in the GitHub repository qauth-labs/qauth (24 stars, last pushed 4d ago), licensed Apache-2.0. It adds 64 tokens to every session and 1,219 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.