env-vars

Manage environment variables and OIDC tokens in Vercel projects.

Updated Dec 12, 2025
One-click install
npx skills add https://github.com/global-os/gproxy --skill env-vars-global-os
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-vars
Source: https://github.com/global-os/gproxy/tree/main/.agents/skills/env-vars
Command: npx skills add https://github.com/global-os/gproxy --skill env-vars-global-os

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, OIDC tokens, and environment-specific configuration, simplifying the setup and maintenance of your applications.

Core Features & Use Cases

  • Environment Variable Management: Handle .env files, vercel env CLI commands, and OIDC tokens.
  • OIDC Token Lifecycle: Manage the lifecycle of OIDC tokens for secure authentication.
  • Environment-Specific Configuration: Configure and scope environment variables for different environments (development, production, etc.).

Quick Start

Set up environment variables for your Vercel project by running 'vercel env pull .env.local'.

Frequently Asked Questions about env-vars

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

FAQPage Schema
How do I manage environment variables across different Vercel environments?

You manage Vercel environment variables by scoping configurations to specific environments like development or production. This involves using `.env` file conventions and `vercel env` CLI commands to pull and configure environment-specific settings.

What is the OIDC token lifecycle in Vercel projects?

The OIDC token lifecycle in Vercel involves managing tokens for secure authentication throughout their creation, usage, and expiration. Proper lifecycle management ensures your applications maintain secure access without manual token rotation disruptions.

How do I pull environment variables locally for a Vercel project?

You pull environment variables locally by running the `vercel env pull .env.local` command. This retrieves your scoped environment configurations and writes them directly into a local `.env` file for development use.

Can I use the vercel env CLI to configure environment-specific settings?

Yes, the `vercel env` CLI commands allow you to add, remove, and pull environment-specific configurations. This ensures your development, preview, and production environments maintain distinct and secure variable scopes.

What are the standard .env file conventions for Vercel configuration management?

Standard `.env` file conventions involve using files like `.env.local` for local development and pulling scoped variables from the Vercel platform. This keeps configuration management consistent and prevents local secrets from reaching production.

Why do I need to handle OIDC tokens differently than standard environment variables?

OIDC tokens require dedicated lifecycle management because they are dynamic authentication credentials, unlike static environment variables. Handling them properly ensures secure authentication flows and prevents token expiration from breaking application access.