A curated collection of Claude Code skills for Convex backend development. These skills give Claude deep expertise in Convex patterns, components, authentication, and AI agent development.
Skills are knowledge bases that Claude Code loads automatically based on context. When you're working in a Convex project and ask Claude to help with a query, mutation, or component — it already knows the best practices, patterns, and gotchas.
| Skill | Description | Triggers On |
|---|---|---|
| convex | Core backend development — queries, mutations, actions, schemas, scheduling, file storage, search | ctx.db, useQuery, useMutation, schemas, crons, file storage |
| convex-agent | AI agents with persistent threads, tool calling, and streaming | Chat interfaces, AI assistants, RAG systems, multi-agent workflows |
| convex-components | Component patterns — Rate Limiter, Aggregate, Workpool, Workflow, and more | Any @convex-dev/* component usage |
| convex-auth | Universal authentication patterns (provider-agnostic) | Auth checks, getUserIdentity(), user storage |
| convex-clerk | Clerk-specific integration | Clerk setup, webhooks, JWT configuration |
| convex-workos | WorkOS AuthKit integration | WorkOS setup, auto-provisioning, SSO |
| Command | Description |
|---|---|
/create-features |
Converts implementation plans into structured feature documentation with dependencies and acceptance criteria |
| Agent | Description |
|---|---|
| convex-expert | Expert backend developer that auto-activates when working in convex/ directory. Has access to all Convex skills. |
These skills provide deep expertise on Convex Components — modular, drop-in building blocks for your backend. Each component documented here includes installation, configuration, usage patterns, and best practices.
| Component | Package | Description |
|---|---|---|
| Agent | @convex-dev/agent |
Build AI agents with persistent threads, tool calling, real-time streaming, and message history. Supports multi-agent workflows, RAG, and durable agent processes. (Has dedicated skill: convex-agent) |
| Component | Package | Description |
|---|---|---|
| Workflow | @convex-dev/workflow |
Durable, long-running code flows with retries, delays, and guaranteed completion. Survives server restarts. |
| Workpool | @convex-dev/workpool |
Queue async operations with configurable parallelism limits and priority scheduling. |
| Action Retrier | @convex-dev/action-retrier |
Retry failed actions with exponential backoff and idempotency guarantees. |
| Component | Package | Description |
|---|---|---|
| Rate Limiter | @convex-dev/rate-limiter |
Application-layer rate limiting with token bucket and fixed window algorithms. Transactionally safe. |
| Aggregate | @convex-dev/aggregate |
Efficient O(log n) COUNT, SUM, MIN, MAX operations using denormalized data structures. |
| Sharded Counter | @convex-dev/sharded-counter |
High-throughput counting that avoids write contention through sharding. |
| Presence | @convex-dev/presence |
Real-time user presence tracking (online status, typing indicators, cursors). |
| Action Cache | @convex-dev/action-cache |
Cache expensive action results (LLM calls, API requests) with TTL support. |
| Migrations | @convex-dev/migrations |
Run long-running data migrations with progress tracking and resumability. |
| Component | Package | Description |
|---|---|---|
| Resend | @convex-dev/resend |
Transactional email with queuing, retry logic, and webhook handling. |
| Stripe | @convex-dev/stripe |
Payments, subscriptions, and billing with webhook sync to your database. |
| ProseMirror Sync | @convex-dev/prosemirror-sync |
Real-time collaborative text editing for Tiptap and BlockNote editors. |
Note: The Convex ecosystem has many more components. These are the ones with detailed skill documentation in this repo. See convex.dev/components for the full catalog.
- Claude Code installed
- A Convex project (or create one with
npm create convex)
-
Clone or download this repository
-
Copy the
.claudefolder to your project rootcp -r convex-agent-skillz/.claude /path/to/your/project/
-
Configure settings (optional)
Edit
.claude/settings.local.jsonto customize permissions:{ "permissions": { "allow": [ "WebFetch(domain:docs.convex.dev)", "WebFetch(domain:www.convex.dev)", "WebFetch(domain:stack.convex.dev)", "WebSearch" ] }, "enableAllProjectMcpServers": true, "enabledMcpjsonServers": ["convex"] } -
Verify skills are loaded
Start Claude Code in your project and ask:
What Convex skills do you have available?
Skills activate automatically based on what you're working on:
- Working in
convex/directory — Theconvex-expertagent activates with full Convex knowledge - Asking about queries or mutations —
convexskill provides patterns - Implementing AI chat —
convex-agentskill guides you through the Agent component - Setting up Clerk auth — Both
convex-authandconvex-clerkskills activate
When you have an implementation plan (from Claude or your own), use this command to break it into trackable features:
- Share or create an implementation plan with Claude
- Run
/create-features - Claude creates a
docs/features/folder with:00-overview.md— Feature matrix with status tracking01-feature-name.md,02-feature-name.md, etc. — Individual feature specs
Ask about Convex patterns:
How do I implement a paginated query with cursor-based pagination?
Get help with components:
I need to rate limit user actions to 10 per minute
Set up authentication:
Help me configure Clerk authentication for my Convex app
Build an AI agent:
I want to create a support chatbot with persistent message history
The foundation skill covering:
- Functions — Queries, mutations, actions, internal functions, HTTP actions
- Database — Schema design, indexes, efficient queries
- Validation — Argument validators, custom types
- Scheduling — Crons, scheduled functions, workflow patterns
- File Storage — Upload, storage, serving patterns
- Search — Full-text search, vector search, RAG
- Next.js — App Router integration, SSR, Server Actions
Reference docs: FUNCTIONS.md, DATABASE.md, VALIDATION.md, SEARCH.md, AUTH.md, SCHEDULING.md, FILE_STORAGE.md, HTTP_ACTIONS.md, ERROR_HANDLING.md, ADVANCED.md, RUNTIMES.md, NEXTJS.md
Build AI-powered features:
- Threads — Persistent conversation history
- Streaming — Delta streaming, HTTP streaming, text smoothing
- Tools — Define tools with Convex context access
- Workflows — Durable multi-step agent processes
- RAG — Context injection and retrieval patterns
Reference docs: STREAMING.md, TOOLS.md, CONTEXT.md, THREADS.md, MESSAGES.md, WORKFLOWS.md, HUMAN-AGENTS.md, FILES.md, RATE-LIMITING.md, USAGE-TRACKING.md, DEBUGGING.md
Patterns for the Convex component ecosystem:
| Component | Use Case |
|---|---|
| Workflow | Long-running, durable processes with retries |
| Workpool | Queue actions with parallelism limits |
| Rate Limiter | Application-layer rate limiting |
| Aggregate | Efficient COUNT, SUM, MAX operations |
| Sharded Counter | High-throughput counting |
| Presence | Real-time user presence |
| Action Cache | Cache expensive action results |
| Migrations | Stateful online data migrations |
| Stripe | Payments and subscriptions |
| Resend | Transactional email |
Provider-agnostic authentication patterns:
ctx.auth.getUserIdentity()usage- Race condition prevention
- Database user storage patterns
- Custom auth wrappers with convex-helpers
- HTTP actions with auth
Clerk-specific setup:
auth.config.tsconfiguration- JWT template requirements (must be named "convex")
ConvexProviderWithClerksetup- Webhook implementation for user sync
- Environment variables for React and Next.js
WorkOS AuthKit integration:
- Dual JWT provider configuration
- Auto-provisioning for development
- CORS setup for React apps
ConvexProviderWithAuthKitusage
Each skill has a references/ folder with topic-specific guides:
.claude/skills/convex-skill/
├── SKILL.md # Main skill file (required)
└── references/
├── FUNCTIONS.md
├── DATABASE.md
└── YOUR_NEW_TOPIC.md # Add your own
Copy the agent template and modify:
# .claude/agents/my-agent.md
---
name: my-agent
description: "Description that tells Claude when to use this agent"
tools: Read, Edit, Write, Bash, Grep, Glob
model: inherit
skills: convex, convex-auth # Skills this agent should use
color: blue
---
Your agent instructions go here...Create a new folder in .claude/skills/:
.claude/skills/my-new-skill/
├── SKILL.md
└── references/
└── TOPIC.md
The SKILL.md needs YAML frontmatter:
---
name: my-skill
description: "When to use this skill and what triggers it."
---
# Skill content with patterns and examples...Contributions welcome! See CONTRIBUTING.md for guidelines.
.claude/
├── agents/
│ └── convex-expert.md # Expert agent definition
├── commands/
│ └── create-features.md # Feature breakdown command
├── skills/
│ ├── convex-skill/ # Core Convex patterns
│ ├── convex-agent-skill/ # AI agent component
│ ├── convex-components-skill/# Component ecosystem
│ ├── convex-auth-skill/ # Universal auth patterns
│ ├── convex-clerk-skill/ # Clerk integration
│ └── convex-workos-skill/ # WorkOS integration
└── settings.local.json # Permissions configuration