Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

convex-setup-auth

Skill by Melvynx

Sets up Convex authentication and authorization for apps that use Convex Auth, Clerk, WorkOS AuthKit, Auth0, or a custom JWT provider. It is for developers adding login and access control to a Convex backend.

  • Score 74
  • 32 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install convex-setup-auth

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Melvynx/saveit.now /tmp/saveit.now && mkdir -p ~/.claude/skills && cp -r /tmp/saveit.now/.agents/skills/convex-setup-auth ~/.claude/skills/convex-setup-auth

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install convex-setup-auth in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill guides an AI assistant through adding authentication and authorization to a Convex project. It starts by choosing an auth provider. It asks the user which solution they want, or uses the provider the repository already appears to use. Supported options named in the source are Convex Auth, Clerk, WorkOS AuthKit, Auth0, and a custom JWT provider.

After a provider is chosen, the skill points to the official provider docs and a matching local reference file for package installation, client wiring, environment variables, and the auth.config.ts setup. It shows how to check identity in backend functions with ctx.auth.getUserIdentity() and how to add authorization checks where an app needs them. It is for developers building on Convex who want secure, server-verified access to their data.

Written from the project's SKILL.md and checked against it.

What it can do

  • Provider selectionAsks which auth solution to use, or infers it from repo dependencies and existing files.
  • Provider setup guidancePoints to references for Convex Auth, Clerk, WorkOS AuthKit, and Auth0 setup steps.
  • Protected backend functionsVerifies user identity server-side instead of trusting a client-provided userId.
  • User mappingOptionally stores app users in Convex, keyed by tokenIdentifier, when the app needs user documents.
  • Authorization checksAdds ownership, role, or team access checks only where the app requires them.
  • Post-init verificationChecks generated files and remaining wiring steps after provider initialization commands run.
  • Sign-in validationOffers to validate the sign-up or sign-in flow, or gives a manual checklist if browser tools are unavailable.

What you need

  • A Convex project
  • An auth provider chosen from Convex Auth, Clerk, WorkOS AuthKit, Auth0, or a custom JWT provider

Try asking

  • Set up Clerk authentication in my Convex app
  • Protect my Convex queries so only signed-in users can read them
  • Add a users table mapped to my Auth0 identities in Convex

Good to know

  • Not for auth on a non-Convex backend
  • Does not assume a provider; asks first when the repo does not make it clear
  • Only adds app-level user storage when the app needs it

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/convex-setup-auth/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to convex-setup-auth

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

convex-setup-auth: common questions

Which auth providers does Convex setup auth support?

The skill covers Convex Auth, Clerk, WorkOS AuthKit, Auth0, and custom JWT providers. It points to reference files for the four named providers.

Does it always create a users table?

No. The source says only third-party providers need app-level user storage when the app actually needs user documents. Convex Auth manages its own user records and should not get a parallel users table.

Can it be used with a backend other than Convex?

No. The source says it is not for auth on a non-Convex backend.

How do I install convex-setup-auth?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is convex-setup-auth free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is convex-setup-auth safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to convex-setup-auth?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

convex-setup-auth Install

Add to stack

Loading.