/capgo-cloud:capgo-native-buildsfrom capgo-cloud
Builds signed iOS/Android binaries via Capgo Cloud Build, handles CLI login, credential management, prescan, store uploads (TestFlight, App Store, Play), and temporary download links.
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.
Build signed iOS and Android binaries on Capgo Cloud Build and deliver them to the stores or to a temporary download link.
Facts below were checked against @capgo/cli 8.77 and https://capgo.app/docs/builder/ (October 2026). The CLI describes native cloud builds as "limited beta".
TRIGGER when:
build init, build request, build prescan, build needed, build last-output, build sync-ios-version, or any build credentials ... subcommand.Do not use when:
capgo-release-management, or capgo-live-updates for plugin wiring.capacitor-ci-cd.capacitor-app-store and capacitor-apple-review-preflight.capacitor-app-upgrades.Only load a reference when its topic is in play.
| File | Load when |
|---|---|
references/request-options.md | Building the exact build request flags: store submission, tracks, release notes, versioning, cache, Xcode version, prescan flags |
references/credentials-and-ci.md | Saving, updating, exporting, or migrating credentials, and pushing them into CI secrets |
Use existing authentication only for the user-requested app and operation. A successful login does not authorize uploads, releases, builds, credential export, or deletion. Confirm the target and effect when they are not already specified by the user.
.p8 key, keystore, or service-account JSON into the chat. Ask them to run npx @capgo/cli@latest login themselves (it opens the browser or asks for the key in a masked prompt), or to set CAPGO_TOKEN in their shell or CI secret store.npx @capgo/cli@latest downloads and runs the newest CLI from npm. Run it only inside the user's project and with their go-ahead. In CI, pin an exact version.npx @capgo/cli@latest in user-facing commands..p8 keys, and Play service-account JSON are secrets. Use placeholders in examples. Never ask for them in the chat and never echo them back. If one is pasted into the chat, tell the user to revoke it and create a new one.~/.capgo-credentials/credentials.json, or .capgo-credentials.json with --local). They are uploaded only for the build job, and the temporary server copies are deleted when the build finishes. Never commit either file.The CLI resolves the key in this order:
-a, --apikey <key> on the commandCAPGO_TOKEN environment variable~/.capgo, the global key saved by npx @capgo/cli@latest login./.capgo, the project key saved by login --localTrap: a global key wins over a project-local key. If a repository must use a different org's key, set CAPGO_TOKEN. Make sure .capgo is git-ignored.
ls ios android and confirm the target native folder exists and npx cap sync <platform> has run.capacitor.config.* for appId. It must match the iOS bundle ID and Android applicationId (prescan check shared/bundle-id-consistency).App) and any extensions that need their own provisioning profiles.android/app/build.gradle for productFlavors. If there is more than one flavor, --android-flavor is required.npx @capgo/cli@latest app list. Add it with npx @capgo/cli@latest app add com.example.app.npx @capgo/cli@latest build needed com.example.app --channel production
# prints "yes" and exits 1 -> native build required
# prints "no" and exits 0 -> ship OTA instead
# exits 2 -> the command itself failed
It compares native package metadata only. Raw edits under ios/ or android/ still need a native build.
First build, interactive (preferred):
npx @capgo/cli@latest build init # alias: build onboarding
~/.capgo-credentials/onboarding/, so the user can resume..p8 key: npx @capgo/cli@latest build credentials apple-key --appId com.example.app.When the user already has signing files, use build credentials save instead. See references/credentials-and-ci.md.
npx @capgo/cli@latest build prescan com.example.app --platform ios
Prescan runs automatically inside build request. Run it alone to fix problems before you upload anything. If one finding is intentional, skip only that check: --prescan-skip <check-id>. Avoid --no-prescan.
# App Store / TestFlight (default ios distribution app_store)
npx @capgo/cli@latest build request com.example.app --platform ios --path .
# Android to Play internal track (default track internal, status draft)
npx @capgo/cli@latest build request com.example.app --platform android --path .
# Artifact only, no store upload
npx @capgo/cli@latest build request com.example.app --platform ios --ios-distribution ad_hoc --output-upload --output-retention 2d
npx @capgo/cli@latest build request com.example.app --platform android --no-playstore-upload --output-upload
The --output-retention range is 1h to 7d. The default TTL saved in credentials is 1h.
--xcode-version <major[.minor]> (or CAPGO_IOS_XCODE_VERSION). Capacitor 9 needs Xcode 27+. Capgo's docs and CLI 8.77 do not confirm an Xcode 27 builder. Before promising a Capacitor 9 iOS cloud build, check with --xcode-version 27 or current docs.--no-playstore-upload requires --output-upload. Otherwise the build has no destination.--output-upload when the App Store record does not exist yet.--submit-to-store-review changes the Android defaults to the production track with status completed. Confirm with the user before you add it.--skip-build-number-bump. Marketing versions can also auto-bump (--skip-marketing-version-bump turns this off).npx @capgo/cli@latest app set com.example.app --build-timeout-minutes 60 (range 5 to 360).server.url left in capacitor.config (live reload) fails prescan ios/capacitor-server-url-shipped for store builds. Remove it rather than skipping the check.npx @capgo/cli@latest build credentials list --appId com.example.app shows masked credentials for the target platform.npx @capgo/cli@latest build prescan com.example.app --platform <p> --fail-on-warnings exits 0.build request ends with a success status. With --output-upload it prints a download link and QR code. With --output-record /tmp/build.json, check npx @capgo/cli@latest build last-output --path /tmp/build.json --field outputUrl.| String / symptom | Fix |
|---|---|
No Capgo API key found. Run ... first, then retry this command. | The user runs npx @capgo/cli@latest login, or sets CAPGO_TOKEN |
Insufficient permissions for <key> / prescan shared/apikey-permission | The key's role cannot request native builds for this app or org. Use a key with build rights |
Missing required argument: --platform <ios|android> | Add --platform ios or --platform android |
❌ No credentials found for this app and platform | Run build init or build credentials save --appId <id> --platform <p> .... Check --local versus the global store |
Legacy provisioning profile format detected. Run: npx @capgo/cli build credentials migrate --platform ios | Run npx @capgo/cli@latest build credentials migrate --platform ios |
Missing argument, you need to provide a appId, or be in a capacitor project | Pass the app ID positionally or run from the app root |
output-retention must be a number with optional unit: s, m, h, d | Use 1h, 6h, 2d, and so on (max 7d) |
Prescan ios/cert-profile-pairing / ios/profile-type-vs-mode | The profile does not embed the certificate or does not match app_store/ad_hoc. Regenerate it with build credentials ios-provisioning |
Prescan ios/targets-covered | An extension has no profile. Add --ios-provisioning-profile <bundleId>=<path> |
| Android "Key alias not found" / wrong password | Check the alias and passwords. If they differ, pass both --keystore-key-password and --keystore-store-password |
| Multiple flavors error | Add --android-flavor <flavor> |
| Need diagnosis | Re-run with --verbose. --ai-analytics sends the failure logs to Capgo AI. --send-logs-to-support sends them to support |
More fixes: https://capgo.app/docs/builder/troubleshooting/
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
capgo, cloud-build, ios-build, android-build, app-store-upload, testflight
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