nodeops-auth — Claude Code skill: OAuth setup and install
This skill wires NodeOps PKCE sign-in into a Next.js project. Use it when the app needs NodeOps login or SSO.
npx skills add NodeOps-app/skills --skill nodeops-auth -a claude-codeWhat nodeops-auth does
The skill adds @nodeops-createos/integration-oauth, exposes routes for the current user and token exchange, and places AuthProvider around the root layout. It also creates app/callback/page.tsx, where the post-login destination is configured.
It prepares environment templates and a local environment file for NodeOps settings. The workflow checks .gitignore and keeps .env.local out of version control. Credentials from the NodeOps developer portal are required, including NEXT_PUBLIC_NODEOPS_CLIENT_ID and NODEOPS_CLIENT_SECRET.
A project that uses pages/ instead of app/ stops the setup because this skill requires Next.js App Router. File extensions follow the presence of tsconfig.json, while package installation follows the detected lockfile.
What it helps with
- connect NodeOps sign-in to a Next.js app
- add user and token API routes
- place
AuthProviderin the root layout - create the post-login callback page
- prepare environment variables and protect
.env.local
Example prompts for the agent
- Add NodeOps PKCE authentication to this Next.js application.
- Inspect the project and create
app/api/auth/me/route.tsplusapp/api/auth/token/route.ts. - Create the callback page and send users to
/dashboardafter login; then prepare.env.local.
How to install nodeops-auth
1Skills CLI (Vercel)
npx skills add NodeOps-app/skills --skill nodeops-auth -a claude-code2Manually: put the files in place
~/.claude/skills/nodeops-auth/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/nodeops-auth/
1Skills CLI (Vercel)
npx skills add NodeOps-app/skills --skill nodeops-auth -a codex2Manually: put the files in place
.agents/skills/nodeops-auth/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add NodeOps-app/skills --skill nodeops-auth -a cursor2Manually: put the files in place
.cursor/skills/nodeops-auth/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install NodeOps-app/skills nodeops-auth2Manually: put the files in place
.github/skills/nodeops-auth/SKILL.md1Skills CLI (Vercel)
npx skills add NodeOps-app/skills --skill nodeops-auth -a gemini-cli2Platform CLI
gemini skills install https://github.com/NodeOps-app/skills --path skills/nodeops-authManually: put the files in place
.devin/skills/nodeops-auth/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add NodeOps-app/skills --skill nodeops-auth -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about nodeops-auth
How do I install nodeops-auth in Claude Code?
Run npx skills add NodeOps-app/skills --skill nodeops-auth -a claude-code, then check ~/.claude/skills/nodeops-auth/SKILL.md.
What does nodeops-auth do?
It configures NodeOps PKCE OAuth in a Next.js app by adding the package, server routes, AuthProvider, a callback page, and environment settings.
What does nodeops-auth require?
The project needs Next.js with the App Router and an app/ directory. NodeOps client credentials are also needed for NEXT_PUBLIC_NODEOPS_CLIENT_ID and NODEOPS_CLIENT_SECRET.