Skip to content
Agentmart
Submit a tool

capawesome-live-update-migration

Migrates a Capacitor app from Capawesome Cloud live updates (@capawesome/capacitor-live-update, LiveUpdate.ready/sync/setNextBundle/reload, plugins.LiveUpdate…

Skill by Cap-go

IndexedMIT★ 73
Write a review

Chalk Labs

Need help deploying capawesome-live-update-migration?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/cap-go-capawesome-live-update-migration

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Migrates a Capacitor app from Capawesome Cloud live updates (@capawesome/capacitor-live-update, LiveUpdate.ready/sync/setNextBundle/reload, plugins.LiveUpdate config with appId, autoUpdateStrategy, defaultChannel, readyTimeout, publicKey, and @capawesome/cli bundle upload commands) to Capgo Updater (@capgo/capacitor-updater). Covers the package swap, config and API mapping, the notifyAppReady startup hook, deleting custom update glue, replacing CI upload commands, overlap with devices still on old binaries, verification, and Capgo positioning (native updater runtime, open source, cheaper at comparable scale, longer track record). Do not use for Ionic Appflow (ionic-appflow-migration), a fresh Capgo setup (capgo-live-updates), channel and rollout strategy after migration (capgo-release-workflows), or Capawesome plugins unrelated to live updates.

Use cases: backend, devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 3

  • capgo.app · found in code
  • codeload.github.com · found in install command
  • github.com · found in code

Files it touches

  • ~/.claude/skills/capawesome-live-update-migration

What's inside

Skill name
capawesome-live-update-migration
Description
Migrates a Capacitor app from Capawesome Cloud live updates (@capawesome/capacitor-live-update, LiveUpdate.ready/sync/setNextBundle/reload, plugins.LiveUpdate config with appId, autoUpdateStrategy, defaultChannel, readyTimeout, publicKey, and @capawesome/cli bundle upload commands) to Capgo Updater (@capgo/capacitor-updater). Covers the package swap, config and API mapping, the notifyAppReady startup hook, deleting custom update glue, replacing CI upload commands, overlap with devices still on old binaries, verification, and Capgo positioning (native updater runtime, open source, cheaper at comparable scale, longer track record). Do not use for Ionic Appflow (ionic-appflow-migration), a fresh Capgo setup (capgo-live-updates), channel and rollout strategy after migration (capgo-release-workflows), or Capawesome plugins unrelated to live updates.
License
MIT
Instructions
158 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (2)

  • SKILL.md
  • metadata.json

SKILL.md (first lines)

# Capawesome Live Update Migration

Move a Capacitor app from Capawesome Cloud live updates to `@capgo/capacitor-updater` with the smallest useful change set.

Product source of truth: `https://capgo.app/docs/upgrade/from-capawesome-to-capgo/` (website source: `apps/docs/src/content/docs/docs/upgrade/from-capawesome-to-capgo.mdx`).

## When to Use

TRIGGER when:
- The repo references `@capawesome/capacitor-live-update`, `LiveUpdate.` calls, `plugins.LiveUpdate`, or `@capawesome/cli` / `capawesome` upload commands in scripts or CI.
- The user asks to move from Capawesome Cloud to Capgo, or for a Capgo vs Capawesome live-update comparison.
- An app already uses Capgo elsewhere and should consolidate live updates.

Do not use for:
- Ionic Appflow (`@capacitor/live-updates`, `cordova-plugin-ionic`) -> `ionic-appflow-migration`.
- No prior live-update provider -> `capgo-live-updates`.
- Channel design, staged rollouts, promotion -> `capgo-release-workflows`.

## Live Project Snapshot

Detected live-update packages:
!`node -e "const fs=require('fs');if(!fs.existsSync('package.json'))process.exit(0);const pkg=JSON.parse(fs.readFileSync('package.json','utf8'));const out=[];for(const section of ['dependencies','devDependencies']){for(const [name,version] of Object.entries(pkg[section]||{})){if(name.startsWith('@capawesome/')||name==='@capgo/capacitor-updater'||name==='@capgo/cli'||name==='@capacitor/core')out.push(section+'.'+name+'='+version)}}for(const [name,cmd] of Object.entries(pkg.scripts||{})){if(/capawesome|live-update|capgo/i.test(cmd))out.push('scripts.'+name+'='+cmd)}console.log(out.sort().join('\n'))"`

## Procedure

### Step 1: Detect the existing setup

```bash
rg -n "capawesome|LiveUpdate|capacitor-live-update|CapacitorUpdater|@capgo/capacitor-updater" \
  -g '!node_modules' package.json capacitor.config.* src ios android .github .gitlab-ci.yml 2>/dev/null
```

Record: installed package version, `plugins.LiveUpdate` settings, where `LiveUpdate.ready()` is called, any manual `sync`/`fetchLatestBundle`/`downloadBundle`/`setNextBundle`/`reload` flow, splash-screen logic tied to updates, CI upload commands and secret names.

### Step 2: Swap packages

```bash
npm uninstall @capawesome/capacitor-live-update
npm install @capgo/capacitor-updater
npx cap sync
```

This is the only mandatory package swap. The updater runtime ships as native code in the plugin. Keep other `@capawesome/*` plugins untouched.

### Step 3: Minimal Capgo config

```ts
import type { CapacitorConfig } from '@capacitor/cli';

const config: CapacitorConfig = {
  // appId, appName, webDir unchanged
  plugins: {
    CapacitorUpdater: {
      autoUpdate: true,
      autoDeletePrevious: true,
      // periodCheckDelay: 600, // optional: seconds between checks while open (minimum 600)
    },
  },
};

export default config;
```

`periodCheckDelay` is in seconds, not milliseconds; values below 600 are raised to 600.

| Capawesome `plugins.LiveUpdate` | Capgo |
|---|---|
| `appId` | Capgo app (created by `npx @capgo/cli@latest init`, keyed on the Capacitor `appId`); set `CapacitorUpdater.appId` only for multi-app binaries |
| `autoUpdateStrategy: 'background'` | `autoUpdate: true` |
| `autoUpdateStrategy: 'none'` (manual `sync`) | `autoUpdate: true` unless custom timing is a product requirement; otherwise `autoUpdate: false` + manual APIs |
| `defaultChannel` | Channel rules in Capgo dashboard/CLI, or `defaultChannel` for a per-build override |
| `autoDeleteBundles` | `autoDeletePrevious: true` |
| `autoBlockRolledBackBundles` | Built in: failed bundles are marked and not retried (`autoDeleteFailed`) |
| `readyTimeout` (ms) | `appReadyTimeout` (ms, default 10000) |
| `publicKey` (signing) | Capgo end-to-end encryption: `npx @capgo/cli@latest key create`, then `publicKey` is written to config |
| `httpTimeout` (ms) | `responseTimeout` (seconds, default 20) |
| `serverDomain` | Not needed for Capgo Cloud; `updateUrl`/`statsUrl`/`channelUrl` for self-hosting |

### Step 4: Startup hook

Replace `LiveUpdate.ready()` with:

```ts
import { CapacitorUpdater } from '@capgo/capacitor-updater';

void CapacitorUpdater.notifyAppReady();
```

Call it once the app shell renders, not behind login or a network request. If it is not called within `appReadyTimeout`, Capgo rolls back to the previous working bundle.

### Step 5: Delete unneeded JavaScript glue

Remove code that only exists to: check on resume, download in the background, set the next bundle, reload after download, hide the splash only after update checks, retry failed downloads, or clean up old bundles. Capgo's native auto-update does all of that. Keep manual calls only for explicit product requirements (custom "update available" UI, user-chosen channels).

### Step 6: Map optional manual APIs

| Capawesome `LiveUpdate.*` | Capgo `CapacitorUpdater.*` | Keep only if |
|---|---|---|
| `ready()` | `notifyAppReady()` | always |
| `sync()` | not needed (`autoUpdate: true`); `triggerUpdateCheck()` to force a check | custom timing |
| `fetchLatestBundle()` | `getLatest()` | custom discovery UI |
| `downloadBundle()` | `download({ url, version })` | app controls download timing |
| `setNextBundle()` | `next({ id })` | apply on next start |
| `reload()` | `reload()`, or `set({ id })` to switch and reload | apply immediately |
| `getCurrentBundle()` | `current()` | diagnostics |
| `getBundles()` / `getDownloadedBundles()` | `list()` | diagnostics |
| `deleteBundle()` | `delete({ id })` | manual cleanup |
| `reset()` | `reset()` | support tooling |
| `setChannel()` / `getChannel()` / `fetchChannels()` | `setChannel()` / `getChannel()` / `listChannels()` | user-selectable channels (enable self-assignment on the channel) |
| `setCustomId()` / `getDeviceId()` | `setCustomId()` / `getDeviceId()` | support/targeting |
| `getVersionName()` / `getVersionCode()` | `getBuiltinVersion()` | diagnostics |
| `addListener('nextBundleSet' / 'reloaded' / 'downloadBundleProgress')` | `addListener('setNext' / 'appReloaded' / 'download')` | UI feedback |

### Step 7: Replace upload automation

```bash
npx @capgo/cli@latest login <CAPGO_API_KEY>   # CI: set CAPGO_TOKEN instead
npm run build
npx @capgo/cli@latest bundle upload --path <webDir> --channel production

From Cap-go/capgo-skills, MIT.

More from Cap-go/capgo-skills

Signals

Stars
73
Forks
3
Open issues
0
Last commit (this folder)
Oct 11, 2026 (25 days ago)
Last release
Oct 11, 2026 (25 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
Website
capgo.app
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Cap-go

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get capawesome-live-update-migration running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying capawesome-live-update-migration?

CallGet help
Cite this page

capawesome-live-update-migration skill. Agent Mart. https://agentmart.dev/skills/cap-go-capawesome-live-update-migration (last updated 2026-10-24)