/capawesome-cloud:capawesome-clifrom capawesome-cloud
Guides running, authenticating, and using the Capawesome CLI (@capawesome/cli) for Capawesome Cloud. Covers npx usage, login, command reference, build config, CI/CD pipelines, and diagnostics.
Ships in capawesome-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.
Run, authenticate and use the Capawesome CLI (@capawesome/cli) to manage Capawesome Cloud from the terminal and from CI/CD pipelines.
This skill matches CLI version 4.30.0.
node --version and npm --version.An agent cannot answer a question in the terminal. The CLI asks such questions when a required option is missing. Apply these rules to every command:
npx: npx @capawesome/cli <command> [options].references/commands.md.--yes where the command has it. It skips confirmation questions and optional questions.--json where the command has it. Read IDs from the JSON output.--password "$ANDROID_KEYSTORE_PASSWORD", or the path to a file. Never ask the user to paste a secret into the chat.--help over this skill. npx @capawesome/cli <command> --help prints the options of the installed version. The CLI rejects an option that it does not know.CI=true in front of the command. The CLI then fails with a clear error and does not ask.The Capawesome MCP server serves the current Capawesome documentation, so it is always ahead of the guidance bundled with this skill. With an API token it also exposes the Capawesome Cloud management API.
search_docs for the topic and read the matching page with get_doc_page before applying the guidance below. Where the two disagree, follow the documentation. The cloud_* tools can do many steps of this skill without the CLI, for example cloud_create_app, cloud_create_app_build, cloud_create_app_deployment, cloud_create_app_automation and cloud_diagnose_job.apps:liveupdates:upload, apps:builds:create --path). A value that is passed to an MCP tool becomes part of the conversation.claude mcp add --transport http capawesome "https://mcp.capawesome.io/mcp"
The documentation tools need no account and no token. See the capawesome-mcp skill for full setup, including the Capawesome Cloud tools.
No installation is needed. npx downloads the CLI on first use.
In a shell with a terminal attached, npx asks Ok to proceed? (y) before it downloads a package. An agent cannot answer that. Put --yes right after npx for the first run. This --yes belongs to npx, so it stands before the package name.
Print the versions of Node.js, npm and the CLI:
npx --yes @capawesome/cli doctor
Read the line CLI version in the output:
npx uses an older copy. Run every command of this skill as npx --yes @capawesome/cli@latest <command>.Do not install the CLI globally unless the user asks for it. A global install (npm install -g @capawesome/cli) changes the machine of the user. Commands stay the same after a global install.
Check whether a valid token exists:
npx @capawesome/cli whoami
Logged in as <email>.: Tell the user which account is used. Continue with Step 3.Not logged in. or Token is invalid. Please sign in again.: Continue with 2.If the output was Token is invalid. Please sign in again., run npx @capawesome/cli logout first. A saved login wins over the variables.
Pick the login that fits:
Local machine with a browser: The browser login needs a terminal and a human. Tell the user to run this command in their own terminal and to choose Login with a web browser:
npx @capawesome/cli login
The CLI shows a one-time code and opens the Capawesome Cloud Console. The user enters the code there. Wait until the user confirms. Then run npx @capawesome/cli whoami again.
Machine without a browser: Use an API token. The user creates the token at https://console.cloud.capawesome.io/settings/tokens. Then the user sets CAPAWESOME_TOKEN in the terminal or shell profile that starts the agent, then restarts the agent. The CLI reads this variable by itself. Never ask the user to paste the token into the chat. After the restart run npx @capawesome/cli whoami again.
CI/CD pipeline: Read references/ci-cd-integration.md, Step 3.
The CLI looks for a token in this order: the token saved by login, then CAPAWESOME_CLOUD_TOKEN, then CAPAWESOME_TOKEN. A saved login wins over both variables.
To remove the saved login:
npx @capawesome/cli logout
Most commands need the ID of the app (a UUID). Skip this step if the user gave the app ID.
List the organizations and read the id of the right one:
npx @capawesome/cli organizations:list --json
If the list holds more than one organization, ask the user which one to use.
List the apps of the organization and read the id of the right one:
npx @capawesome/cli apps:list --organization-id <ORGANIZATION_ID> --json
If the app does not exist yet, create it. Ask the user for the name first.
npx @capawesome/cli apps:create --name "<APP_NAME>" --organization-id <ORGANIZATION_ID> --json --yes
The command prints { "id": "<APP_ID>" }. Keep the ID for all commands that follow.
Skip this step unless builds should use the code from Git (--git-ref) or an automation should start builds. A live update that is uploaded from the local machine and a build from --path need no Git connection.
Run this inside the Git repository of the app:
npx @capawesome/cli apps:link --app-id <APP_ID>
The CLI reads the remote origin and uses the first Git connection of the organization for that Git provider.
Repository connected successfully.: Done.No <provider> git connection found in the organization.: A human must connect the Git provider first. Tell the user to open https://console.cloud.capawesome.io/organizations/_/git and to add the connection. Wait until the user confirms. Then run the command again.Unsupported git provider for hostname: The command supports github.com, gitlab.com, bitbucket.org and Azure DevOps. For any other host tell the user to connect the repository on the Git page of the app in the Capawesome Cloud Console (https://console.cloud.capawesome.io/apps/_/git).Skip this step when the app is in the root of the repository, uses npm and builds its web assets with the build script of package.json.
For a monorepo, an app in a subfolder, pnpm, Yarn, bun or a custom build command, read references/project-configuration.md and create capawesome.config.json in the root of the Git repository.
Common tasks, each in the form that asks no terminal question:
| Task | Command |
|---|---|
| Upload built web assets as a live update | npx @capawesome/cli apps:liveupdates:upload --app-id <APP_ID> --path <WEB_ASSETS_DIR> --channel <CHANNEL_NAME> --json --yes |
| Roll a channel back by one deployment | npx @capawesome/cli apps:liveupdates:rollback --app-id <APP_ID> --channel <CHANNEL_NAME> --steps 1 |
| Start a native build from Git | npx @capawesome/cli apps:builds:create --app-id <APP_ID> --platform android --type debug --git-ref main --detached --json --yes |
| Start a native build from the local folder | npx @capawesome/cli apps:builds:create --app-id <APP_ID> --platform android --type debug --path . --detached --json --yes |
| Read the state of a build | npx @capawesome/cli apps:builds:get --app-id <APP_ID> --build-id <BUILD_ID> --json (state in job.status) |
| Download a build artifact | npx @capawesome/cli apps:builds:download --app-id <APP_ID> --build-id <BUILD_ID> --apk ./app-debug.apk |
| Explain a failed build | npx @capawesome/cli apps:builds:failure-summary --app-id <APP_ID> --build-id <BUILD_ID> |
| Submit a build to a store destination | npx @capawesome/cli apps:deployments:create --app-id <APP_ID> --build-id <BUILD_ID> --destination "<DESTINATION_NAME>" --json |
| Build on every push to a branch | npx @capawesome/cli apps:automations:create --app-id <APP_ID> --name "<AUTOMATION_NAME>" --platform android --type debug --trigger-type branch --trigger-pattern "main" --json |
Facts that matter for these commands:
--detached --json --yes. The command then exits as soon as the build is queued and prints { "id": "<BUILD_ID>", "numberAsString": "<BUILD_NUMBER>" } as the last output.apps:builds:get until job.status is succeeded, failed, canceled, rejected or timed_out. The states queued, pending and in_progress mean that the build is not finished.--detached, apps:builds:create waits for the build, prints its log and exits with code 1 when the build fails. Use that form only where no time limit ends the command, for example in a CI/CD pipeline.--git-ref uses the code that is pushed to the repository, not the local folder. Commit and push first, or use --path.--channel goes to the default channel of the app. Every app starts with a channel named default.For every other command read references/commands.md. Search the file for the heading of the command, for example ### apps:builds:create. It lists every option, its type, whether it is required and the question the CLI asks when it is missing.
login, logout, whoamiapps:create, apps:delete, apps:get, apps:import, apps:link, apps:list, apps:transfer, apps:unlink, apps:updateapps:automations:create, apps:automations:delete, apps:automations:get, apps:automations:list, apps:automations:updateapps:builds:cancel, apps:builds:create, apps:builds:download, apps:builds:failure-summary, apps:builds:get, apps:builds:list, apps:builds:logs, apps:builds:run, apps:builds:share, apps:builds:unshareapps:certificates:create, apps:certificates:delete, apps:certificates:get, apps:certificates:list, apps:certificates:updateapps:channels:create, apps:channels:delete, apps:channels:get, apps:channels:list, apps:channels:pause, apps:channels:resume, apps:channels:updateapps:configurations:create, apps:configurations:delete, apps:configurations:get, apps:configurations:list, apps:configurations:updateapps:deployments:cancel, apps:deployments:create, apps:deployments:failure-summary, apps:deployments:get, apps:deployments:list, apps:deployments:logsapps:destinations:create, apps:destinations:delete, apps:destinations:get, apps:destinations:list, apps:destinations:updateapps:devices:delete, apps:devices:forcechannel, apps:devices:probe, apps:devices:unforcechannelapps:environments:create, apps:environments:delete, apps:environments:get, apps:environments:list, apps:environments:set, apps:environments:unsetapps:liveupdates:bundle, apps:liveupdates:create, apps:liveupdates:generatemanifest, apps:liveupdates:generatesigningkey, apps:liveupdates:register, apps:liveupdates:rollback, apps:liveupdates:rollout, apps:liveupdates:setnativeversions, apps:liveupdates:uploadorganizations:create, organizations:get, organizations:listapi (one request to the Capawesome Cloud API), doctorapps:bundles:create, apps:bundles:update, apps:bundles:delete, manifests:generate. They do nothing and exit with code 1.Skip this step unless the user wants builds or live updates without a manual command.
Read references/ci-cd-integration.md. It starts with one decision:
apps:automations:create. Capawesome Cloud starts the build by itself. No pipeline file and no stored token are needed.--yes, --json and a pinned CLI version.| Variable | Effect |
|---|---|
CAPAWESOME_TOKEN | API token. Used when no login is saved. |
CAPAWESOME_CLOUD_TOKEN | Same as CAPAWESOME_TOKEN. Wins when both are set. |
CI | When set, the CLI never asks a question. |
HTTPS_PROXY, HTTP_PROXY | Proxy for outgoing requests. |
CAPAWESOME_TELEMETRY_DISABLED | Set to 1 to turn crash reports off. |
command not found: capawesome: The CLI is not installed globally. Run it as npx @capawesome/cli <command>.You must be logged in to run this command., Not logged in. or Token is invalid. Please sign in again.: Go to Step 2.whoami shows another account than expected: A saved login wins over CAPAWESOME_TOKEN. Run npx @capawesome/cli logout, then check again.You must provide ... when running in non-interactive environment.: A required option is missing. Add the option that the error names. Find it in references/commands.md.--yes. See General Rules.npx prints Ok to proceed? (y) and waits: Stop the command. Run it again with --yes right after npx: npx --yes @capawesome/cli <command>.App ID must be a UUID.: The value of --app-id is not an ID. Get the ID with npx @capawesome/cli apps:list --organization-id <ORGANIZATION_ID> --json.references/commands.md names: The installed CLI is older than 4.30.0. Run the command as npx @capawesome/cli@latest <command>.New version of Capawesome CLI available: This is a warning. The command still ran. Use npx @capawesome/cli@latest <command> for the next commands.Could not read the git remote URL.: apps:link was not run inside a Git repository, or the repository has no remote named origin. Change into the repository of the app.npx @capawesome/cli apps:builds:failure-summary --app-id <APP_ID> --build-id <BUILD_ID> for a summary of the cause, or npx @capawesome/cli apps:builds:logs --app-id <APP_ID> --build-id <BUILD_ID> for the full log. For a deployment use apps:deployments:failure-summary and apps:deployments:logs with --deployment-id.apps:bundles:* and manifests:generate no longer do anything. Use the replacement from the last section of references/commands.md.capawesome-cloud: For the full setup of Capawesome Cloud features (native builds, live updates, app store publishing). It uses the CLI as a tool and covers the whole workflow.capawesome-mcp: Connect an MCP client to the hosted Capawesome MCP server for current documentation and Capawesome Cloud management without the CLI.capacitor-plugins: For installing and configuring Capacitor plugins, including the @capawesome/capacitor-live-update plugin.ionic-appflow-migration: For moving from Ionic Appflow to Capawesome Cloud. It uses apps:import.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/capawesome-cloudGuides the agent through setting up and using Capawesome Cloud for Capacitor and Cordova apps with the Capawesome CLI. Covers four workflows: (1) Live Updates: OTA updates via the @capawesome/capacitor-live-update (Android, iOS, Electron) or @capawesome/cordova-live-update plugin, channels, versioning, rollbacks, code signing, and analytics. (2) Native Builds: cloud builds for iOS and Android from a Git repository or from local files, signing certificates, environments, native configurations, artifacts, and share links. (3) Automations: builds that start inside Capawesome Cloud on a Git push or tag, with optional store submission or live update. (4) App Store Publishing: submissions to App Store Connect (TestFlight), Google Play, Huawei AppGallery, and Firebase App Distribution. Includes CI/CD integration for external pipelines. Do not use for non-Capacitor, non-Cordova mobile frameworks such as React Native or Flutter./capawesome-mcpGuides the agent through connecting an MCP client to the hosted Capawesome MCP server, which exposes always-current Capawesome documentation search and the Capawesome Cloud management API (apps, builds, deployments, automations, channels, devices, environments, certificates, destinations, license keys, organizations). Covers setup for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Zed and stdio-only clients, API token creation, toolset selection, read-only mode, secret handling, verification, and troubleshooting. Do not use for installing Capacitor plugins, migrating apps or plugins to a newer version, running Capawesome CLI commands, or MCP servers other than Capawesome.npx claudepluginhub capawesome-team/skills --plugin capawesome-cloudOther plugins' skills for the same job