What this thread does
The problem
You start a Convex app with an agent and it stalls: generated types look stale, the dev command behaves differently from your terminal, or it does not know Convex conventions.
What Convex's docs say
From Convex's Claude Code page (<https://docs.convex.dev/ai/using-claude-code>), read in October 2026:
- Install the plugin inside Claude Code:
/plugin install convex@claude-plugins-official. It bundles tools for your dev deployment, hooks that keep generated types in sync, skills and specialized agents. - New project: scaffold with
npm create convex@latest my-app,cd my-app, then runclaude. The page also shows launchingclaude "build me a todo app with Convex" --permission-mode autofrom an empty directory. - Existing project: install the plugin and ask it things like evaluating your schema or running a named query.
- Cloud or remote setup script:
npm ithennpx convex dev --once.
The warning worth reading
The page says npx convex dev needs full internet access to download the Convex binary. In a non-interactive shell it does not prompt for login and instead auto-provisions a local deployment. If your agent runs in a sandbox with limited network, expect that command to fail or to point at a local deployment you did not intend.
Limits
I did not run the plugin. The page I read gives no separate CLAUDE.md-section command or MCP command; third-party posts mention extra files, which I did not verify.
Sources
- Convex docs, using Claude Code: <https://docs.convex.dev/ai/using-claude-code> (read in full)
Started from a post by @Convex docs, packaged by the editor. Original post