By inai-team
Collection of InAI Auth SDK integration skills for Next.js, Astro, Express, Hono, and React frameworks, including authentication, RBAC, MFA, middleware protection, and session management
Integrate InAI Auth SDK into Astro applications. Use this skill whenever the user wants to add authentication, login, signup, middleware protection, role-based access control (RBAC), MFA, or session management to an Astro app using @inai-dev/astro. Also trigger when the user mentions InAI auth with Astro, asks about protecting routes in Astro, needs server-side auth helpers (auth(), currentUser()), wants to set up auth API routes in Astro, or is building an SSR Astro site that needs authentication. Covers both the integration plugin and direct @inai-dev/backend usage.
Integrate InAI Auth SDK into Express applications. Use this skill whenever the user wants to add authentication, login, signup, middleware protection, role-based access control (RBAC), MFA, or session management to an Express app using @inai-dev/express. Also trigger when the user mentions InAI auth with Express, asks about protecting routes in Express, needs auth middleware for Express, wants to set up auth API routes in Express, or is building a Node.js API server that needs authentication. Covers middleware setup, route protection, cookie management, and both app and platform auth modes.
Integrate InAI Auth SDK into Hono applications. Use this skill whenever the user wants to add authentication, login, signup, middleware protection, role-based access control (RBAC), MFA, or session management to a Hono app using @inai-dev/hono. Also trigger when the user mentions InAI auth with Hono, asks about protecting routes in Hono, needs auth middleware for Hono or Cloudflare Workers, wants to set up auth API routes in Hono, or is building an edge-first API with Hono that needs authentication. Covers middleware setup, route protection, cookie management, and both app and platform auth modes.
Integrate InAI Auth SDK into Next.js applications. Use this skill whenever the user wants to add authentication, login, signup, middleware protection, role-based access control (RBAC), MFA, or session management to a Next.js app using @inai-dev/nextjs. Also trigger when the user mentions InAI auth with Next.js, asks about protecting routes in Next.js, needs auth hooks (useAuth, useUser), wants to set up auth API routes, or is building an admin panel that needs platform authentication. Covers both app user auth and platform/admin auth flows.
Integrate InAI Auth SDK into React applications. Use this skill whenever the user wants to add authentication UI, auth hooks, login/signup components, role-based rendering, or session management to a React app using @inai-dev/react. Also trigger when the user mentions InAI auth with React, asks about auth hooks (useAuth, useUser, useSignIn, useSignUp), needs pre-built auth components (SignIn, UserButton, SignedIn, SignedOut, Protect), wants context-based auth state, or is building React islands in Astro that need authentication. This is the client-side React package — for Next.js use @inai-dev/nextjs, for Astro use @inai-dev/astro.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Skills para integrar InAI Auth en aplicaciones Next.js, Astro, Express, Hono y React. Compatible con multiples agentes de codigo.
Las skills se instalan automaticamente en todos los agentes soportados:
| Agente | Tipo |
|---|---|
| Claude Code | symlink |
| Cursor | universal |
| Codex | universal |
| Gemini CLI | universal |
| GitHub Copilot | universal |
| Kiro CLI | symlink |
| OpenCode | universal |
| Antigravity | symlink |
| Skill | Framework | Paquete | Descripcion |
|---|---|---|---|
inai-nextjs-sdk | Next.js 14+ | @inai-dev/nextjs | Auth completo: Provider, middleware con verificación ES256 via JWKS, API routes, hooks, componentes, RBAC, MFA, y auto-refresh de tokens |
inai-astro-sdk | Astro 6+ | @inai-dev/astro | Auth SSR: Integration plugin, middleware con verificación ES256 via JWKS, API routes, server helpers, RBAC, MFA |
inai-express-sdk | Express 4+ | @inai-dev/express | Auth middleware con verificación ES256 via JWKS, API routes, route protection, cookie management |
inai-hono-sdk | Hono 4+ | @inai-dev/hono | Auth middleware con verificación ES256 via JWKS, API routes, route protection, Cloudflare Workers |
inai-react-sdk | React 18+ | @inai-dev/react | Provider, hooks, pre-built components, client-side auth state |
npx skills add InAI-Team/inai-auth-skills --list
# Next.js (full-stack)
npx skills add InAI-Team/inai-auth-skills --skill inai-nextjs-sdk
# Astro (SSR)
npx skills add InAI-Team/inai-auth-skills --skill inai-astro-sdk
# Express (Node.js API)
npx skills add InAI-Team/inai-auth-skills --skill inai-express-sdk
# Hono (edge/Workers)
npx skills add InAI-Team/inai-auth-skills --skill inai-hono-sdk
# React (client-side)
npx skills add InAI-Team/inai-auth-skills --skill inai-react-sdk
npx skills add InAI-Team/inai-auth-skills --all
El instalador detecta automaticamente los agentes disponibles en tu sistema y configura las skills para cada uno (symlink o copia universal segun el agente).
INAI_PUBLISHABLE_KEY configurada en tu proyecto (pk_live_...)<InAIAuthProvider> en root layout/api/auth/*) con createAuthRoutes()auth(), currentUser(), configureAuth()useAuth(), useUser(), useSession(), useOrganization()<SignIn>, <UserButton>, <SignedIn>, <SignedOut>, <Protect>"app" (usuarios finales) y "platform" (admin panels)inaiAuth() en astro.config.mjsinaiAstroMiddleware() con proteccion de rutas/api/auth/*) con createAuthRoutes()auth(Astro), currentUser(Astro)setAuthCookies(), clearAuthCookies()@inai-dev/reactinaiAuthMiddleware() con auto-refresh de tokens/api/auth/*) con createAuthRoutes() (Express Router)requireAuth({ role?, permission? })getAuth(req) para acceder al auth object desde cualquier handlersetAuthCookies(), clearAuthCookies()getTokenFromRequest(), getRefreshTokenFromRequest()req.auth en Express RequestinaiAuthMiddleware() con auto-refresh de tokens/api/auth/*) con createAuthRoutes() (Hono sub-app)requireAuth({ role?, permission? })getAuth(c) para acceder al auth object desde contextsetAuthCookies(), clearAuthCookies()getTokenFromContext(), getRefreshTokenFromContext()<InAIAuthProvider> zero-config (lee auth_session cookie)useAuth(), useUser(), useSession(), useOrganization(), useSignIn(), useSignUp()<SignIn>, <UserButton>, <SignedIn>, <SignedOut>, <Protect>, <PermissionGate>, <OrganizationSwitcher>npx claudepluginhub inai-team/inai-auth-skills --plugin inai-auth-skillsAuth0 skills for quickstarts, migration, MFA, branding, custom domains, Advanced Custom Universal Login (ACUL) screen generation, and framework-specific SDK integrations for React, Next.js, Vue, Nuxt, Angular, Express, Fastify, FastAPI, Flask, Go, Spring Boot, Java MVC, Swift, Android, ASP.NET Core, React Native, Expo, Ionic React (Capacitor), Ionic Angular (Capacitor), and Ionic Vue (Capacitor).
Skill for integrating Better Auth - comprehensive TypeScript authentication framework for Cloudflare D1, Next.js, Nuxt, and 15+ frameworks. Use when adding auth, encountering D1 adapter errors, or implementing OAuth/2FA/RBAC features.
Claude Code skill pack for Clerk authentication (24 skills)
Auth skills for Claude Code — scaffold auth endpoints, review auth code for security issues, and add conformance tests
WorkOS integration skills for AuthKit, SSO, Directory Sync, RBAC, Vault, Audit Logs, migrations, and API references.
Authentication and security specialist for JWT implementation, OAuth2 flows, refresh tokens, session management, password hashing (bcrypt, argon2), 2FA, SSO, and security best practices. Use when implementing authentication, authorization, or security features.