Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

capgo-live-updates

БесплатноБез исполняемых скриптовНе проверен

Sets 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…

Cap-goот Cap-go★ 79 звёзд на GitHub

Об этом скилле

Capgo Live Updates

Wire @capgo/capacitor-updater into a Capacitor app, ship the first bundle, and keep rollback safe.

Facts below were checked against @capgo/capacitor-updater 8.54.2 and @capgo/cli 8.104 (November 2026).

When to Use

TRIGGER when:

  • The user wants OTA / live updates, hotfixes without store review, or "Capgo" in a Capacitor app.
  • The updater plugin needs installing, upgrading, or configuring in capacitor.config.*.
  • The user asks about notifyAppReady, autoUpdate modes, directUpdate, autoSplashscreen, setChannel, getLatest, download, next, set, or reset.
  • Updates upload fine but devices never get them, roll back, or loop.

Do not use when:

  • The work is only CLI bundle, channel, rollout, or encryption-key commands. Use capgo-release-management.
  • The user needs a signed IPA/APK/AAB from Capgo Cloud. Use capgo-native-builds.
  • The user is moving from Capawesome Cloud (capawesome-live-update-migration) or Ionic Appflow (ionic-appflow-migration).
  • The user wants the whole release pipeline (OTA, native builds, and store publishing). Use capgo-release-workflows.
  • The request is about general CLI routing or MCP setup. Use capgo-cli-usage.

Reference Index

Only load a reference when its topic is in play.

File Load when
references/configuration.md Editing plugins.CapacitorUpdater in capacitor.config.*, choosing autoUpdate modes, self-hosted URLs
references/js-api.md Writing manual update flows, listeners, channel switching, or rollback code
references/channels-and-rollouts.md Channels, device self-assignment, progressive rollouts, version targeting
references/ci-cd.md Uploading from GitHub Actions, GitLab CI, or another CI
references/troubleshooting.md A device does not update, rolls back, or the backend returns an error code

Version Rule (read first)

The updater major version follows the Capacitor major version.

Capacitor Install
8.x npm install @capgo/capacitor-updater@latest (8.x line)
7.x npm install @capgo/capacitor-updater@lts-v7
6.x npm install @capgo/capacitor-updater@lts-v6
5.x npm install @capgo/capacitor-updater@lts-v5
4.x npm install @capgo/capacitor-updater@lts-v4

Capacitor 9 trap: Capacitor 9 is still prerelease (@capacitor/core@next). As of October 2026 there is no updater line for Capacitor 9. The 8.x line declares peerDependencies: @capacitor/core ^8.0.0. The @capgo/[email protected] on npm is an old Capacitor 5 release from 2023 and is marked deprecated, so never install it for Capacitor 9. Before you advise on a Capacitor 9 project, check the current tags with npm view @capgo/capacitor-updater dist-tags. If no Capacitor 9 line is listed, tell the user that.

Secrets and Confirmation

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.

  • Never ask the user to paste a Capgo API key, signing password, .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.
  • Do not put secrets in command arguments: they end up in shell history and process lists. Use environment variables, the saved login, or the CLI's interactive prompts.
  • If a secret appears in the conversation anyway, do not repeat it, do not write it to a file, and tell the user to revoke it and create a new one.
  • 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.
  • Ask before any command that changes remote state: uploading a bundle, changing or promoting a channel, deleting apps, bundles, channels, or keys, requesting a build that uploads to a store, and exporting or deleting credentials. Say what will change and for which app and channel.

Procedure

1. Inspect before editing

  • Read package.json to get the @capacitor/core major and any existing @capgo/capacitor-updater.
  • Read capacitor.config.ts|json to get appId, webDir, and any existing plugins.CapacitorUpdater.
  • Find the app entry point (main.ts, main.tsx, App.vue setup, app.component.ts, and so on). That is where notifyAppReady() goes.
  • Check for another OTA SDK. If one is present, stop and switch to the matching migration skill.

2. Connect the project (preferred path)

The guided onboarding registers the app, installs the plugin, patches the entry point, builds, uploads, and verifies on a device:

npx @capgo/cli@latest init

Ask the user to run it in their terminal: it signs in through the browser (or uses the key saved by login),

Полный SKILL.md на GitHub

Установить capgo-live-updates в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

metadata.jsonreferences/channels-and-rollouts.mdreferences/ci-cd.mdreferences/configuration.mdreferences/js-api.mdreferences/troubleshooting.md

FAQ

Что делает скилл capgo-live-updates?

Sets 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-live-updates?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл capgo-live-updates запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить capgo-live-updates с