Skip to content
Development
Skill

/mcloud-organizations

Execute mcloud organizations commands to list or get Cloud organizations. Use when discovering organizations, resolving organization IDs by name, or retrieving organization details including members and subscription.

From plugin
medusa-agent-skills
20818 skills1 MCP
Install
$ npx -y skills add medusajs/medusa-agent-skills --skill mcloud-organizations --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/mcloud-organizations

Context preview

The summary Claude sees to decide when to auto-load this skill.

Execute mcloud organizations commands to list or get Cloud organizations. Use when discovering organizations, resolving organization IDs by name, or retrieving organization details including members and subscription.

SKILL.md

mcloud-organizations.SKILL.md
name: mcloud-organizations
description: Execute mcloud organizations commands to list or get Cloud organizations. Use when discovering organizations, resolving organization IDs by name, or retrieving organization details including members and subscription.
allowed-tools: Bash(mcloud organizations*), Bash(mcloud use*), Bash(jq*)

Cloud CLI: Organizations Commands

Execute `mcloud organizations` commands to list and retrieve Cloud organizations.

Constraints

  • `organizations list` requires **personal auth** (browser login or personal access key). Organization access keys return 401 on this command.
  • When authenticated with `MCLOUD_TOKEN` using an org access key, use `mcloud whoami --json` to get the organization ID instead.

Commands

organizations list

List all organizations your account has access to.

mcloud organizations list --json

**Options:**

  • `--json` — Output as JSON

organizations get

Retrieve a single organization by ID. Returns metadata, subscription details, and members.

mcloud organizations get <organization-id> --json

**Arguments:**

  • `organization` — Organization ID (required)

**Options:**

  • `-o/--organization <id>` — Override the organization in active context (must match the argument)
  • `--json` — Output as JSON

Organization Fields (JSON)

| Field | Description | |-------|-------------| | `id` | Organization ID | | `name` | Organization display name | | `billing_email` | Billing contact email | | `status` | `active` or otherwise | | `members` | Array of member objects with `id`, `role`, `user.email` | | `subscription` | Current plan, period, and `is_active` flag | | `account_holder` | Billing account holder details |

Examples

# List all organizations
mcloud organizations list --json

# Set context to first organization
ORGANIZATION_ID=$(
  mcloud organizations list --json \
    | jq -r '.[0].id'
)
mcloud use --organization "$ORGANIZATION_ID"

# Find organization ID by name
ORGANIZATION_ID=$(
  mcloud organizations list --json \
    | jq -r '.[] | select(.name == "My Organization") | .id'
)

# Get organization details (subscription, members)
mcloud organizations get org_123 --json

# List member emails
mcloud organizations get org_123 --json \
  | jq -r '.members[].user.email'

# Check subscription plan
mcloud organizations get org_123 --json \
  | jq '{plan: .subscription.plan.name, status: .subscription.is_active}'
Read more
Ships withmedusa-agent-skills

A collection of skills composed as Claude Code plugins for building Medusa applications with best practices and architectural patterns. These skills can be used with any agent, as explained in the Usage with Other Agents section.

Get the whole plugin
Stats
208
Stars
26
Forks
Active
Maintenance
JavaScript
Language
4d ago
Last commit
6mo ago
Created

Repo: medusajs/medusa-agent-skills

Other skills on medusa-agent-skills.