medusajs avatar

Mcloud Environments

This gives Claude the ability to manage your mcloud environment lifecycle through the CLI: listing, creating, deleting, and handling deployments. The key thing to know is the difference between redeploy (reruns an existing build after you changed a variable or config) and trigger-build (pulls fresh code and builds from scratch). Production environments can't be deleted, so the skill checks the environment type first when automating teardowns. It's straightforward for the common case of needing to bounce an environment after updating secrets or kicking off a new deployment when code lands on a tracked branch.

skills.sh installs
1.5K
GitHub stars
236
last updated
Aug 21, 2026

Install

$ npx -y skills add medusajs/medusa-agent-skills --skill mcloud-environments --agent claude-code

Installs into .claude/skills of the current project.

Files

Cloud CLI: Environments Commands

Execute mcloud environments commands to manage environment lifecycle and deployments.

Constraints

  • Production environments cannot be deleted. Always check type via environments get --json before attempting delete in automation.
  • Use --yes for destructive operations (delete) in non-interactive contexts.
  • redeploy vs trigger-build are not interchangeable — choose the right one based on where the fix is.

Commands

environments list

List all environments in a project.

mcloud environments list --organization <org-id> --project <project-id-or-handle> --json

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)
  • --json — Output as JSON

environments get

Retrieve a single environment by its ID or handle.

mcloud environments get <environment-id-or-handle> --organization <org-id> --project <project-id-or-handle> --json

Arguments:

  • environment — Environment ID or handle (required)

Sponsors

Details

Repository
github.com/medusajs/medusa-agent-skills
Categories
AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from medusajs/medusa-agent-skills

All 15
1K-Dense-AI avatarbulk-rnaseqK-Dense-AI/scientific-agent-skillsEnd-to-end bulk RNA-seq orchestrator — takes raw FASTQ reads through QC and trimming (FastQC, fastp/Trim Galore), alignment and quantification (STAR, Salmon, fe1.5Kskills.sh installs
2medusajs avatarmcloud-projectsmedusajs/medusa-agent-skillsExecute mcloud projects commands to list, get, or delete Cloud projects. Use when discovering projects, resolving project handles by name, or retrieving project1.5Kskills.sh installs
3medusajs avatarmcloud-logsmedusajs/medusa-agent-skillsExecute mcloud logs to fetch and stream runtime logs for Cloud environments. Use when reading backend or storefront logs, filtering by time range, searching for1.5Kskills.sh installs
4medusajs avatarmcloud-organizationsmedusajs/medusa-agent-skillsExecute mcloud organizations commands to list or get Cloud organizations. Use when discovering organizations, resolving organization IDs by name, or retrieving 1.5Kskills.sh installs
5K-Dense-AI avatarpathway-enrichmentK-Dense-AI/scientific-agent-skillsRun pathway and gene-set enrichment analysis on gene lists or ranked gene data, then interpret the results. Use whenever the user has a set of genes (differenti1.5Kskills.sh installs
6unclecatvn avatarodoo-18unclecatvn/agent-skillsOdoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, 1.5Kskills.sh installs