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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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.
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
npx convex env set KEY value(per deployment).- Read via process.env.KEY inside actions (not queries/mutations).
- Never hardcode or commit secrets; add to .env.local only for local.
- 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
Comments
- …
More skills from this repository
axiom-alerting
9.5kHelps your agent create and manage Axiom monitors and notification routes through the Axiom API, and check that alerts behave as expected.
axiom-sre
9.5kHelps your agent investigate production incidents and bugs step by step, testing each guess against Axiom logs before drawing a conclusion.
building-dashboards
9.5kHelps your agent design Axiom dashboards with fitting charts, queries and filters, starting from the decisions the dashboard must support.
controlling-costs
9.5kHelps your agent find unused data in Axiom and build dashboards and monitors that track and cut logging costs.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.