Agent-Skills-Hub web-auth-integrator
Integrate authentication and authorization flows with provider-specific setup and RBAC safeguards.
install
source · Clone the upstream repo
git clone https://github.com/0x-Professor/Agent-Skills-Hub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/0x-Professor/Agent-Skills-Hub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/web-auth-integrator" ~/.claude/skills/0x-professor-agent-skills-hub-web-auth-integrator && rm -rf "$T"
manifest:
skills/web-auth-integrator/SKILL.mdsource content
Web Auth Integrator
Objective
Implement authentication and authorization end-to-end based on
project-config.json.
Required Workflow
- Read
and determine auth provider.project-config.json - For Clerk:
- install
or@clerk/nextjs@clerk/clerk-react - wrap app with
ClerkProvider - protect routes with auth middleware
- configure Clerk webhooks
- install
- For Auth.js / NextAuth:
- configure providers (Google, GitHub, credentials)
- choose JWT or DB sessions
- protect API routes and pages
- For Supabase Auth:
- use
supabase.auth - configure OAuth providers
- configure magic links
- use
- For custom JWT:
- scaffold
,/auth/register
,/auth/login/auth/refresh - hash passwords with bcrypt
- sign/verify JWTs (
orjose
)jsonwebtoken - implement refresh-token rotation
- scaffold
- Implement RBAC middleware.
- Add CSRF protection and secure cookie flags (
,HttpOnly
,SameSite=Strict
).Secure - 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