Passkeys are the default here, so you get a working sign-in flow without picking a provider first. The skill installs @convex-dev/auth, writes convex/auth.ts and the auth.config.ts that most auth setups get wrong, wires ConvexAuthProvider on the client, and adds a sign-in UI. The part worth your attention is key generation: it skips the interactive @convex-dev/auth wizard, which hangs in CI and non-TTY runs, and instead generates RS256 keys with jose and sets them through env vars. It also insists on verifying a real sign-in round-trip before calling the job done, which is the right call since a bad auth.config.ts fails silently into an always-signed-out app. Reach for it on a fresh Convex project; if you need OAuth or password login, say so explicitly, since the skill sticks to passkeys otherwise.

skills.sh installs
41.4K
GitHub stars
69
last updated
Oct 26, 2026

Install

$ npx -y skills add convex/agent-skills --skill convex-auth --agent claude-code

Installs into .claude/skills of the current project.

Files

Add sign-in to the app

Install and wire @convex-dev/auth for the current app: a provider (passkeys by default, or OAuth/password), the server config, the client hooks, and a sign-in UI — correctly, including the auth.config.ts that's the #1 real-world auth footgun.

Workflow

Sponsors

Details

Repository
github.com/convex/agent-skills
Categories
Backend & APIs, Security, AI & Agent Building, Databases
First seen
Oct 26, 2026

More from convex/agent-skills

All 30
1google avatargemini-interactions-apigoogle/skillsGuides the usage of Gemini Interactions API on Gemini Enterprise Agent Platform. Use when the user wants to use the stateful, server-managed Interactions API fo11.4Kskills.sh installs
2google avatargoogle-analytics-admin-api-basicsgoogle/skillsManages Google Analytics account and property settings, enables the Analytics Admin API via the Cloud CLI, lists accounts and properties, and manages data strea8.1Kskills.sh installs
3affaan-m avatarapi-designaffaan-m/eccREST API design patterns including resource naming, status codes, pagination, filtering, error responses, versioning, and rate limiting for production APIs.6.6Kskills.sh installs
4aws avatarenabling-lambda-vpc-internet-accessaws/agent-toolkit-for-awsEnables internet access for AWS Lambda functions deployed in VPC subnets by creating NAT Gateway infrastructure, configuring public/private subnet routing, and 6.5Kskills.sh installs
5aws avataramazon-aurora-mysqlaws/agent-toolkit-for-awsAmazon Aurora MySQL — creates, modifies, and advises on Aurora MySQL clusters specifically (MySQL-compatible engine, Aurora serverless, parallel query). Trigger5.7Kskills.sh installs
6affaan-m avatarmcp-server-patternsaffaan-m/eccBuild MCP servers with Node/TypeScript SDK — tools, resources, prompts, Zod validation, stdio vs Streamable HTTP. Use Context7 or official MCP docs for latest A5.6Kskills.sh installs