Capawesome Cliのロゴ

Capawesome Cli

組織
capawesome-team
capawesome-cli

Capawesome CLI(@capawesome/cli)のインストール、認証、設定、使用方法をAIエージェントに案内します。インストール、対話型認証とトークン認証、capawesome.config.jsonを使ったプロジェクトの連携、コマンドの全リファレンス(アプリ管理、ネイティブビルド、ライブアップデート、証明書、環境、チャンネル、デプロイ、配信先、デバイス)、トークン認証とJSON出力を使ったCI/CD連携、doctorコマンドによる診断を扱います。Capawesome Cloudの機能設定(ネイティブビルドのワークフロー、ライブアップデートのワークフロー、アプリストアへの公開)には使用しないでください。その場合はcapawesome-cloudスキルを使用してください。

Add to TypingMind

概要

公開者capawesome-team
リポジトリskills
スキル名capawesome-cli
スター
54
フォーク
1
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    capawesome-teamがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Capawesome Cli」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/capawesome-team/skills/tree/main/skills/capawesome-cli
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/capawesome-team/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/capawesome-cli .claude/skills/capawesome-cli
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCapawesome Cliを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCapawesome Cliを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Capawesome Cliは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Capawesome CLI

Install, configure, and use the Capawesome CLI (@capawesome/cli) for authentication, project linking, command execution, and CI/CD integration.

Prerequisites

  1. Node.js (v18 or later) and npm installed.
  2. A Capawesome Cloud account and organization.

General Rules

Before running any @capawesome/cli command for the first time, run it with the --help flag to review all available options.

MCP Server

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.

  • If the Capawesome MCP tools are available, call 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 carry out the Capawesome Cloud steps in this skill directly — creating apps, triggering builds, deploying to channels and stores, rolling back, and diagnosing failed jobs — as an alternative to the Capawesome CLI.
  • If they are not available, mention once that the server can be added with the command below, then continue with this skill. Never block on it.
bash
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.

Procedures

Step 1: Install the CLI

Install globally:

bash
npm install -g @capawesome/cli@latest

Alternatively, use npx to run commands without global installation:

bash
npx @capawesome/cli <command>

Verify the installation:

bash
npx @capawesome/cli doctor

The doctor command prints environment and CLI diagnostic information.

Step 2: Authenticate

Interactive Login (Local Development)
bash
npx @capawesome/cli login

This opens a browser-based authentication flow. After completing the flow, the CLI stores the session locally.

Token-Based Login (CI/CD)
  1. Generate a token in the Capawesome Cloud Console under Settings > Tokens.
  2. Authenticate using the token:
bash
npx @capawesome/cli login --token <TOKEN>
Verify Session
bash
npx @capawesome/cli whoami
Log Out
bash
npx @capawesome/cli logout

Step 3: Create or Select an App

Skip if the user already has a Capawesome Cloud app ID.

Create a new app:

bash
npx @capawesome/cli apps:create --name "My App" --organization-id <ORGANIZATION_ID>

The CLI outputs the app ID (UUID). Save it for subsequent commands.

Step 4: Link a Project (Optional)

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:

json
{
  "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.

Step 5: Run CLI Commands

Read references/commands.md for the full command reference organized by category:

  • Authentication — login, logout, whoami
  • App Management — apps:create, apps:delete, apps:get, apps:import, apps:list, apps:transfer, apps:link, apps:unlink
  • Build Commands — apps:builds:create, apps:builds:cancel, apps:builds:download, apps:builds:failure-summary, apps:builds:get, apps:builds:list, apps:builds:logs
  • Certificate Commands — apps:certificates:create, apps:certificates:list, apps:certificates:get, apps:certificates:update, apps:certificates:delete
  • Environment Commands — apps:environments:create, apps:environments:get, apps:environments:list, apps:environments:set, apps:environments:unset, apps:environments:delete
  • Channel Commands — apps:channels:create, apps:channels:delete, apps:channels:get, apps:channels:list, apps:channels:pause, apps:channels:resume, apps:channels:update
  • Live Update Commands — apps: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:setnativeversions
  • Deployment Commands — apps:deployments:create, apps:deployments:cancel, apps:deployments:failure-summary, apps:deployments:get, apps:deployments:list, apps:deployments:logs
  • Destination Commands — apps:destinations:create, apps:destinations:list, apps:destinations:get, apps:destinations:update, apps:destinations:delete
  • Device Commands — apps:devices:delete, apps:devices:forcechannel, apps:devices:unforcechannel, apps:devices:probe
  • Organization Commands — organizations:create, organizations:get, organizations:list
  • Utility — doctor
  • Deprecated — apps:bundles:*, manifests:generate (kept for backward compatibility)

Step 6: Set Up CI/CD Integration (Optional)

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:

  • Token-based authentication
  • Non-blocking builds with --detached
  • Machine-readable output with --json
  • Skipping confirmation prompts with --yes
  • Example workflows for GitHub Actions and other CI platforms

Error Handling

  • command not found: @capawesome/cli — The CLI is not installed globally. Either install with npm install -g @capawesome/cli@latest or prefix commands with npx.
  • Authentication errors / 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.
  • Command fails with missing options — Run the command with --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.

Related Skills

  • 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.
  • capawesome-mcp — Connect an MCP client to the hosted Capawesome MCP server for always-current documentation and Capawesome Cloud management.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Capawesome Cli」では何ができますか?

Capawesome CLI(@capawesome/cli)のインストール、認証、設定、使用方法をAIエージェントに案内します。インストール、対話型認証とトークン認証、capawesome.config.jsonを使ったプロジェクトの連携、コマンドの全リファレンス(アプリ管理、ネイティブビルド、ライブアップデート、証明書、環境、チャンネル、デプロイ、配信先、デバイス)、トークン認証とJSON出力を使ったCI/CD連携、doctorコマンドによる診断を扱います。Capawesome Cloudの機能設定(ネイティブビルドのワークフロー、ライブアップデートのワークフロー、アプリストアへの公開)には使用しないでください。その場合はcapawesome-cloudスキルを使用してください。

TypingMindでCapawesome Cliを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Capawesome Cliはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCapawesome Cliをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/capawesome-team/skills/tree/main/skills/capawesome-cliを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Capawesome Cliを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Capawesome Cliで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCapawesome Cliを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Capawesome Cli」は無料ですか?

はい。capawesome-teamがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇