/capgo-cloud:capgo-release-managementfrom capgo-cloud
Manages Capgo OTA releases via CLI: upload bundles, promote channels, progressive rollouts, rollback, encryption setup, and bundle cleanup. Use when shipping, promoting, rolling back, or troubleshooting Capgo upload 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.
Ship, promote, roll back, and clean up Capgo OTA bundles from the CLI.
Facts below were checked against @capgo/cli 8.77 (October 2026). Every command accepts -a, --apikey. The appId can be omitted inside a Capacitor project.
TRIGGER when:
bundle compatibility, bundle releaseType).key create, key save, --key-v2).Do not use when:
notifyAppReady, autoUpdate, setChannel). Use capgo-live-updates.capgo-native-builds.capgo-organization-management.capgo-release-workflows.| Goal | Command |
|---|---|
| Upload and link | bundle upload [appId] --path ./dist --channel production (comma-separate several channels) |
| Is it OTA-safe? | bundle releaseType [appId] --channel production prints OTA or native |
| Detailed native diff | bundle compatibility [appId] --channel production [--text] |
| What is live | channel currentBundle production [appId] --quiet |
| Promote | channel promote staging production [appId] |
| Roll back | channel set production [appId] --bundle <previous-version> |
| Rollout | bundle upload ... --rollout 10, then channel set ... --rollout-percentage 50 / --rollout-promote / --rollout-rollback |
| Create channel | channel add beta [appId] [--default] [--self-assign] |
| Channel policy | channel set <ch> --disable-auto-update major|minor|patch|metadata|none plus --ios/--android/--dev/--prod/--emulator/--device toggles |
| List | bundle list [appId], channel list [appId] |
| Clean up | bundle cleanup [appId] --bundle 1.0 --keep 3 |
| Delete | bundle delete <version> [appId], channel delete <ch> [appId] |
| Preview QR | app set [appId] --preview once, then get-qr [appId] --channel beta or bundle upload ... --qr-preview |
| Encryption keys | key create, key save --key ./.capgo_key_v2.pub, key delete_old |
| Custom zip / external | bundle zip [appId] --json, bundle encrypt <zip> <checksum>, bundle upload --external <url> |
All of these are npx @capgo/cli@latest <command>. Commands that do not exist (they come from old docs or other tools): channel create, bundle revert, upload --sign, key verify, and a top-level capgo upload without bundle.
npx @capgo/cli@latest channel list com.example.app
npx @capgo/cli@latest channel currentBundle production com.example.app --quiet
npx @capgo/cli@latest bundle releaseType com.example.app --channel production
Report the current live version and the OTA/native verdict before you change anything. If the verdict is native, stop and hand off to capgo-native-builds (or the user's native pipeline).
npm run build
npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel staging --comment "$(git rev-parse --short HEAD)"
package.json unless you pass --bundle <semver>. It must be unique, greater than 0.0.0, and never a previously deleted version.--delta for instant-apply apps. The CLI refuses delta uploads with more than 10,000 files. Use --no-delta in that case.--fail-on-incompatible in CI. Use --accept-incompatible only when the JS guards missing plugins. These two flags and --ignore-metadata-check cannot be combined.npx @capgo/cli@latest channel promote staging production com.example.app. It runs the same compatibility checks as channel set --bundle.--rollout <pct>, then watch the stats before you run --rollout-promote.channel set <ch> --state default, or channel add --default) when the user explicitly wants to move production traffic.npx @capgo/cli@latest bundle list com.example.app
npx @capgo/cli@latest channel set production com.example.app --bundle 1.4.2
# or, during a rollout:
npx @capgo/cli@latest channel set production com.example.app --rollout-rollback
Devices pick up the change on their next update check.
npx @capgo/cli@latest key create # writes .capgo_key_v2 (private) + .capgo_key_v2.pub, saves the public key to config
npx cap sync # the public key must ship in the native app
npx @capgo/cli@latest bundle upload com.example.app --key-v2 ./.capgo_key_v2 --channel production
In CI, keep the private key in the CI secret store, write it to ./.capgo_key_v2 in the job, and pass the same --key-v2 ./.capgo_key_v2. The private key never leaves the runner. Add .capgo_key_v2 to .gitignore and never commit it. A changed key needs a new native build: devices with the old publicKey fail with key_id_mismatch.
bundle upload --channel production sets the rollout target, and stable is unchanged. Replace stable explicitly with channel set --bundle.bundle cleanup --ignore-channel also deletes the linked channels. Never add it without asking.bundle delete is permanent, and the deleted version cannot be reused. Prefer relinking an older bundle to roll back.releaseType only sees native package metadata, not raw ios/ or android/ edits.--self-assign on upload changes the channel's settings, not just this bundle.npx @capgo/cli@latest channel currentBundle production com.example.app --quiet prints the expected version.npx @capgo/cli@latest probe --platform ios (run in the project) reports whether an update would be served.npx @capgo/cli@latest app debug com.example.app shows a test device downloading and setting the bundle.key_id_mismatch error.| String | Fix |
|---|---|
❌ Version X already exists | Bump --bundle, use --auto-bump patch, or pass --version-exists-ok in CI re-runs |
Cannot upload the same bundle content | The checksum is already on that channel. Rebuild with changes, or pass --ignore-checksum-check |
Bundle NOT compatible with <channel> channel | Native packages differ. Do a native build first, or use --accept-incompatible if the code guards it |
notifyAppReady() is missing in the build folder (...) | Fix the app entry point (see capgo-live-updates) |
index.html is missing in the root folder of <dir> | Wrong --path |
Cannot find channel <name> | Check channel list. Names are case sensitive |
Channel strategy <x> is not known | Use major, minor, patch, metadata, or none |
No Capgo API key found. Run ... first, then retry this command. | npx @capgo/cli@latest login, set CAPGO_TOKEN, or pass -a |
Insufficient permissions for <key> | The API key role is too low for this app. Ask an admin for an upload-capable key |
Cannot upload bundle ( try again with --tus option) | Retry with --tus, and raise --timeout for large bundles |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cap-go/capgo-skills --plugin capgo-cloud7 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.Other plugins' skills for the same job