web-auth-integrator

web-auth-integrator is a skill for Claude Code, Codex from 0x-Professor/Agent-Skills-Hub. It costs 20 tokens per session (389 once invoked), scanned A, original, Apache-2.0.

An authentication setup helper that connects a web app to providers such as Clerk, Auth.js, Supabase, or custom JWT login. It also adds access rules based on user roles.

In plain words
What is it for?
Use it to add registration and login, OAuth providers, magic links, protected pages and APIs, refresh tokens, role-based access control, CSRF protection, and secure cookies.
Why use it?
It removes the need to design login, sessions, route protection, and security settings from scratch. It also helps prevent users from accessing parts of the app they should not see.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to add registration and login, OAuth providers, magic links, protected pages and APIs, refresh tokens, role-based access control, CSRF protection, and secure cookies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0x-professor/agent-skills-hub/web-auth-integrator
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 0x-Professor/Agent-Skills-Hub --skill web-auth-integrator
Clone the repo
git clone --depth 1 https://github.com/0x-Professor/Agent-Skills-Hub

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 web-auth-integrator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/0x-professor/agent-skills-hub/web-auth-integrator"><img src="https://agentmods.dev/badge/skills/0x-professor/agent-skills-hub/web-auth-integrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 389 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.00020 $0.00389
Opus 5 $0.00010 $0.00195
Sonnet 5 $0.00004 $0.00078
Haiku 4.5 $0.00002 $0.00039

Measured 11d ago against content hash 8efafc266b62, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

web-auth-integrator 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/auth_integrator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/web-auth-integrator/SKILL.md · 58 lines

What it actually says

Web Auth Integrator

Objective

Implement authentication and authorization end-to-end based on project-config.json.

Required Workflow

  1. Read project-config.json and determine auth provider.
  2. For Clerk:
    • install @clerk/nextjs or @clerk/clerk-react
    • wrap app with ClerkProvider
    • protect routes with auth middleware
    • configure Clerk webhooks
  3. For Auth.js / NextAuth:
    • configure providers (Google, GitHub, credentials)
    • choose JWT or DB sessions
    • protect API routes and pages
  4. For Supabase Auth:
    • use supabase.auth
    • configure OAuth providers
    • configure magic links
  5. For custom JWT:
    • scaffold /auth/register, /auth/login, /auth/refresh
    • hash passwords with bcrypt
    • sign/verify JWTs (jose or jsonwebtoken)
    • implement refresh-token rotation
  6. Implement RBAC middleware.
  7. Add CSRF protection and secure cookie flags (HttpOnly, SameSite=Strict, Secure).
  8. Output auth integration artifacts and auth-report.json.

Execution

python skills/web-auth-integrator/scripts/auth_integrator.py --input <workspace> --output <out.json> --format json

References

  • references/tools.md
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 58 lines · 20 tokens per session scan A 8efafc266b62

Subscribe to this mod's changes

web-auth-integrator is a skill published in the GitHub repository 0x-Professor/Agent-Skills-Hub (10 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 20 tokens to every session and 389 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

backend-systems-guidance

Canonical overlay for non-trivial server-side networked implementation and review involving multi-layer architecture, data access, reliability, trust boundaries, or deeper testing; use backend-guidance for thin routine handlers. Compose with matching implementation guidance for APIs, queues, repositories…

n-n-code/n-n-code-skills · 66 tokens

backend-guidance

Baseline overlay for routine thin HTTP, gRPC, or message-consumer implementation and review; use backend-systems-guidance for multi-layer, data-access, transaction, reliability, or trust-boundary work. Compose with matching implementation guidance. Not for outbound-client-only or security-audit tasks.

n-n-code/n-n-code-skills · 64 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

baoyu-slide-deck

Generates professional slide deck images from content. Creates outlines with style instructions, then generates individual slide images. Use when user asks to "create slides", "make a presentation", "generate deck", "slide deck", or "PPT".

JimLiu/baoyu-skills · 54 tokens

baoyu-xhs-images

A tool that breaks content into a series of illustrated image cards for Xiaohongshu, a Chinese social platform also called Little Red Book, and similar social posts.

JimLiu/baoyu-skills · 100 tokens

release-skills

A release workflow for preparing and publishing a new version of a software project. A release is a named version that may include updated version files, release notes, tags, or a GitHub Release.

JimLiu/baoyu-skills · 87 tokens