Agent skill

Mcloud Variables

by medusajs in medusajs/medusa-agent-skills

Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment.

No licenceAuto-check: notesDevOps & Cloud

Install Mcloud Variables

skills CLI
$ npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install medusajs/medusa-agent-skills mcloud-variables --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/medusajs/medusa-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/medusa-cloud/skills/mcloud-variables .claude/skills/mcloud-variables && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mcloud-variables
GitHub stars
227
Token cost
~1.7k tokens
SKILL.md length
509 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
None found

At a glance

Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment.

  • Exporting environment variables
  • SKILL.md covers Constraints, Commands, Variable Fields (JSON) and Examples
  • Calls jq; needs API_KEY and STRIPE_SECRET_KEY
  • Tasks that involve Secrets management

What it does

Mcloud Variables is an agent skill from medusajs/medusa-agent-skills. 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.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Secrets management. The repository describes itself as: Agent skills and commands for Medusa best practices and conventions.

When your agent uses it

  • Exporting environment variables
  • Tasks that involve Secrets management

Example prompts

  • “/mcloud-variables”

Requirements

  • A credential in API_KEY
  • A credential in STRIPE_SECRET_KEY
  • Pre-approved tools (allowed-tools): Bash(mcloud variables*), Bash(mcloud environments*), Bash(jq*)

What it can do on your machine

Read from SKILL.md and the folder at commit 066132d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(mcloud variables*)
    • Bash(mcloud environments*)
    • Bash(jq*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • API_KEY
    • STRIPE_SECRET_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mcloud Variables loads about 1.7k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 509 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:41
    - `--dotenv` — Output `.env`-formatted `KEY=VALUE` lines instead of a table
  • NoteMentions a .env fileSKILL.md:83
    # From a .env file
  • NoteMentions a .env fileSKILL.md:84
    mcloud variables set --env-file .env
  • NoteMentions a .env fileSKILL.md:95
    file <path>` — Set all variables from a `.env` file
  • NoteMentions a .env fileSKILL.md:163
    # Set multiple variables from a .env file
  • NoteMentions a .env fileSKILL.md:164
    mcloud variables set --env-file .env
  • NoteMentions a .env fileSKILL.md:172
    # Export all variables to a .env file (user must explicitly request --reveal)
  • NoteMentions a .env fileSKILL.md:173
    cloud variables list --reveal --dotenv > .env

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 509 words (~1,728 tokens).

“Execute mcloud variables commands to inspect and manage environment variables for Cloud environments.”

— opening of SKILL.md by medusajs
name
mcloud-variables
allowed-tools
Bash(mcloud variables*), Bash(mcloud environments*), Bash(jq*)

Read the full SKILL.md on GitHub

Files

Just SKILL.md in plugins/medusa-cloud/skills/mcloud-variables of medusajs/medusa-agent-skills.

Open the folder on GitHubat commit 066132d

Compare with similar skills

Mcloud Variables next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mcloud Variables compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mcloud Variables this skillmedusajs/medusa-agent-skills227—~1.7kAutomated safety check: NotesNone
Iron Proxy Gateway for NanoClawnanocoai/nanoclaw31k—~4.6kAutomated safety check: NotesMIT
LangBot Deployment Guidelangbot-app/LangBot18k—~1.2kAutomated safety check: NotesApache-2.0
Env Var Conventionssgl-project/sglang37k2 repos~2.9kAutomated safety check: PassApache-2.0
Mac Fleet Maintenancesteipete/agent-scripts7.3k—~4.8kAutomated safety check: PassMIT
Add Config Env Varbaserow/baserow6.1k—~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Installs or refreshes Iron Proxy and its Iron Control web console for NanoClaw, with a local Docker setup, database, credentials and a human approval bridge.

    31k GitHub stars~4.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • LangBot Deployment Guide

    langbot-app/LangBot

    Deploys and configures a LangBot instance with Docker Compose or Kubernetes, covering config.yaml, the Box sandbox runtime, the plugin runtime and the global API key.

    18k GitHub stars~1.2k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Env Var Conventions

    sgl-project/sglang

    Conventions for SGLang environment variables — where to define, how to access, how to name, and how to deprecate.

    37k GitHub starsUsed in 2 repos~2.9k tokens
    DevOps & CloudAuto-check passed
  • Mac Fleet Maintenance

    steipete/agent-scripts

    Inventories and maintains a fleet of Macs from a desired-state file: package updates, repo and Xcode sync, and disk, backup and security health reports.

    7.3k GitHub stars~4.8k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Add Config Env Var

    baserow/baserow

    Add a Baserow configuration environment variable for the backend, frontend, or both, and propagate it through settings, Nuxt runtime config, Docker Compose, documentation, consumers, and tests as…

    6.1k GitHub stars~1.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Edgeone Makers CLI

    TencentEdgeOne/edgeone-makers-tools

    EdgeOne Makers CLI command reference. An agent skill from TencentEdgeOne/edgeone-makers-tools.

    1.9k GitHub starsUsed in 1 repo~739 tokens
    DevOps & CloudAuto-check: notes

More from medusajs/medusa-agent-skills

All 15 skills in this repo
  • Medusa Internal Admin Agents

    medusajs/medusa-agent-skills

    Walks through adding an AI agent for store operators to a Medusa project: data models, module service, agent runtime, streaming API route and admin chat UI.

    227 GitHub stars~1.9k tokensUpdated 3 days ago
    Auto-check passed
  • Learning Medusa

    medusajs/medusa-agent-skills

    Interactive tutorial where the agent teaches Medusa development by guiding you through building a brands feature, with lessons and verification checkpoints.

    227 GitHub stars~4.1k tokensUpdated 3 days ago
    Auto-check passed
  • Medusa Cloud CLI Authentication

    medusajs/medusa-agent-skills

    Runs the mcloud commands for logging in, checking who is authenticated, and choosing the active organization, project and environment.

    227 GitHub stars~1.1k tokensUpdated 3 days ago
    Auto-check passed
  • Medusa Cloud Deployments CLI

    medusajs/medusa-agent-skills

    Lists Medusa Cloud deployments, fetches one deployment's details and reads backend or storefront build logs through the mcloud CLI to debug failed builds.

    227 GitHub stars~883 tokensUpdated 3 days ago
    Auto-check passed
  • mcloud Environments

    medusajs/medusa-agent-skills

    Runs mcloud environments commands to list, inspect, create, delete, redeploy or rebuild environments in Medusa Cloud projects.

    227 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Medusa Cloud Local Build

    medusajs/medusa-agent-skills

    Reproduces a Medusa Cloud build on your machine with mcloud local build, to debug build-failed deployments without pushing or waiting on Cloud.

    227 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check: notes

Categories

Questions about Mcloud Variables

What does Mcloud Variables do?

Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment. Mcloud Variables is an agent skill from medusajs/medusa-agent-skills. Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment.

When should I use Mcloud Variables?

Mcloud Variables fits situations like: exporting environment variables; tasks that involve Secrets management.

How do I install Mcloud Variables in Claude Code?

Run `npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a claude-code`. Or copy the skill folder (plugins/medusa-cloud/skills/mcloud-variables in medusajs/medusa-agent-skills) into .claude/skills/mcloud-variables in your project. Claude Code loads it when a task matches its description.

How do I install Mcloud Variables in Codex?

Run `npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a codex`. Or copy the skill folder (plugins/medusa-cloud/skills/mcloud-variables in medusajs/medusa-agent-skills) into .agents/skills/mcloud-variables in your project. Codex loads it when a task matches its description.

Can I use Mcloud Variables in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mcloud-variables, .gemini/skills/mcloud-variables, .github/skills/mcloud-variables and .opencode/skills/mcloud-variables in your project.

What does Mcloud Variables need to run?

Going by SKILL.md and its folder, Mcloud Variables needs the command-line tools its instructions call (jq) and credentials named API_KEY and STRIPE_SECRET_KEY. Our summary lists: A credential in API_KEY; A credential in STRIPE_SECRET_KEY. Its frontmatter pre-approves these tools: Bash(mcloud variables*), Bash(mcloud environments*), Bash(jq*).

Does Mcloud Variables access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mcloud Variables safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Mcloud Variables use?

No licence was found for Mcloud Variables or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Mcloud Variables use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mcloud Variables?

Skills that share tags, products or a category with Mcloud Variables: Iron Proxy Gateway for NanoClaw (nanocoai/nanoclaw, 31k stars), LangBot Deployment Guide (langbot-app/LangBot, 18k stars), Env Var Conventions (sgl-project/sglang, 37k stars) and Mac Fleet Maintenance (steipete/agent-scripts, 7.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mcloud Variables?

medusajs (a GitHub organization) maintains it in medusajs/medusa-agent-skills, which has 227 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 5, 2026.

Source: medusajs/medusa-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.