بنقرة واحدة
foundation-cli-client
当用户需要通过 `foundation-cli client` 执行客户端部署、部署历史、客户端清单、Runner、数据源、部署配置或部署日志相关命令时使用。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
当用户需要通过 `foundation-cli client` 执行客户端部署、部署历史、客户端清单、Runner、数据源、部署配置或部署日志相关命令时使用。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when executing or verifying the AnyBackup Agent release deployment flow with KWeaver Core, Foundation, sandbox, V9 infra, and business services.
Use when an Agent must design user-visible AG-UI Markdown constraints before ag-ui-response publishes MQ, including layout, components, semantic labels, thought summaries, tool-call presentation, results, errors, clarification, and hidden-content boundaries.
Use when an Agent must produce user-visible Markdown and wrap it into the Decision Agent MQ field payload.ag_ui.
当用户需要通过 `foundation-cli api` 访问暂时没有标准业务命令覆盖的 Foundation REST API,或者用户直接给出原始路径、HTTP 方法、查询参数或请求体时使用。
当用户需要通过 `foundation-cli client` 执行客户端部署、部署历史、客户端清单、Runner、数据源、部署配置或部署日志相关命令时使用。
当用户需要通过 `foundation-cli host` 执行主机列表、主机保护对象、备份配置或主机恢复相关命令时使用。
| name | foundation-cli-client |
| description | 当用户需要通过 `foundation-cli client` 执行客户端部署、部署历史、客户端清单、Runner、数据源、部署配置或部署日志相关命令时使用。 |
| metadata | {"requires":{"bins":["foundation-cli"]},"cliHelp":"foundation-cli client --help"} |
当任务属于 foundation-cli client 域命令时,使用本技能。
本文档是入口,不是完整参考手册。它的作用是帮助 agent:
client 域。client 命令。references/commands/*.md 中对应的单命令文档。job 域技能。client 命令覆盖时,应回到共享技能重新判断是否改走 api 域。./references/commands/ 下对应的单命令文档。不要把本文档当成查询完整请求体、示例或排错细节的地方。
选择命令前,先用下面这些区分规则:
client deploy。jobId,使用 client deploy-history。client deploy-log list。client list。client detail。client datasource list。
--client-id。client runner list。client runner-types。client deploy-config create。
--os 和 --data。client deploy-config list。写入命令:
client deployclient deploy-config create只读命令:
client deploy-historyclient listclient detailclient datasource listclient runner listclient runner-typesclient deploy-config listclient deploy-log list对于写入命令,优先使用 --data 传递结构化载荷。
除非调用环境已经隐式提供,否则先确认这些参数:
--tenant-id--endpoint--ak--skdeploy-history 和 deploy-log list 混淆。
--job-id。runner list 和 runner-types 混淆。
runner list 返回 Runner 实例。runner-types 返回类型字典。--client-id 的情况下使用 datasource list。--client-id 的情况下使用 detail。deploy-config create 当成只读操作。| 意图 | 推荐命令 | 下一步打开的文件 |
|---|---|---|
| 下发客户端部署配置 | foundation-cli client deploy --tenant-id <tenant-id> --data '<json>' | deploy.md |
| 查询部署历史 | foundation-cli client deploy-history --tenant-id <tenant-id> | deploy-history.md |
| 查询客户端列表 | foundation-cli client list --tenant-id <tenant-id> [--index <n>] [--count <n>] [--type <type>] [--status <status>] [--client-type <type>] | list.md |
| 查询客户端详情 | foundation-cli client detail --tenant-id <tenant-id> --client-id <id> | detail.md |
| 查询某客户端的数据源 | foundation-cli client datasource list --tenant-id <tenant-id> --client-id <id> [--full-path <path>] [--business-type <n>] [--runner-type <type>] [--runner-user <user>] [--request-id <id>] [--index <n>] [--count <n>] | datasource-list.md |
| 查询 Runner 列表 | foundation-cli client runner list --tenant-id <tenant-id> [--index <n>] [--count <n>] | runner-list.md |
| 查询 Runner 类型 | foundation-cli client runner-types --tenant-id <tenant-id> | runner-types.md |
| 按操作系统创建部署主机配置 | foundation-cli client deploy-config create --tenant-id <tenant-id> --os <os> --data '<json>' | deploy-config-create.md |
| 查询部署主机配置列表 | foundation-cli client deploy-config list --tenant-id <tenant-id> | deploy-config-list.md |
| 查询部署日志 | foundation-cli client deploy-log list --tenant-id <tenant-id> --job-id <job-id> [--index <n>] [--count <n>] | deploy-log-list.md |
client datasource list 关键说明--business-type 1:恢复场景。--business-type 2:备份场景。--business-type 3:公共默认。--business-type 1 --runner-type MySQL --runner-user root--runner-type 建议优先参考 client runner-types 的实际返回结果,不要在调用侧写死固定枚举。