get-convex/agent-skills1 file

Convex Env

Set and wire Convex deployment env vars / secrets for the app.

Specification
Skill ID
get-convex/agent-skills/convex-env
Publisher
get-convex
Repository
agent-skills
Installs
361
Files
1
Synced
Oct 7, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

get-convex/agent-skills/convex-envInstalls these files
  • SKILL.md

What this skill tells the agent

<!-- GENERATED from convex-agents content/capabilities/env.json — do not edit by hand. -->

Manage env vars + secrets

Store secrets as Convex deployment env vars (npx convex env set), read them with process.env in actions, never commit them.

Workflow

  1. npx convex env set KEY value (per deployment).
  2. Read via process.env.KEY inside actions (not queries/mutations).
  3. Never hardcode or commit secrets; add to .env.local only for local.
  4. Confirm with npx convex env list.

Rules

  • Secrets live in Convex env vars, never in code or git.
  • process.env only in actions ('use node' if needed), not queries/mutations.
  • Different deployments need their own values.

Use this skill in a project

Open any RiverX project, search the Skills panel for get-convex/agent-skills/convex-env, and install it in one click.

Use this skill