cap-go/capgo/release-management
Claude Code and agent skill by cap-go/capgo
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when working on Capgo OTA release workflows including bundle uploads, compatibility checks, channel management, cleanup, and encryption key setup.
Install
npx vskill@latest install cap-go/capgo/release-managementSKILL.md
Capgo CLI Release Management
Use this skill for OTA update workflows in Capgo Cloud.
Shared notes
- Prefer
npx @capgo/cli@latest ...examples. appIdcan often be inferred from the current Capacitor project.- Shared public flags often include
-a, --apikey. - Preview QR workflows require app preview to be enabled before the QR code can be printed.
--capacitor-config <path>is global. With a dynamic root config selector such asCAP_APP, it keeps loading the root config and writes config changes to the selected app-specific source.
Preview QR workflows
get-qr [appId] [target]
- Example:
npx @capgo/cli@latest get-qr com.example.app --bundle 1.2.3 - Example:
npx @capgo/cli@latest get-qr com.example.app --channel production - Example:
npx @capgo/cli@latest get-qr com.example.app production --type channel - Use to print a terminal QR code for a bundle or channel preview.
- The target can be a bundle name, bundle id, channel name, or channel id.
- If a positional target matches both a bundle and a channel, add
--type bundleor--type channel. - Preview must already be enabled for the app; enable it with
npx @capgo/cli@latest app set com.example.app --preview. - Key options:
--bundle <bundle>--channel <channel>--type <bundle|channel>-a, --apikey <apikey>
Bundle workflows
bundle upload [appId]
- Alias:
u - Example:
npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel production,beta - Cordova example:
npx @capgo/cli@latest bundle upload com.example.app --mode cordova --path www --channel production - Progressive rollout example:
npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel production --rollout 10 - Advance an existing rollout:
npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel production --rollout-advance - Key behavior:
- Bundle version must be greater than
0.0.0and unique. - Deleted versions cannot be reused.
- External URL mode is useful for very large or privacy-sensitive bundles.
- Encryption is recommended for trustless distribution.
- Interactive prompts are disabled automatically in CI and other non-interactive sessions so uploads do not block automation.
- Optional upload prompts can remember the user's answer on the current machine so future uploads can skip the same question.
--channelaccepts a single channel or a comma-separated list such asproduction,beta.- When multiple channels are provided, channels that already have the uploaded checksum are skipped and the remaining channels are assigned.
- Use
--qr-previewto print a terminal QR code for the uploaded bundle after a successful upload. App preview must be enabled first. - Use
--send-update-notificationto queue native update-check notifications for channels whose linked bundle changed. Native notifications and push update notifications must be enabled for the app. - Important options:
--mode <framework>(cordovafor Cordova apps withoutcapacitor.config; webDir defaults towww)-p, --path <path>-c, --channel <channel[,channel...]>--rollout <percentage>--rollout-percentage-bps <basisPoints>--rollout-advance(promote the current rollout target to stable, then set the uploaded bundle as the new rollout; reuses the previous percentage unless--rolloutor--rollout-percentage-bpsis also set)--rollout-cache-ttl-seconds <seconds>-e, --external <url>--iv-session-key <key>-b, --bundle <bundle>--link <link>--comment <comment>--min-update-version <minUpdateVersion>--auto-min-update-version--ignore-metadata-check--fail-on-incompatible(fail the upload instead of uploading when the bundle is incompatible with a target channel's current native packages; cannot be combined with--ignore-metadata-checkor--accept-incompatible)--accept-incompatible(mark native-package incompatibility as handled: still checks and warns, continues the upload, skips the crash-warning email; cannot be combined with--fail-on-incompatibleor--ignore-metadata-check)--ignore-checksum-check--force-crc32-checksum--timeout <timeout>--zip--tus--tus-chunk-size <tusChunkSize>--delta(refuses over 10,000 files — delta tracks each file; use--no-deltafor a full zip, or reduce build files)--delta-only--no-delta--encrypted-checksum <encryptedChecksum>--auto-set-bundle--dry-upload--package-json <packageJson>--node-modules <nodeModules>--encrypt-delta--delete-linked-bundle-on-upload--no-brotli-patterns <patterns>--disable-brotli--version-exists-ok--self-assign--qr-preview--send-update-notification- S3 options:
--s3-region,--s3-apikey,--s3-apisecret,--s3-endpoint,--s3-bucket-name,--s3-port,--no-s3-ssl - Signing options:
--key-v2,--key-data-v2,--bundle-url,--no-key,--display-iv-session - Deprecated options still supported:
--multipart,--partial,--partial-only,--encrypt-partial
bundle compatibility [appId]
- Example:
npx @capgo/cli@latest bundle compatibility com.example.app --channel production - Use to check whether a bundle is safe for a given channel.
- Key options:
-c, --channel <channel>--text--package-json <packageJson>--node-modules <nodeModules>
bundle releaseType [appId]
- Example:
npx @capgo/cli@latest bundle releaseType com.example.app --channel production - Prints
nativeorOTAbased on channel compatibility. - Key options:
-c, --channel <channel>--package-json <packageJson>--node-modules <nodeModules>
bundle list [appId]
- Alias:
l - Example:
npx @capgo/cli@latest bundle list com.example.app
bundle delete [bundleId] [appId]
- Alias:
d - Example:
npx @capgo/cli@latest bundle delete BUNDLE_ID com.example.app
bundle cleanup [appId]
- Alias:
c - Example:
npx @capgo/cli@latest bundle cleanup com.example.app --bundle=1.0 --keep=3 - Notes:
- Linked bundles are preserved unless
--ignore-channelis used; with it, linked bundles are unlinked from their channels and deleted. - The Capgo API selects and deletes the bundles server-side (
POST /bundle/cleanup). Without--force, the CLI first shows a preview (dry run), asks for confirmation, then deletes only the bundles shown as removable, even if new bundles are uploaded meanwhile. - With
--force, selection and deletion happen in one request, with no preview. - Self-hosted Capgo:
bundle cleanupneeds a backend that servesPOST /bundle/cleanup; against an older backend it stops with "This Capgo API does not support server-side bundle cleanup".bundle deleteuses thecapgo_api2026-10-22contract ofDELETE /bundle; an older backend still deletes, but reports a missing bundle as a generic delete error. Update the backend or use an older CLI. bundle deletesends one request to the Capgo API, which reports a missing bundle directly. If the bundle is still linked to a channel, the CLI offers to unlink it and then retries the delete.- Key options:
-b, --bundle <bundle>-k, --keep <keep>-f, --force--ignore-channel
bundle zip [appId]
- Example:
npx @capgo/cli@latest bundle zip com.example.app --path ./dist - Offline packer example (for signed-URL uploads through the Capgo MCP):
npx @capgo/cli@latest bundle zip com.example.app --for-upload --delta-pack ./delta.zip --json - Notes:
- Produces a checksum for encryption workflows.
- Use
--jsonfor machine-readable output (JSON on stdout, logs on stderr). - Works offline: no API key, no calls to Capgo (no analytics either).
--for-uploadproduces exactly whatbundle uploadwould send: same zip, checksum algorithm, v2 encryption (.capgo_key_v2by default,--key-v2,--key-data-v2,--no-key), and addssession_key,key_id,native_packagesto the JSON. Without it, the zip is never encrypted (keeps thebundle zipthenbundle encryptflow).--delta-pack <file>(implies--for-upload) also writes a STORE zip withcapgo-delta-manifest.json(protocol_version,file_hash_format,delta_encryption,entries[]withfile_name,file_hash,compression=noneorbrotli,uploaded_bytes_sha256,uploaded_bytes_size,pack_path) and the uploaded bytes underfiles/<id>.- JSON keys:
bundle,filename,checksum,app_id,updater_version,checksum_algorithm,size_bytes,cli_version; with--for-upload:encryption_method,session_key,key_id,native_packages; with--delta-pack:delta_pack,delta_pack_entries,delta_file_hash_format,delta_encryption. - Key options:
-p, --path <path>-b, --bundle <bundle>-n, --name <name>-j, --json--no-code-check--key-v2 [key]--key-data-v2 <keyDataV2>--no-key--for-upload--delta-pack <file>--encrypt-delta--disable-brotli--force-crc32-checksum--package-json <packageJson>--node-modules <nodeModules>
bundle encrypt [zipPath] [checksum]
- Example:
npx @capgo/cli@latest bundle encrypt ./myapp.zip CHECKSUM - Notes:
- Returns the
ivSessionKeyneeded for upload and later decryption. - Key options:
--key <key>--key-data <keyData>-j, --json--package-json <packageJson>
bundle decrypt [zipPath] [checksum]
- Example:
npx @capgo/cli@latest bundle decrypt ./myapp_encrypted.zip CHECKSUM - Notes:
- Mainly for testing.
- Prints the base64 session key for verification.
- Key options:
--key <key>--key-data <keyData>--checksum <checksum>--package-json <packageJson>
Channel workflows
channel add [channelId] [appId]
- Alias:
a - Example:
npx @capgo/cli@latest channel add production com.example.app --default - Key options:
-d, --default--self-assign
channel list [appId]
- Alias:
l - Example:
npx @capgo/cli@latest channel list com.example.app - Requires a valid API key with
app.readandapp.read_channelspermission for the app. Permission failures identify the required permission. - Displays Yes/No settings and marks channels without a bundle as Unlinked. Narrow terminals show each channel as a Setting/Value table.
channel delete [channelId] [appId]
- Alias:
d - Example:
npx @capgo/cli@latest channel delete production com.example.app - Key options:
--delete-bundle--success-if-not-found
channel currentBundle [channel] [appId]
- Example:
npx @capgo/cli@latest channel currentBundle production com.example.app - Key options:
-c, --channel <channel>--quiet
channel promote [fromChannel] [toChannel] [appId]
- Example:
npx @capgo/cli@latest channel promote staging production com.example.app - Use to ship what a channel already serves (for example a validated
stagingorpreprodbundle) to another channel without looking up the bundle version. - Notes:
- Copies only the stable bundle linked to the source channel. Channel settings are not copied.
- Like
channel set --bundle, a new stable bundle stops any rollout in progress on the target channel; the CLI warns when that happens. - Runs the same native compatibility and RBAC checks as
channel set --bundleon the target channel. - Key options:
--ignore-metadata-check--accept-incompatible(cannot be combined with--ignore-metadata-check)--send-update-notification
channel set [channelId] [appId]
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcli/skills/release-management/SKILL.md
Popularity
- Repository stars
- 205
- Repository forks
- 131
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 8 Aug 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cap-go/capgo/release-management)