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 从公开仓库中收录这些内容。

举报或申请下架