# mcloud-organizations

This skill lets your agent run mcloud organizations commands: list Cloud organizations, resolve an ID by name, pull subscription and member details.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1300 installs · ★ 235
- Author: medusajs
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/medusajs/medusa-agent-skills/tree/HEAD/plugins/medusa-cloud/skills/mcloud-organizations/SKILL.md
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/skills/mcloud-organizations

## What it does

The skill wires `mcloud organizations` into your agent. It can list every organization the account can reach, resolve an organization ID from its display name, or fetch a full record: metadata, subscription, members with roles and emails.

Two commands are covered, plus a breakdown of the JSON fields. `organizations list` needs personal auth — browser login or a personal access key. An organization access key returns 401 on that command. If you are authenticated through `MCLOUD_TOKEN` with an org key, get the organization ID from `mcloud whoami --json` instead. Worth knowing before the first run, otherwise the agent hits the error and starts guessing.

Only three command groups are allowed: `mcloud organizations*`, `mcloud use*` and `jq*`. The last one matters because most useful output is piped through `jq` — member emails, plan name, active flag. Install goes through `npx skills add` with the target agent flag.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add medusajs/medusa-agent-skills --skill mcloud-organizations -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/mcloud-organizations/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/mcloud-organizations/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add medusajs/medusa-agent-skills --skill mcloud-organizations -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/mcloud-organizations/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add medusajs/medusa-agent-skills --skill mcloud-organizations -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/mcloud-organizations/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install medusajs/medusa-agent-skills mcloud-organizations
```

2. **Manually: put the files in place**
- File: `.github/skills/mcloud-organizations/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add medusajs/medusa-agent-skills --skill mcloud-organizations -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/medusajs/medusa-agent-skills --path plugins/medusa-cloud/skills/mcloud-organizations
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/mcloud-organizations/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add medusajs/medusa-agent-skills --skill mcloud-organizations -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/medusajs/medusa-agent-skills/tree/HEAD/plugins/medusa-cloud/skills/mcloud-organizations/SKILL.md

## When to use it
- list the organizations an account can access
- resolve an organization ID from its name
- read member emails and roles
- check the current plan and whether the subscription is active
- switch the active context to a specific organization

## Example prompts
- List all organizations my account has access to
- Find the ID of the organization named My Organization
- Show me the email of every member in org_123

## Similar
- [communication-history](https://affpapa.org/en/nevibecode/skills/communication-history.md) — skill · 1700 installs
- [hackernews](https://affpapa.org/en/nevibecode/skills/hackernews.md) — skill · 3200 installs
- [sales-reporting](https://affpapa.org/en/nevibecode/skills/sales-reporting.md) — skill · 1700 installs
- [yc-reader](https://affpapa.org/en/nevibecode/skills/yc-reader.md) — skill · 2800 installs
- [dx-devops-promote](https://affpapa.org/en/nevibecode/skills/dx-devops-promote.md) — skill · 2300 installs
- [datapackage](https://affpapa.org/en/nevibecode/skills/datapackage.md) — skill · 2100 installs

From the same set: [medusajs/medusa-agent-skills](https://affpapa.org/en/nevibecode/by/medusajs/medusa-agent-skills.md) — 14 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
