qauth: Skill for Claude Code

.claude/skills/oauth-oidc/SKILL.md

oauth-oidc is a skill for Claude Code from qauth-labs/qauth. It costs 67 tokens per session (1,689 once invoked), scanned A, original, Apache-2.0.

A set of rules for implementing OAuth 2.1 and OpenID Connect, standards for letting applications sign users in and obtain identity or access tokens. It covers authorization flows, PKCE, token endpoints, discovery, and token security.

In plain words
What is it for?
Use it when building or reviewing authorization, registration, login, verification, token, introspection, user-information, or JWKS endpoints.
Why use it?
It helps authentication endpoints follow established standards and avoid common mistakes in login and token handling.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

This is qauth-labs/qauth's own configuration. It tells Claude Code how to work on qauth itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything qauth configures →

Reuse

Borrowing it

Nothing to install: this file belongs to qauth-labs/qauth. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/qauth-labs/qauth/main/.claude/skills/oauth-oidc/SKILL.md
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 oauth-oidc

README.md
[![agentmods](https://agentmods.dev/badge/skills/qauth-labs/qauth/oauth-oidc/github.svg)](https://agentmods.dev/skills/qauth-labs/qauth/oauth-oidc)
Your own site
<a href="https://agentmods.dev/skills/qauth-labs/qauth/oauth-oidc"><img src="https://agentmods.dev/badge/skills/qauth-labs/qauth/oauth-oidc/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 oauth-oidc

Your own site · 80×15
<a href="https://agentmods.dev/skills/qauth-labs/qauth/oauth-oidc"><img src="https://agentmods.dev/badge/skills/qauth-labs/qauth/oauth-oidc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,689 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: 7 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 84
    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.
  • medium Prompt Injection · line 20
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 25
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 26
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 28
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 30
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 31
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00067 $0.01689
Opus 5.5 $0.00027 $0.00676
Sonnet 5.5 $0.00013 $0.00338
Haiku 4.5 $0.00007 $0.00169

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

Security

Grade A, and why

oauth-oidc 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 6d 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/skills/oauth-oidc/SKILL.md · 125 lines

How it starts

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

OAuth 2.1 / OIDC Rules

You are working in the QAuth OAuth/OIDC implementation.

Spec References

  • OAuth 2.1 (draft-ietf-oauth-v2-1) — PKCE mandatory for all authorization code flows
  • OIDC Core 1.0 — sub is stable UUID, email is optional and omitted when unverified
  • RFC 7662 — Token introspection (compliance feature, client auth required)
  • RFC 7517 — JSON Web Key (JWKS)
  • RFC 9700 — OAuth 2.0 Security Best Current Practice

Endpoints

Endpoint Description
POST /auth/register Registration — creates user, credential, attribute, verification token; same 202 for an already registered address
POST /auth/login Password login — looks up user_credentials by (realm_id, 'password', external_sub) where external_sub is the normalised email
GET /auth/verify Email verification — marks credential_data.email_verified=true and user_attributes.verified=true
POST /auth/resend-verification Resend verification email
GET /oauth/authorize Authorization Code Flow initiation
POST /oauth/token Token endpoint (authorization_code, refresh_token grants)
POST /oauth/introspect RFC 7662 introspection (client auth required)
GET /oauth/userinfo OIDC userinfo — reads sub from JWT, returns verified email from user_attributes; the token's aud must contain its client_id or the userinfo URL
GET /.well-known/jwks.json JWKS endpoint
GET /.well-known/openid-configuration OIDC discovery

Read the full file on GitHub · 125 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. 6d ago Changed · +9 lines d12420405b5a
  2. 7d ago Changed · +3 lines 71d607af6c6c
  3. 1mo ago Changed · +19 lines 0325afd2bd16
  4. 1mo ago First seen · 94 lines · 67 tokens per session scan A 930d1d38cb34

Subscribe to this mod's changes

oauth-oidc is a skill published in the GitHub repository qauth-labs/qauth (26 stars, last pushed today), licensed Apache-2.0. It adds 67 tokens to every session and 1,689 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-08-30.

Related

Other skills, from other repositories

theauth

Install and use theAuth (@glinr/theauth), the TypeScript auth SDK for AI agents and humans. Use when adding agent identity, scoped permissions, delegation, audit logs, human sign-in plugins, or an MCP OAuth 2.1 authorization server to a Node, Bun, Deno or edge project.

glincker/theauth · 67 tokens

crudauth

Use when building or modifying authentication in a FastAPI app with crudauth (the crudauth PyPI package) — covers CRUDAuth, the AuthUserMixin / makeauthidentity user model, IdentityConfig, currentuser(...) gates, session + bearer transports, OAuth (Google/GitHub), email verification / password reset / change, custom…

benavlabs/crudauth · 199 tokens

nextjs-authentication

Secure token storage (HttpOnly Cookies) and Middleware patterns. Use when implementing authentication, secure session storage, or auth middleware in Next.js.

FilippoDeSilva/skills · 33 tokens

api-integration-architect

Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.

sickn33/agentic-awesome-skills · 33 tokens

coding-directives

Implement or review caddy-security Go code, Caddy modules, parsers, lifecycle, and HTTP delegation. Use for app/plugin boundaries, authcrunch integration, errors, logging, and code conventions.

greenpau/caddy-security · 45 tokens

configuration-authentication-cookies

Configure portal cookie names, prefixes, domains, paths, attributes, and refresh overrides. Use for cookie precedence and coordination with authorization token discovery.

greenpau/caddy-security · 34 tokens