skills/capawesome-cli/SKILL.md
Guides the agent through installing, authenticating, configuring, and using the Capawesome CLI (@capawesome/cli). Covers installation, interactive and token-based authentication, project linking via capawesome.config.json, the full command reference (app management, native builds, live updates, certificates, environments, channels, deployments, destinations, devices), CI/CD integration with token auth and JSON output, and diagnostics via the doctor command. Do not use for Capawesome Cloud feature setup (native builds workflow, live updates workflow, app store publishing) — use the capawesome-cloud skill instead.
npx skillsauth add capawesome-team/skills capawesome-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Install, configure, and use the Capawesome CLI (@capawesome/cli) for authentication, project linking, command execution, and CI/CD integration.
Before running any @capawesome/cli command for the first time, run it with the --help flag to review all available options.
Install globally:
npm install -g @capawesome/cli@latest
Alternatively, use npx to run commands without global installation:
npx @capawesome/cli <command>
Verify the installation:
npx @capawesome/cli doctor
The doctor command prints environment and CLI diagnostic information.
npx @capawesome/cli login
This opens a browser-based authentication flow. After completing the flow, the CLI stores the session locally.
npx @capawesome/cli login --token <TOKEN>
npx @capawesome/cli whoami
npx @capawesome/cli logout
Skip if the user already has a Capawesome Cloud app ID.
Create a new app:
npx @capawesome/cli apps:create --name "My App" --organization-id <ORGANIZATION_ID>
The CLI outputs the app ID (UUID). Save it for subsequent commands.
Skip for standard project setups where the app is in the repo root and uses npm install + npm run build.
For monorepos, subdirectory apps, or custom build commands, create capawesome.config.json in the project root:
{
"cloud": {
"apps": [
{
"appId": "<APP_ID>",
"baseDir": "apps/my-app",
"dependencyInstallCommand": "npm install",
"webBuildCommand": "npm run build"
}
]
}
}
Read references/project-configuration.md for all configuration options including monorepo, pnpm, and Yarn setups.
Read references/commands.md for the full command reference organized by category:
login, logout, whoamiapps:create, apps:delete, apps:get, apps:list, apps:transfer, apps:link, apps:unlinkapps:builds:create, apps:builds:cancel, apps:builds:download, apps:builds:get, apps:builds:list, apps:builds:logsapps:certificates:create, apps:certificates:list, apps:certificates:get, apps:certificates:update, apps:certificates:deleteapps:environments:create, apps:environments:list, apps:environments:set, apps:environments:unset, apps:environments:deleteapps:channels:create, apps:channels:delete, apps:channels:get, apps:channels:list, apps:channels:pause, apps:channels:resume, apps:channels:updateapps:liveupdates:create, apps:liveupdates:upload, apps:liveupdates:register, apps:liveupdates:bundle, apps:liveupdates:generatemanifest, apps:liveupdates:generatesigningkey, apps:liveupdates:rollback, apps:liveupdates:rollout, apps:liveupdates:setnativeversionsapps:deployments:create, apps:deployments:cancel, apps:deployments:get, apps:deployments:list, apps:deployments:logsapps:destinations:create, apps:destinations:list, apps:destinations:get, apps:destinations:update, apps:destinations:deleteapps:devices:delete, apps:devices:forcechannel, apps:devices:unforcechannel, apps:devices:probeorganizations:create, organizations:get, organizations:listdoctorapps:bundles:*, manifests:generate (kept for backward compatibility)Skip unless the user wants to run CLI commands in a CI/CD pipeline.
Read references/ci-cd-integration.md for the full CI/CD setup procedure covering:
--detached--json--yescommand not found: @capawesome/cli — The CLI is not installed globally. Either install with npm install -g @capawesome/cli@latest or prefix commands with npx.Not authenticated — Re-run npx @capawesome/cli login. For CI/CD, verify the token is valid and not expired.whoami returns unexpected user — Log out with npx @capawesome/cli logout and log in again with the correct account.--help to see all required and optional flags.doctor reports issues — Follow the diagnostic output to resolve environment problems (Node.js version, npm version, CLI version).capawesome.config.json not detected — Ensure the file is in the project root directory (same level as package.json). Verify the JSON is valid.capawesome-cloud — For setting up and using Capawesome Cloud features (native builds, live updates, app store publishing). Uses the CLI as a tool but covers the full workflow.capacitor-plugins — For installing and configuring Capacitor plugins, including the @capawesome/capacitor-live-update plugin.tools
Guides the agent through migrating Capacitor apps from discontinued Ionic Enterprise SDK plugins (Auth Connect, Identity Vault, Secure Storage) to their Capawesome alternatives (OAuth, Vault, Biometrics, Secure Preferences, SQLite). Covers dependency detection, side-by-side API mapping, code replacement, and platform-specific configuration for each plugin pair. Do not use for migrating Capacitor apps or plugins to a newer version, setting up Capawesome Cloud, or non-Capacitor mobile frameworks.
tools
Guides the agent through installing, configuring, and using Capacitor plugins from six sources — official Capacitor plugins, Capawesome plugins, Capacitor Community plugins, Capacitor Firebase plugins, Capacitor MLKit plugins, and RevenueCat plugins. Covers installation, platform-specific configuration (Android and iOS), and basic usage examples. Do not use for migrating Capacitor apps or plugins to a newer version, setting up Capacitor Live Updates, or non-Capacitor mobile frameworks.
tools
Guides the agent through Ionic Vue development patterns — project structure, Vue-specific Ionic components (IonPage, IonRouterOutlet, IonTabs), navigation with Vue Router and useIonRouter, Ionic lifecycle hooks (onIonViewWillEnter, onIonViewDidEnter, onIonViewWillLeave, onIonViewDidLeave), composable utilities (useIonRouter, useBackButton, useKeyboard), tab-based routing, lazy loading, platform detection with isPlatform, and troubleshooting common Vue-specific issues. Do not use for general Ionic component theming or CLI usage (use ionic-app-development), creating a new Ionic app (use ionic-app-creation), Capacitor-specific Vue patterns without Ionic (use capacitor-vue), upgrading Ionic versions (use ionic-app-upgrades), or non-Vue frameworks like Angular or React.
development
Guides the agent through Ionic Framework development with React — project structure, React-specific Ionic components, IonReactRouter and navigation patterns, Ionic lifecycle hooks (useIonViewWillEnter, useIonViewDidEnter, useIonViewWillLeave, useIonViewDidLeave), state management integration, and React-specific best practices for Ionic apps. Do not use for plain Capacitor React apps without Ionic (use capacitor-react), Ionic with Angular or Vue, creating a new Ionic app (use ionic-app-creation), upgrading Ionic to a newer version (use ionic-app-upgrades), or general Ionic component usage without React-specific context (use ionic-app-development).