/capgo-cloud:capgo-organization-managementfrom capgo-cloud
Guides Capgo account lookup and organization administration via CLI, including account whoami, organization CRUD, member/2FA auditing, password policy, API-key expiration, and hashed-key enforcement. Use when managing Capgo organizations or resolving 2FA/permission errors.
Ships in capgo-cloud. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Administer Capgo accounts and organizations safely from the CLI.
Facts below were checked against @capgo/cli 8.77 (October 2026). All commands accept -a, --apikey.
TRIGGER when:
account whoami).app list --show-org --show-org-id).Do not use when:
capgo-release-management.capgo-native-builds.capgo-cli-usage.| Goal | Command (npx @capgo/cli@latest ...) |
|---|---|
| Who am I | account whoami (alias account id) |
| List orgs | organization list |
| Create org | organization add --name "My Company" --email [email protected] |
| Members + 2FA status | organization members ORG_ID (2FA status needs super_admin) |
| Rename / change email | organization set ORG_ID --name "New Name" --email [email protected] |
| Enforce 2FA | organization set ORG_ID --enforce-2fa (--no-enforce-2fa to undo) |
| Password policy | organization set ORG_ID --password-policy --min-length 12 --require-uppercase --require-number --require-special |
| API-key expiration | organization set ORG_ID --require-apikey-expiration --max-apikey-expiration-days 90 (1 to 365) |
| Hashed API keys | organization set ORG_ID --enforce-hashed-api-keys |
| Apps per org | app list --show-org --show-org-id or app list --filter-by-org-id ORG_ID --output-text |
| Delete org | organization delete ORG_ID (owner only, irreversible) |
Use organization. The organisation spelling is deprecated and will be removed.
npx @capgo/cli@latest account whoami
npx @capgo/cli@latest organization list
Confirm the target ORG_ID. Security settings need the super_admin role. Deleting an org needs the owner.
npx @capgo/cli@latest organization members ORG_ID
List the members without 2FA, then report to the user before enforcing. Enforcing 2FA locks those members out of CLI and API access until they enable it.
Apply one organization set change, verify it, then move to the next. Keep at least one admin with working 2FA and a valid key so the org is never locked out.
--require-apikey-expiration / --max-apikey-expiration-days affects new keys. The keys the hosted MCP creates for OAuth (MCP · <client>) already expire after at most 90 days, and a stricter org limit wins.--enforce-hashed-api-keys means a key is shown only once at creation. Existing CI secrets keep working, but a lost key must be recreated.organization delete cannot be undone, and only owners can run it. Run app list --filter-by-org-id ORG_ID first so the user sees what lives in that org, then get explicit confirmation with the org name.organization members needs super_admin to show 2FA status. Lower roles see partial data.npx @capgo/cli@latest login, or set CAPGO_TOKEN in their shell.organization list again. The name and email changes show up.organization members ORG_ID again after enforcement. Every remaining member shows 2FA enabled.app list). It should succeed after they enable 2FA.| String | Fix |
|---|---|
🔐 Access Denied: Two-Factor Authentication Required / This organization requires all members to have 2FA enabled. | Enable 2FA at https://console.capgo.app (account settings), then retry. Docs: https://capgo.app/docs/webapp/2fa-enforcement/ |
Insufficient permissions for <key> | The acting user or key lacks the role. Security settings need super_admin, delete needs the owner |
No organizations available | The key's user has no org yet. Create one with organization add |
No Capgo API key found. Run ... first, then retry this command. | npx @capgo/cli@latest login, set CAPGO_TOKEN, or pass -a |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/capgo-cli-usageEntry point for the Capgo CLI (`npx @capgo/cli@latest`). Maps the full command surface (init, login, doctor, probe, app, bundle, channel, key, account, organization, build, observe, get-qr, notifications, run device, mcp), explains API-key precedence (--apikey, CAPGO_TOKEN, ~/.capgo, ./.capgo), connects agents to Capgo through the hosted MCP (https://api.capgo.app/mcp) or the local CLI MCP, and routes to the narrower Capgo skill. Use when the user asks generally how to use the Capgo CLI, which command to run, how to authenticate it, how to connect Claude or another agent to Capgo, or gets "No Capgo API key found". Do not use when a specific Capgo skill already matches (capgo-live-updates, capgo-release-management, capgo-native-builds, capgo-organization-management)./capgo-cloudUmbrella skill for multi-product Capgo Cloud work in Capacitor apps, combining Capgo Build native binaries, Capgo live updates (OTA), store submission, organization setup, and agent access via the hosted Capgo MCP. Use when the user asks for a Capgo equivalent of a hosted mobile cloud (builds, live updates, and publishing together), wants to plan which Capgo products to use, or needs the order of operations across them. Do not use once the request narrows to one area. Switch to capgo-native-builds, capgo-release-management, capgo-live-updates, capgo-organization-management, or capgo-cli-usage./capgo-live-updatesSets up and debugs Capgo live (OTA) updates in a Capacitor app with @capgo/capacitor-updater. Use when the user wants to ship web-layer fixes without app store review, install or configure the updater plugin, choose an autoUpdate mode, call notifyAppReady, wire manual download/next/set flows, set channels from the app, or debug updates that never apply, roll back, or report codes such as no_new_version_available, disable_auto_update_to_major, cannot_update_via_private_channel, or on_premise_app. Do not use for CLI-only bundle/channel operations (capgo-release-management), Capgo Cloud native builds (capgo-native-builds), or migrations from another OTA vendor./capgo-native-buildsUse for Capgo Cloud Build (Capgo Build) native iOS and Android workflows, including CLI login and API-key precedence, `build init` onboarding, signing credential save/update/export, `build request` with TestFlight, App Store, or Play upload, temporary IPA/APK/AAB download links (`--output-upload`), prescan failures, `build needed` OTA-vs-native gating, and CI secrets. Use when errors mention "No credentials found for this app and platform", "Legacy provisioning profile format detected", "Missing required argument: --platform", or prescan check ids. Do not use for OTA bundle uploads (capgo-release-management), updater plugin setup (capgo-live-updates), or local Xcode/Gradle builds and generic CI runners (capacitor-ci-cd)./capgo-release-managementRuns Capgo OTA release operations with the CLI, including `bundle upload` (channels, delta, rollout, encryption, version bumps), `bundle compatibility` and `releaseType` checks, `channel add/set/promote/currentBundle/delete`, progressive rollouts and rollback, `bundle cleanup`, preview QR codes, and `key create/save` encryption setup. Use when the user ships, promotes, rolls back, or cleans up Capgo bundles, or hits upload errors such as "Version X already exists", "Bundle NOT compatible with <channel> channel", or "Cannot upload the same bundle content". Do not use for updater plugin wiring in app code (capgo-live-updates), native binaries (capgo-native-builds), or org/member administration (capgo-organization-management)./capgo-release-workflowsDesigns repository-owned release pipelines for Capacitor apps that combine Capgo live updates, native builds (Capgo Build or the team's own CI runners), and App Store / Play publishing, with an automatic OTA-vs-native gate (`bundle releaseType`, `build needed`), staged channels, and rollback. Use when the user wants one release system covering OTA, builds, and store publishing, is replacing a hosted release service with CI they own, or asks how CI should decide between a live update and a store build. Do not use for single-step tasks (capgo-release-management, capgo-native-builds, capgo-live-updates), non-Capacitor apps, or Ionic Enterprise plugin migration (ionic-enterprise-sdk-migration).npx claudepluginhub cap-go/capgo-skills --plugin capgo-cloudOther plugins' skills for the same job