zeabur/agent-skills/zeabur-variables

Claude Code and agent skill by zeabur/agent-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use for ALL Zeabur environment variable operations — create, list, update, delete, or troubleshoot. Use when user says "set env var", "add variable", "create variable", "update variable", "delete variable", "change env var", or "why is my variable empty". Also use when variables are empty or SERVICE_NOT_FOUND errors.

Install

npx vskill@latest install zeabur/agent-skills/zeabur-variables

SKILL.md

The same SKILL.md was published earlier as zeabur/agent-skills/zeabur-variables.

Zeabur Variables Management

Always use `npx zeabur@latest` to invoke Zeabur CLI. Never use zeabur directly or any other installation method. If npx is not available, install Node.js first.
Do not guess CLI syntax. Only create, update, delete, env, and list are valid subcommands. Subcommands like set or add do not exist and will silently fail with no error output.

Known Issues

  1. Use `--id` not `--name` — name lookup is unreliable
  2. `${VAR}` gets empty — shell expands before CLI receives; use single quotes
  3. `variable env` replaces ALL variables — it overwrites the entire variable set with the .env file contents; existing variables not in the file will be removed

Create Variables

Creates new variables. Errors if a key already exists — use update to change existing keys.

bash
# Always use service ID — use the `zeabur-service-list` skill to get it
npx zeabur@latest variable create --id <service-id> \
-k "KEY1=value1" \
-k "KEY2=value2" \
-y -i=false

Update Variables

Updates only the specified keys. Does NOT clear other variables.

bash
npx zeabur@latest variable update --id <service-id> \
-k "KEY1=new_value1" \
-k "KEY2=new_value2" \
-y -i=false

Delete Variables

Deletes only the specified keys.

bash
npx zeabur@latest variable delete --id <service-id> \
--delete-keys "KEY1" \
--delete-keys "KEY2" \
-y -i=false

List Variables

bash
npx zeabur@latest variable list --id <service-id> -i=false

Load from .env File

Warning: This replaces ALL variables on the service with the contents of the .env file. Existing variables not in the file will be removed.
bash
npx zeabur@latest variable env --id <service-id> -f .env

After running env, you must restart the service manually to apply changes.

Variable References

Warning: The CLI -k flag uses Cobra's StringToStringVar parser which cannot reliably handle values containing ${}, even with single quotes. The value may be truncated or emptied. See zeabur/cli#201.
bash
# WRONG — shell expands ${VAR} to empty
npx zeabur@latest variable create --id <service-id> -k "REDIS_URL=${REDIS_URI_INTERNAL}" -y -i=false
# STILL UNRELIABLE — single quotes prevent shell expansion but Cobra's CSV parser may still mangle the value
npx zeabur@latest variable create --id <service-id> -k 'REDIS_URL=${REDIS_URI_INTERNAL}' -y -i=false
# RECOMMENDED — set variable references in Zeabur Dashboard
# Or use GraphQL API with updateEnvironmentVariable(data: Map!) mutation

For cross-service variable references like ${POSTGRES_CONNECTION_STRING} (Zeabur uses a flat namespace — all exposed variables from other services are merged directly, no service prefix needed), always use the Zeabur Dashboard until the CLI bug is fixed.

Quick Reference

NeedCommandBehavior
Add new varsnpx zeabur@latest variable create --id <service-id> -k "K=V" -y -i=falseErrors if key exists
Change existing varsnpx zeabur@latest variable update --id <service-id> -k "K=V" -y -i=falseOnly updates specified keys
Remove specific varsnpx zeabur@latest variable delete --id <service-id> --delete-keys "K" -y -i=falseOnly removes specified keys
Overwrite all vars from filenpx zeabur@latest variable env --id <service-id> -f .envReplaces entire variable set
View varsnpx zeabur@latest variable list --id <service-id> -i=falseRead-only

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

Popularity

Repository stars
32
Repository forks
9
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 May 2026, 6 months ago.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zeabur/agent-skills/zeabur-variables/badge)](https://verified-skill.com/skills/zeabur/agent-skills/zeabur-variables)

Something wrong with this skill or its page? Tell us.