Skip to main content
skill CX Codex

mcloud-deployments — Claude Code skill: what it does, how to install

Enables agents to query Medusa Cloud deployments and inspect build logs via CLI. Useful for tracking release progress and debugging failed builds directly in the terminal.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add medusajs/medusa-agent-skills --skill mcloud-deployments -a claude-code
Open on GitHub

What mcloud-deployments does

This skill guides the agent through mcloud deployments CLI operations. It provides clear execution patterns to list project deployments, filter by commit or environment handle, and fetch deployment details using build or deployment identifiers. The agent relies on command execution with jq for output processing.

Every query must include --json because plain text output is not guaranteed to remain stable. If organization or project contexts are missing, the agent verifies them first with mcloud whoami --json.

When a build fails, the skill pulls logs specifically for the backend or storefront stream. Note the failure status: if a deployment ends in deployment-failed instead of build-failed, build logs will be clean, so you must inspect runtime logs using mcloud logs.

What it helps with

  • list recent deployments for a project
  • inspect build logs for backend or storefront
  • filter deployment runs by commit SHA or environment
  • diagnose why a deployment status failed

Example prompts for the agent

  • Show me recent deployments for this Medusa Cloud project
  • Fetch the build logs for the latest failed deployment
  • Check if the latest commit deployed cleanly to production

How to install mcloud-deployments

1Skills CLI (Vercel)

npx skills add medusajs/medusa-agent-skills --skill mcloud-deployments -a claude-code

2Manually: put the files in place

~/.claude/skills/mcloud-deployments/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/mcloud-deployments/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about mcloud-deployments

How to install mcloud-deployments in Claude Code?

Run npx skills add medusajs/medusa-agent-skills --skill mcloud-deployments -a claude-code in your terminal.

What does the mcloud-deployments skill do?

It gives AI agents instructions for running mcloud deployments commands. It helps view deployment status, filter by commit, and inspect build output.

Why must commands always include the --json flag?

Plain text formatting in the CLI can change between releases. Using --json ensures structured output that the agent parses reliably with jq.

Similar skills

All skills for DevOps and infrastructure →

From the same set12

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor