This walks you through the full authentication setup for Convex, covering everything from schema design with tokenIdentifier mapping to helper functions like getCurrentUser and requireAdmin. You'll want this when wiring up OAuth providers like WorkOS or Auth0 and need to map external identities to your users table. The guide includes solid access control patterns for owner-only, resource-based, and team-based permissions, plus the distinction between public and private queries. The code samples are practical, showing real patterns like hybrid queries that work for both authenticated and anonymous users. It's comprehensive enough that you can copy the structure and adapt it without hunting through docs for the right way to check membership or enforce roles.

skills.sh installs
214
GitHub stars
107
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

Files

This walks you through the full authentication setup for Convex, covering everything from schema design with tokenIdentifier mapping to helper functions like getCurrentUser and requireAdmin. You'll want this when wiring up OAuth providers like WorkOS or Auth0 and need to map external identities to your users table. The guide includes solid access control patterns for owner-only, resource-based, and team-based permissions, plus the distinction between public and private queries. The code samples are practical, showing real patterns like hybrid queries that work for both authenticated and anonymous users. It's comprehensive enough that you can copy the structure and adapt it without hunting through docs for the right way to check membership or enforce roles.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/get-convex/convex-agent-plugins
Categories
Backend & APIs, Security, AI & Agent Building, Databases
First seen
Jun 3, 2026

More from get-convex/convex-agent-plugins

All 7
1harperaa avatarauthentication-authorization-clerkharperaa/secure-claude-skillsImplement secure authentication and authorization using Clerk. Use this skill when you need to authenticate users, protect routes, check permissions, implement 187skills.sh installs
2borghei avatarapi-design-reviewerborghei/claude-skillsReview REST API designs for quality, consistency, and breaking changes. Lints OpenAPI specs, generates scorecards, and detects breaking changes between versions163skills.sh installs
3cinience avataralicloud-platform-docs-api-review-testcinience/alicloud-skillsSmoke test for alicloud-platform-docs-api-review. Validate minimal authentication, API reachability, and one read-only query path.158skills.sh installs
4cinience avataralicloud-platform-multicloud-docs-api-benchmark-testcinience/alicloud-skillsSmoke test for alicloud-platform-multicloud-docs-api-benchmark. Validate minimal authentication, API reachability, and one read-only query path.156skills.sh installs
5bankrbot avatarBankr Dev - API Basicsbankrbot/claude-pluginsThis skill should be used when the user asks about "Bankr API", "Bankr Agent API", "how does Bankr work", "Bankr job status", "Bankr response format", or "build0skills.sh installs
6huangjia2019 avatarapi-documentinghuangjia2019/claude-code-engineeringGenerate API documentation from code. Use when the user wants to document APIs, create API reference, generate endpoint documentation, or needs help with OpenAP0skills.sh installs