Skip to content
Skillpedia
Deploy & cloud (DevOps)9.5k · #12243

convex-env

What it does

This skill manages secret values, such as API keys, for a Convex app. It keeps them in Convex settings rather than in the code, so they are not shared by accident.

When to use it

  • ✓When your Convex app needs an API key or other secret value.
  • ✓When you want to check which settings are saved in each Convex environment.
  • ✓When you are about to share code and want to be sure no secrets are in it.

Skill link

https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-env/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-env/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Save my API key in Convex so my app can use it without putting it in the code.”

5 new skills a week. 1 minute to read.

How it works

The agent saves each value as a Convex environment variable for the chosen deployment, reads it only inside server actions, and confirms the saved list.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

<!-- 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.
FAQ

Where should secret values be stored?

In Convex environment variables, never in your code or in git.

Do dev and production share values?

No. Each deployment needs its own values.

Where can server code read these values?

Inside actions, not inside queries or mutations.

Details

Original description by the author

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

repo: openclaw/clawhub

Popularity

GitHub stars
9.5k
Ranking position
#12243
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills