env-vars

Manage Vercel environment variables with .env files and the vercel env CLI.

Updated May 31, 2026
One-click install
npx skills add https://github.com/vinhnguyenn020325-cmd/dinzkorea --skill env-vars-vinhnguyenn020325-cmd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-vars
Source: https://github.com/vinhnguyenn020325-cmd/dinzkorea/tree/main/.test-vercel-plugin/skills/env-vars
Command: npx skills add https://github.com/vinhnguyenn020325-cmd/dinzkorea --skill env-vars-vinhnguyenn020325-cmd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides expert guidance for managing Vercel environment variables, including .env file conventions, vercel env commands, OIDC tokens, and environment-specific configuration.

Core Features & Use Cases

  • Environment Variable Management: Expert guidance for .env file conventions, the vercel env CLI, OIDC token lifecycle, and environment-specific configuration.
  • Secure Configuration: Best practices for managing secrets, public config, and local-only overrides.
  • Environment Scoping: Vercel Dashboard vs .env Files, environment scoping on Vercel, and Git branch overrides.
  • OIDC Token Lifecycle: How OIDC tokens work in Vercel, including local development and token expiry.
  • Bootstrap Flow: Steps for setting up a project with Vercel from scratch, including linking, pulling env vars, and verifying keys.

Quick Start

Use the env-vars skill to configure your Vercel environment variables for the development environment.

Frequently Asked Questions about env-vars

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Vercel environment variables for different development and production workflows?

Managing Vercel environment variables involves using .env file conventions and the vercel env CLI to configure environment-specific settings across development and production workflows. You can scope variables using the Vercel Dashboard or Git branch overrides.

What is the difference between Vercel Dashboard environment variables and local .env files?

Vercel Dashboard variables provide remote environment scoping for deployed instances, while local .env files manage local-only overrides and secrets. You can use vercel env CLI commands to pull dashboard variables locally and maintain consistent configuration across environments.

How do OIDC tokens work in Vercel for local development and when do they expire?

OIDC tokens in Vercel facilitate secure authentication for local development and deployed workflows. They have a specific lifecycle and expiry, requiring proper environment variable configuration to ensure continuous access without manual token refresh during active development sessions.

What is the best way to bootstrap a Vercel project from scratch and link environment variables?

Bootstrapping a Vercel project from scratch involves linking your local repository to Vercel, pulling environment variables using the vercel env CLI, and verifying your keys. This establishes secure configuration and environment-specific scoping for your application.

Can I scope Vercel environment variables to specific Git branches?

Yes, Vercel supports environment scoping through Git branch overrides. This allows you to define specific environment variables that only apply when deploying from certain branches, ensuring distinct configuration between development, preview, and production environments.

What are the best practices for managing secure configuration and secrets on Vercel?

Secure configuration on Vercel involves separating public config from sensitive secrets, using local-only overrides for development, and leveraging the vercel env CLI. Proper environment-specific configuration ensures secrets are never exposed in your codebase or unauthorized environments.