Neon Auth Skill for Claude Code: What It Does and How to Install It
Makes your assistant add login to an app with Neon Auth (Managed Better Auth), with users and sessions stored in your Neon database.
- Installs
- 25K
- on skills.sh
- Stars
- 108
- on GitHub
- Files
- 3
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
SKILL.md first decides which identity route fits: Managed Better Auth for a new app, or keep a working provider. For Managed Auth it adds auth: true to neon.ts, runs neon deploy, and then implements login from a reference file.
It loads for requests like add auth, add login, passkeys, MFA or OAuth for an MCP server. It needs the Neon CLI and an AWS-region project. It bundles 3 reference files and points to the parent neon skill first.
Good for
- Developers adding sign-up and sign-in to a new app on Neon
- Teams moving off Supabase Auth
- Builders who need an OAuth server for an MCP server
Install neon-auth
Claude Code
- 1
Copy this prompt.
Install the neon-auth skill in Claude Code. Run this command: npx skills add neondatabase/agent-skills --skill neon --skill neon-auth Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js, A Neon account.
Install the parent neon skill with this one: SKILL.md starts with 'Use the parent neon skill', and the commands here use the Neon CLI. The parent neon skill gives the CLI install (npm i -g neon, plus bun, pnpm or brew variants) and sign-in (neon login). The plugin route installs the neon-postgres plugin: 9 skill folders and the Neon MCP server (https://mcp.neon.tech/mcp), which asks you to sign in with Neon over OAuth on first use. The folder routes copy skills only. There is no Claude app upload route because the skill drives the Neon CLI.
Built from the package data we hold. Not yet tested by us.
What's in the skill
When it loads
Add authentication to a new app. Use for "add auth", "add login", Neon Auth (Managed Better Auth), identity routing, sign-up, sign-in, password reset, email OTP, magic links, organizations, phone OTP, OAuth, OAuth server for MCP or third-party OAuth clients, passkeys, MFA, trusted domains, invalid domain, and @neon/auth. No existing identity: default to Managed Better Auth. Keep working Better Auth, Clerk, Supabase Auth, or another IdP. User asked to migrate from Supabase Auth: Managed Better Auth. A required plugin outside Managed support: self-managed Better Auth on a Neon Function or the existing app host. Also use for auth APIs in @neon/neon-js.
Sections in SKILL.md
- When to Use
- What It Does
- Availability
- Managed setup
- Supabase Auth
- Verification
- Plugin support
- Apple and Microsoft OAuth
- Trusted domains
- Functions and Data API
Key facts
- Installs on skills.sh
- 24,964 (Nov 2, 2026)
- Last repo commit
- Oct 30, 2026
- Audits on skills.sh
- Gen Agent Trust Hub: pass, Socket: pass, Snyk: pass
- Part of plugin
- neon-postgres (9 skill folders and the Neon MCP server)
What it includes
Picks Managed Better Auth for new apps, or keeps a working provider such as Clerk.
If a required plugin is outside Managed support, it uses self-managed Better Auth.
Try: “Add login to my new app.”
Read ·
Identity routingAdds auth: true to neon.ts, then neon deploy and neon neon-auth status.
Not available on a project with IP Allow or Private Networking.
Runs code ·
Managed setupImplements login in the app with the Managed Better Auth client.
Write ·
references/managed-auth.mdMakes Neon Auth the OAuth server for an MCP server or OAuth clients.
Write ·
references/oauth-server.mdRuns self-managed Better Auth on a Neon Function or the existing host.
Write ·
references/self-managed.mdRecommends Managed Better Auth and follows the Neon migration guide.
SKILL.md says the guide lists Supabase phone/SMS/WhatsApp, SAML and Web3 as unsupported.
Write ·
Supabase Auth migrationLists which Better Auth plugins Managed Auth supports.
Read ·
Plugin supportAdds or updates Apple and Microsoft OAuth with your own credentials.
Runs code ·
neon neon-auth oauth-providerAdds, lists and deletes trusted domains.
Delete ·
neon neon-auth domain
From the official docs
Permissions
Medium risk
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It writes your auth code
The skill sets up sign-up, sign-in and sessions, and can migrate login from Supabase Auth. Review the code and test sign-in before you ship. github.com
Trusted domains control sign-in
neon neon-auth domain add and delete change which origins may use auth. SKILL.md says localhost ports are pre-approved by default. github.com
OAuth secrets go through the CLI
Apple and Microsoft need your own credentials. SKILL.md says a multi-line secret goes in a file passed with --oauth-client-secret-file. Keep that file out of git. github.com
Technical details
| Turning on read-only | No read-only mode is documented for this skill. |
|---|---|
| Talks to | Neon API through the CLI. Your app host and OAuth providers |
| Sign-in and keys | Users, sessions and auth config live in the neon_auth schema on the branch Postgres. CLI access uses your Neon sign-in or API key. |
| Scopes |
|
Questions
What does the neon-auth skill do?
It helps your assistant add login to an app with Neon Auth, which is Managed Better Auth. Users and sessions live in your Neon database and branch with it. It also covers OAuth, trusted domains and migrating from Supabase Auth.
How do I install it?
Use the install box at the top of this page. It installs the parent neon skill with this one, because SKILL.md starts by pointing to the neon skill. You also need the Neon CLI and a Neon account.
Is it the official Neon skill?
Yes. It is in Neon's own agent-skills repo, and the repo's marketplace file calls its plugins official Neon plugins for Claude Code.
Does it work in the Claude app?
The install box has no Claude app upload route, because the skill drives the Neon CLI on your machine.
Will it replace my current login system?
No by default. SKILL.md says to keep a working Better Auth, Clerk, Supabase Auth or other identity provider unless you ask to migrate. A new app with no identity gets Managed Better Auth.
When does it use self-managed Better Auth?
When a required plugin is outside Managed support. SKILL.md then hosts Better Auth on a Neon Function or on the existing app host.
Is it safe?
It writes login code and changes who may sign in. Our advice: work on a branch, review the auth code and test sign-in and sign-out before merging.
Information
updated Nov 2, 2026
- Repository
- neondatabase/agent-skills
- Folder
skills/neon-auth
Sources
Docs, issue trackers and discussions this page is built from.
Show all 6Hide
- neondatabase/agent-skills README · github.com
- neon marketplace.json · github.com
- neon plugin.json · github.com
- neon mcp.json · github.com
- neon SKILL.md (parent skill) · github.com
- neon-auth SKILL.md · github.com