Env Vars
Vercel environment variable guidance covering .env file hierarchy, the vercel env CLI, and OIDC token lifecycle.
- CCM score
- 72 of 100
- skills.sh installs
- 422
- GitHub stars
- 353
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers .env file load order,
vercel env pull,add,update,ls,rm, andruncommands with Secret and Config variable types - Includes a bootstrap flow for fresh clones, a
.env.examplekey check, and rules for keeping secrets out of tracked files - Enforces that
NEXT_PUBLIC_*andVITE_*variables are always Config, since they are exposed to browser bundles - Designed for developers managing Vercel project secrets, local
.env.localsetup, and short-lived OIDC tokens for AI Gateway access
Install
$ npx -y skills add vercel/vercel-plugin --skill env-vars -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Vercel Environment Variables
You are an expert in Vercel environment variable management — .env file conventions, the vercel env CLI, OIDC token lifecycle, and environment-specific configuration.
.env File Hierarchy
Vercel and Next.js load environment variables in a specific order. Later files override earlier ones:
| File | Purpose | Git-tracked? |
|---|---|---|
.env | Default values for all environments | Yes |
.env.local | Local overrides and secrets | No (gitignored) |
.env.development | Development-specific defaults | Yes |
.env.development.local | Local dev overrides | No |
.env.production | Production-specific defaults | Yes |
.env.production.local | Local prod overrides | No |
.env.test | Test-specific defaults | Yes |
.env.test.local | Local test overrides | No |
Load Order (Next.js)
.env(lowest priority).env.[environment](development, production, or test).env.local(skipped in test environment).env.[environment].local(highest priority)
Critical Rules
Details
- Repository
- github.com/vercel/vercel-plugin
- Categories
- DevOps & Cloud, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the env-vars skill do for Vercel projects?
The env-vars skill gives expert guidance on Vercel environment variable management, covering .env file conventions, the vercel env CLI, OIDC token lifecycle, and environment-specific configuration. It applies when working with .env files, Secret or Config variable types, or vercel env commands.
How do I install the env-vars skill?
Run npx -y skills add vercel/vercel-plugin --skill env-vars -y inside a project to install the env-vars skill. Once installed, the agent can use its guidance on pulling, adding, listing and removing Vercel environment variables.
Where does env-vars stand in the DevOps & Cloud category?
The env-vars skill is listed in the DevOps & Cloud category on Claude Marketplaces, alongside azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. Its focus is narrower than those, centered on Vercel environment variables rather than Azure services.
Does env-vars cover Secret and Config variable types?
Yes, env-vars explains the Secret and Config variable types, including which one to use for passwords and tokens versus readable values. It also covers the CLI flags that set the type and the rule that NEXT_PUBLIC_ variables are always Config.
More from vercel/vercel-plugin
All 25- Vercel Functions410
- Routing Middleware338
- Auth326
- Vercel Storage326
- Vercel Agent317
- Bootstrap315
- Chat Sdk315
- Verification315
- Workflow313
- Runtime Cache312
- Vercel Sandbox308
- Knowledge Update301
- Marketplace300
- Vercel Plugin Eval206
- Plugin Audit198
- Benchmark Agents197
- Release194
- Benchmark Testing193
- Benchmark E2e187
- Ai Sdk544
- React Best Practices491
- Deployments Cicd484
- Vercel Cli432
- Ai Gateway423
Similar to Env Vars
More DevOps & Cloudvercel-cli-with-tokensvercel-labs/agent-skills164.8K installsToken-based Vercel CLI workflow for deploying and configuring projects without interactive login.
vercel-clivercel/vercel-plugin432 installsVercel CLI guidance for deploying, linking projects, managing env vars, domains, logs, metrics, and feature flags.
bootstrapvercel/vercel-plugin315 installsOrchestrates Vercel-linked project bootstrapping so linking, env provisioning, and first-run commands happen in a safe order.
nextjs-env-variablesbobmatnyc/claude-mpm-skills153 installsGuide to Next.js environment variables covering file precedence, variable types, and deployment setup.
convex-envconvex/agent-skills47.1K installsTyped, secret-safe Convex env var setup that keeps values out of code, git, and shell history.
pulumi-escpulumi/agent-skills1.5K installsReference guide for Pulumi ESC that covers environment composition, secrets, and dynamic cloud credentials.