All skills
medusajs avatar

/mcloud-organizations

@24cc29b official
by Medusamedusajs/medusa-agent-skills225 stars
29

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.

Use this Skill: https://skilld.dev/gh/medusajs/medusa-agent-skills/mcloud-organizations

This session only. Nothing lands on disk.

SKILL.md

≈60 tokens always: the name and description. ≈530 when used: this file.

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}'

Source: SKILL.md on GitHub

No alerts17d3 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The skill facilitates the management of Medusa Cloud organizations using official CLI tools. It is generally safe but possesses a surface for indirect prompt injection as it processes data from external command outputs without explicit sanitization or boundary delimiters.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

Signed by skilld at 24cc29b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 5 months ago
What it can do
Runs commands
All 3 allowed tools
Bash(mcloud organizations*)Bash(mcloud use*)Bash(jq*)

README badge

README badge for medusajs/medusa-agent-skills/mcloud-organizations