Capgo Cli Usage

Cap-go/capgo-skills/skills/capgo-cli-usage

作者 Cap-go2cfb277a148832bdb1a835b01e4de323687b498b無授權條款72 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫今天更新

Guides the agent through the Capgo CLI command surface and routes requests to more specific Capgo skills. Use when the user asks generally about the Capgo CLI, app setup, diagnostics, OTA operations, native builds, or organization commands. Do not use when a more specific Capgo skill already clearly matches the request.

AI 產生的概覽

將通用的 Capgo CLI 請求導向合適的 Capgo 子技能,並說明 CLI 指令與 MCP 設定。

功能
此技能是 Capgo CLI 的進入點,說明請求在什麼情況下留在路由層,什麼情況下應交給更特定的 Capgo 技能。它列出 OTA 套件與通道、原生雲端建置、組織與帳號指令的路由目標。它也說明如何透過託管 MCP 端點或本機 CLI MCP 將代理連接到 Capgo,並列出 init、login、doctor、probe、app add、app list、app delete、app set、app debug 與 mcp 等常用指令。它針對 CLI 驗證問題提供簡要的錯誤處理指引。
適用情境
當使用者籠統詢問 Capgo CLI、請求橫跨多個 Capgo 指令群組,或還不清楚該用哪個 Capgo 子流程時使用。若請求已明確符合某個更特定的 Capgo 技能,則不應使用。
執行需求
不隨附指令碼,僅為說明性內容。使用所述流程需要透過網路以 npx 執行 Capgo CLI,並需要 OAuth 登入或 Capgo API 金鑰以存取託管 MCP 伺服器;涉及帳號的操作需要 Capgo 帳號。

Capgo CLI Usage

Use this skill as the entry point for Capgo CLI command routing.

When to Use This Skill

  • User asks generally how to use the Capgo CLI
  • The request spans multiple Capgo command groups
  • The right Capgo sub-workflow is not obvious yet

Routing

Route specific workflows to the matching skill:

  • OTA bundles and channels -> capgo-release-management
  • native cloud builds -> capgo-native-builds
  • organizations and account commands -> capgo-organization-management

Connect the Agent to Capgo (MCP)

Capgo has two MCP servers. Use both when available.

  • Hosted MCP: https://api.capgo.app/mcp (streamable HTTP). Nothing to install; the client signs in with OAuth, or sends Authorization: Bearer <Capgo API key>. The hosted MCP includes destructive tools, so use an API key with the smallest role the task needs (read-only for reporting). Covers apps, bundles, channels, progressive rollouts, devices, stats, update health, native build status and logs, webhooks, and push notifications. Example for Claude Code: claude mcp add --transport http capgo https://api.capgo.app/mcp, then /mcp to sign in.
  • Local CLI MCP: npx @capgo/cli@latest mcp (stdio). Needed to upload a bundle from the build folder, request a native build, or run doctor.

No Capgo account yet: sign up at https://console.capgo.app (14-day free trial, no credit card). Docs: https://capgo.app/docs/ai/mcp/

Common Commands

  • init
  • login
  • doctor
  • probe
  • app add
  • app list
  • app delete
  • app set
  • app debug
  • mcp

Prefer the current CLI form:

bash
npx @capgo/cli@latest doctor

Error Handling

  • If the request is specific enough for a narrower Capgo skill, switch to that skill instead of staying at the routing layer.
  • For CLI auth issues, fix login first before troubleshooting downstream commands.

來源與署名

來源:Cap-go/capgo-skills位於skills/capgo-cli-usage提交2cfb277

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架