Set up Convex in a new or existing app quickly.
The material indicates this skill mainly guides users through initializing a Convex project; system checks mark it as prompt-only with no required secrets and no declared remote endpoints, so overall risk is low. Caution is still warranted because the README instructs users to run npm/npx scaffolding and dev commands, which may access the network, write files, and pull third-party templates, so they should be executed manually in a controlled environment.
The material and system checks indicate no preconfigured API keys or environment variables are required. The README only notes that first-time `npx convex dev` uses browser-based login/OAuth, without asking users to hand credentials to the skill directly, so direct credential exposure is low.
Although no fixed remote host is declared in metadata, the README explicitly directs use of `npm create convex@latest`, `npm install`, and `npx convex dev`. These steps typically contact external services such as npm/Convex and may sync project code to a Convex development deployment. This is normal for such tooling but deserves user awareness.
The README recommends running local CLI programs (npm/npx) to scaffold projects, install dependencies, and start a long-running dev watcher. That means executing third-party packages locally and spawning persistent processes. This is normal for developer tooling, but it should not be executed automatically without review.
The README explicitly states the scaffolder creates project files and that the dev flow writes `.env.local`, generates a `convex/` directory, and produces type files. Data access appears mainly limited to the current project workspace, with no evidence of requesting broad system-level access beyond its stated purpose.
On the positive side, there is a public GitHub repository and the system marks it as open-source/prompt-only, which improves auditability. However, the repository has no declared license, 0 stars, unknown maintenance status, and the README allows using any GitHub repo as a template, shifting supply-chain trust to external template sources; users should choose templates carefully.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "convex-quickstart" skill from askskill: 1. Download https://raw.githubusercontent.com/openclaw/clawhub/main/.agents/skills/convex-quickstart/SKILL.md 2. Save it as ~/.claude/skills/convex-quickstart/SKILL.md 3. Reload skills and tell me it's ready
Help me create a Convex project from scratch using npm create convex@latest, and explain each step including install, initialization, and starting the dev environment.
A step-by-step guide from creation to startup, including terminal commands and key explanations.
I already have a React frontend project. Guide me through adding Convex, including installing dependencies, configuring the client, setting environment variables, and testing the first connection.
Integration steps for an existing project, with sample code and environment variable setup instructions.
Show me how to complete the first npx convex dev run, including prerequisites, what happens after running the command, and how to troubleshoot common errors.
A first-run guide covering prerequisites, execution flow, and troubleshooting tips for common issues.
Set up a working Convex project as fast as possible.
convex/ exists - just start
buildingconvex-setup-auth skillnpm create convex@latestconvex and wire up the providernpx convex dev to connect a deployment and start the dev loopUse the official scaffolding tool. It creates a complete project with the frontend framework, Convex backend, and all config wired together.
| Template | Stack |
|---|---|
react-vite-shadcn | React + Vite + Tailwind + shadcn/ui |
nextjs-shadcn | Next.js App Router + Tailwind + shadcn/ui |
react-vite-clerk-shadcn | React + Vite + Clerk auth + shadcn/ui |
nextjs-clerk | Next.js + Clerk auth |
nextjs-convexauth-shadcn | Next.js + Convex Auth + shadcn/ui |
nextjs-lucia-shadcn | Next.js + Lucia auth + shadcn/ui |
bare | Convex backend only, no frontend |
If the user has not specified a preference, default to react-vite-shadcn for
simple apps or nextjs-shadcn for apps that need SSR or API routes.
You can also use any GitHub repo as a template:
npm create convex@latest my-app -- -t owner/repo
npm create convex@latest my-app -- -t owner/repo#branch
Always pass the project name and template flag to avoid interactive prompts:
npm create convex@latest my-app -- -t react-vite-shadcn
cd my-app
npm install
The scaffolding tool creates files but does not run npm install, so you must
run it yourself.
To scaffold in the current directory (if it is empty):
npm create convex@latest . -- -t react-vite-shadcn
npm install
npx convex dev is a long-running watcher process that syncs backend code to a
Convex deployment on every save. It also requires authentication on first run
(browser-based OAuth). Both of these make it unsuitable for an agent to run
directly.
Ask the user to run this themselves:
Tell the user to run npx convex dev in their terminal. On first run it will
prompt them to log in or develop anonymously. Once running, it will:
.env.localconvex/ directory with generated typesThe user should keep npx convex dev running in the background while you work
on code. The watcher will automatically pick up any files you create or edit in
convex/.
Exception - cloud or headless agents: Environments that cannot open a browser for interactive login should use Agent Mode (see below) to run anonymously without user interaction.
The user should also run the frontend dev server in a separate terminal:
npm run dev
Vite apps serve on http://localhost:5173, Next.js on http://localhost:3000.
After scaffolding, the project structure looks like:
my-app/
convex/ # Backend functions and schema
_generated/ # Auto-generated types (check this into git)
schema.ts # Database schema (if template includes one)
src/ # Frontend code (or app/ for Next.js)
package.json
.env.local # CONVEX_URL / VITE_CONVEX_URL / NEXT_PUBLIC_CONVEX_URL
…
Helps users choose the right Convex skill for vague app tasks.
Plan Convex schema and data migrations for safe, zero-downtime rollouts.
Audit Convex performance issues across reads, subscriptions, writes, and function limits.
Perform ClawHub moderation actions like bans, role changes, and status checks.
Build reusable Convex components with isolated tables and app-facing backend APIs.
Set up authentication, identity mapping, and access control in Convex apps.
Build production-ready Convex apps with reusable agent skills and templates.
Create, preview, publish, and measure landing pages from any MCP client.
Build and deploy Power Apps code apps with React and Vite quickly.
Verify and create standard community and governance files for new projects.
Run interactive in-app tools in Claude Desktop for planning, tracking, and decisions.
Set up complete project scaffolds and development environments in VS Code.