Vercel env vars

From different-ai/the-factory · View interactive version

Vercel env vars is an AI agent skill from the GitHub repository different-ai/the-factory. Manage Vercel environment variables for OpenWork projects from the CLI, including linking the local app directory first. Triggers when user mentions: - "add a vercel env var" - "set a vercel env var" - "vercel environment variable

How to use this skill

Skill file

Quick Usage (Already Configured)

1) Check Vercel access

npx vercel whoami
npx vercel teams ls

2) Link the local app directory to the target project

npx vercel link --yes --scope prologe --project openwork-landing

3) Add an env var to production

npx vercel env add MY_ENV_VAR production --scope prologe --value "value" --yes

4) Add the same env var to preview and development

npx vercel env add MY_ENV_VAR preview "" --scope prologe --value "value" --yes
npx vercel env add MY_ENV_VAR development --scope prologe --value "value" --yes

5) Verify env vars on the linked project

npx vercel env ls production --scope prologe
npx vercel env ls preview --scope prologe
npx vercel env ls development --scope prologe

Never paste real secret values or real production identifiers into this skill.

Use placeholders in examples and provide the actual value only at execution time.

OpenWork Defaults

Common Gotchas

First-Time Setup (If Not Configured)

  1. Confirm Vercel auth works:
npx vercel whoami
  1. Change into the target app directory.
  2. Link it to the OpenWork project using scope prologe.
  3. Add env vars for the environments you need.
  4. Verify with npx vercel env ls ....

Example: app feedback template id

npx vercel link --yes --scope prologe --project openwork-landing
npx vercel env add LOOPS_TRANSACTIONAL_ID_APP_FEEDBACK production --scope prologe --value "<transactional-id>" --yes
npx vercel env add LOOPS_TRANSACTIONAL_ID_APP_FEEDBACK preview "" --scope prologe --value "<transactional-id>" --yes
npx vercel env add LOOPS_TRANSACTIONAL_ID_APP_FEEDBACK development --scope prologe --value "<transactional-id>" --yes
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.