medusajs/medusa-agent-skills/mcloud-variables
Claude Code and agent skill by medusajs/medusa-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment. Use when inspecting, reading, creating, updating, deleting, or exporting environment variables. Never pass --reveal unless the user explicitly requests secret values.
Install
npx vskill@latest install medusajs/medusa-agent-skills/mcloud-variablesSKILL.md
Cloud CLI: Variables Commands
Execute mcloud variables commands to inspect and manage environment variables for Cloud environments.
Constraints
- Never pass `--reveal` unless the user explicitly asks. Secret values appear in terminal scrollback, log aggregators, and process listings.
- Variable changes need a deploy to apply.
set/deletedon't rebuild or redeploy. Runmcloud environments redeploy <env>for a runtime variable, ormcloud environments trigger-build <env>for a build variable (a redeploy reuses the existing image and won't pick up build-variable changes). - System variables can't be deleted, and
deleterequires--yesin non-interactive mode. - Looking up or creating a variable by key requires
--projectand--environment(or the equivalent in active context). Referencing by ID (var_...) works without project/environment context. setanddeleterequire mcloud CLI v0.1.10+.
Commands
variables list
List all environment variables for a Cloud environment.
Options:
-o/--organization <id>— Organization ID (falls back to active context)-p/--project <id-or-handle>— Project ID or handle (falls back to active context)-e/--environment <handle>— Environment handle (falls back to active context)-t/--type <backend|storefront>— Which variable set to list (default:backend)--scope <build|runtime>— Filter by scope; repeatable (default: both scopes)--include-system— Include system variables Medusa auto-injects (default:false)--reveal— Print secret values in plaintext instead of masking (use only when explicitly asked)--dotenv— Output.env-formattedKEY=VALUElines instead of a table--json— Output as JSON
variables get
Retrieve a single variable by its ID (var_...) or key.
Arguments:
variable— Variable ID (var_...) or key (required)
Options:
-o/--organization <id>,-p/--project <id-or-handle>,-e/--environment <handle>-t/--type <backend|storefront>— Which variable set to read (default:backend)--reveal— Print secret value in plaintext (use only when explicitly asked)--json— Output as JSON
variables set
Create or update one or more variables. The CLI updates when you reference an existing key or a var_... ID, and creates otherwise.
Arguments:
variable— Variable ID (var_...) or key to set (omit when using--var/--env-file)value— Value to set (required when avariableargument is passed)
Options:
-o/--organization <id>,-p/--project <id-or-handle>,-e/--environment <handle>-t/--type <backend|storefront>— Which variable set to write (default:backend)-v/--var <KEY=VALUE|ID=VALUE>— A variable to set; repeatable--env-file <path>— Set all variables from a.envfile--secret,--no-secret— Mark as secret (default:falsefor new variables)--build,--no-build— Available at build time (default:falsefor new variables)--runtime,--no-runtime— Available at runtime (default:truefor new variables)--json— Output as JSON
Redeploy (runtime) or trigger-build (build) afterward — see Constraints.
variables delete
Delete a variable by its ID (var_...) or key. Irreversible; system variables can't be deleted.
Arguments:
variable— Variable ID (var_...) or key to delete (required)
Options:
-o/--organization <id>,-p/--project <id-or-handle>,-e/--environment <handle>-t/--type <backend|storefront>— Which variable set to delete from (default:backend)-y/--yes— Skip confirmation prompt (required in non-interactive mode)--json— Output as JSON
Variable Fields (JSON)
| Field | Description | |
|---|---|---|
id | Variable ID (var_...) | |
key | Variable name (e.g. ADMIN_CORS) | |
value | Variable value (masked if is_secret and --reveal not passed) | |
is_secret | Whether the variable is treated as a secret | |
is_build | Available at build time | |
is_runtime | Available at runtime | |
environment_id | The environment ID this variable belongs to | |
source | user for user-set variables, system for auto-injected ones |
Examples
Security
- Security scanPassed, 100 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 repositoryCheckingplugins/medusa-cloud/skills/mcloud-variables/SKILL.md
Popularity
- Repository stars
- 202
- Repository forks
- 24
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. 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/medusajs/medusa-agent-skills/mcloud-variables)