
Using Medusa Cloud
This handles everything related to Medusa Cloud's CLI tooling, from authentication and deployments to debugging failed builds and managing environment variables. The constraints section alone is worth the read: it's opinionated about always passing `--json` for parsing, confirming context before mutations, and never revealing secrets unless explicitly asked. What makes this practical is the deployment status routing table that tells you exactly which logs to check based on whether your build or runtime failed. It also knows when to load specific reference files depending on your task, so you're not fumbling through docs when a deployment goes sideways at 2am.
- skills.sh installs
- 1.6K
- GitHub stars
- 236
- last updated
- Aug 21, 2026
Install
$ npx -y skills add medusajs/medusa-agent-skills --skill using-medusa-cloud --agent claude-codeInstalls into .claude/skills of the current project.
Files
Managing Medusa Cloud Resources
Operational guide for AI agents managing Medusa Cloud infrastructure through the mcloud CLI. Covers setup, deployments, debugging, environments, and variables.
Constraints
- Always pass
--jsonwhen parsing CLI output. Plaintext output is for humans and may change without warning. - Confirm context before mutating. Run
mcloud whoami --jsonbefore any state change. - Read before you write. Run a
getorlistbefore anydelete,redeploy, ortrigger-build. - Use
--yesfor destructive operations.deletecommands (includingvariables delete) require--yesin non-interactive mode. - Variable changes need a deploy to apply.
variables set/deletedon't rebuild or redeploy:redeployfor runtime changes,trigger-buildfor build changes. - Production environments cannot be deleted.
mcloud environments deleteerrors on production by design. - Never pass
--revealunless the user explicitly asks. Secret values appear in terminal scrollback and logs. --jsonand--followare incompatible. Use bounded time windows (--from/--to) with--jsonfor programmatic log ingestion.
Sponsors
Details
- Repository
- github.com/medusajs/medusa-agent-skills
- Categories
- DevOps & CI/CD, AI & Agent Building, Debugging, Cloud & Infrastructure, CLI & Terminal
- First seen
- Jun 3, 2026
More from medusajs/medusa-agent-skills
All 15- Mcloud Deployments1.5K
- Mcloud Variables1.5K
- Mcloud Environments1.5K
- Mcloud Projects1.5K
- Mcloud Logs1.5K
- Mcloud Organizations1.5K
- Storefront Best Practices5K
- Building With Medusa4.8K
- Building Admin Dashboard Customizations4.7K
- Building Storefronts4.4K
- Db Migrate3.7K
- Db Generate3.6K
- Learning Medusa3.6K
- New User3.2K