flavien-ia/hypervibe-harness/pull-env-vars
Claude Code and agent skill by flavien-ia/hypervibe-harness
- community
Checking that the SKILL.md file is still in the repository.
Internal helper to pull environment variables from Vercel for a given target (production, preview, development) and return them as JSON or merge them into the local .env.local. Delegates to the bundled scripts/pull-env-vars.mjs. Used by skills that need to read current Vercel state - rotate-secret (verify before rotation), debug flows ("why is this var weird in prod"), disaster recovery (restore .env.local from Vercel). Not meant to be invoked directly by users.
Install
npx vskill@latest install flavien-ia/hypervibe-harness/pull-env-varsSKILL.md
Pull Env Vars - Internal helper
Communication
- Detect the user's language from the conversation (the user's own messages, anywhere in the session - not just this invocation: a bare slash command like
/bootstrapcarries no language signal by itself). If nothing in the conversation gives a signal, fall back to the OS locale (node -e "console.log(Intl.DateTimeFormat().resolvedOptions().locale)") before defaulting to English. ALWAYS reply in that language for every user-facing message: questions, progress, confirmations, summaries, errors - including any example text quoted in this skill, which is illustrative and must be translated, never sent verbatim. - Use plain, non-technical business language. Never expose internal script names (*.mjs) or jargon; describe actions in human terms.
- When generating user-facing content for the scaffolded project (UI labels, emails, copy), write it in the user's language too.
- Show progress as a short natural-language checklist (in-progress and done states).
Pull env vars FROM Vercel for inspection or restoration. Delegates to a bundled Node script - never reimplement the pull logic inline.
Invocation
From the project root (where .vercel/project.json lives), call:
Flags
--target=production|preview|development- required. Which Vercel environment to read from.--keys=KEY1,KEY2,...- optional. Filter the output to only these keys. If omitted, returns all env vars from that environment.--write-to-local- optional. Merge the pulled values into.env.local(preserves existing keys not in the pull, adds new ones, updates values for keys present in both). A secret the host never gives back (Vercel returns an empty value for every "sensitive" variable) is never written: the local value, if any, is kept, and the report lists the key as not readable.--json- optional. Output machine-readable JSON{KEY: value, ...}, withnullfor a secret the host never gives back. Default is human-readable text suitable for relay to the user (without showing the values for sensitive keys, only key names + presence).
Output modes
Default (text, safe to relay):
A key listed as not readable is a secret: its production value is wherever the project keeps it (the vault, the service's dashboard), never in this pull.
With `--json` (full values, NOT to relay verbatim to chat):
⚠️ If you use `--json`, capture the output into a shell variable, process it, and NEVER relay it in plain text to the user. The JSON output is meant for programmatic use on the script side (for example: comparing a value before/after rotation, restoring a lost .env.local).
Rules
- Always use this helper (never
vercel env pullinline) so the merge logic and quoting are uniform. - Requires
vercelCLI installed and authenticated. The script aborts cleanly if Vercel is not linked to the project (no.vercel/project.json). - The
--write-to-localmerge never deletes keys that are present in.env.localbut absent from the pull. Handle removals by hand if needed. - If the script fails, relay the error message - do not try to reimplement it.
Security
The pulled values are written only:
- To a temporary file (
os.tmpdir(), deleted at the end) during processing - To
.env.localif--write-to-local(this file is.gitignored by default) - To stdout as JSON if
--json(to be handled with care)
Never displayed in plain text on stderr or in the logs.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/_pull-env-vars/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/flavien-ia/hypervibe-harness/pull-env-vars)