/convex:envfrom Convex
Sets and wires deployment env vars/secrets for a Convex app, stored in Convex env and read server-side via typed `env` export.
Ships in Convex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Store secrets as Convex deployment env vars (npx convex env set), read them in any Convex function through the typed env export, never commit them.
env section of defineApp (or defineComponent for a component) in convex.config.ts, e.g. env: { KEY: v.string() }. This generates the typed env export. Components don't see the app's env vars, so pass any a component declares through its .use() call, e.g. app.use(myComponent, { env: { KEY: app.env.KEY } }).npx convex env set KEY value (per deployment). For secrets, keep the value out of shell history: omit it to be prompted (npx convex env set KEY) or pipe it in on stdin (e.g. pbpaste | npx convex env set KEY).env.KEY from import { env } from "./_generated/server" in queries, mutations or actions. Prefer it over process.env.KEY..env.local values don't reach Convex functions, so set the dev deployment's value too.npx convex env list --names-only, which lists names without printing the secret values.env export in queries, mutations and actions. process.env remains available as a legacy/fallback path, e.g. for existing or third-party code that expects to read env vars there.npx convex env list --names-only; never print secret values into the conversation.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/agentAdd an AI agent / chatbot / RAG backend on Convex with @convex-dev/agent (durable threads, messages, tools, vector search). TRIGGER when the user wants an AI assistant/chatbot/agent or 'chat with my docs' feature. Calls models through the Convex AI Gateway — no provider key to manage./authAdd sign-in with Convex Auth to a new or existing Convex + web app: passkeys by default (other sign-in methods on request), wired end to end, including auth.config.ts. Convex Auth's API has changed across versions, so follow this skill over what you remember. TRIGGER when the user wants login / sign-in / accounts / passkeys / OAuth for a new or existing app./billingAdd Stripe billing/payments/subscriptions to a Convex app via @convex-dev/stripe — checkout action, auto-verified webhook, server-side subscription gating. TRIGGER when the user wants payments/billing/subscriptions/a paywall/Stripe./bundle-sizeDebug and shrink a Convex deployment's bundle with @convex-dev/bundle-analyzer: find duplicate packages, "use node" code leaking into the Convex runtime, dev dependencies and test files in deployed code, then fix and measure before/after. TRIGGER on 'Total module size exceeded the unzipped maximum' (ModulesTooLarge), out-of-memory during push, slow "use node" cold starts, or 'why is my Convex bundle/push so big'. SKIP slow-query and spend questions./convex-authzAudit and harden a Convex app's authorization: identity-from-arg impersonation, missing per-document ownership checks, public queries leaking data by a client-supplied id, and writes into a parent/container the caller doesn't own. Scans for the 4 shapes, applies requireIdentity/requireOwner, verifies with tsc. TRIGGER on 'secure my app', 'audit auth/authz', 'who can access this data'. SKIP when there is no convex/ directory./cronsSet up recurring scheduled jobs (crons) on Convex — digests, cleanups, polling, retries. TRIGGER when the user wants a recurring/scheduled task ('every day/hour', cron, periodic cleanup). Targets internal functions, idempotent handlers.Other plugins' skills for the same job
npx claudepluginhub convex/convex-backend-skill --plugin convex