Agent Skills
› openclaw/clawhub
› convex-env
convex-env
GitHub用于管理 Convex 部署环境变量的设置与读取,支持 secrets 配置及不同环境的隔离。
触发场景
需要设置或修改 Convex 环境变量
在 Action 中读取 process.env
安装
npx skills add openclaw/clawhub --skill convex-env -g -y
SKILL.md
Frontmatter
{
"name": "convex-env",
"description": "Set and wire Convex deployment env vars \/ secrets for the app."
}
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.
版本历史
- d6a8c68 当前 2026-08-20 02:43


