with one click
foundation-cli-job
当用户需要通过 `foundation-cli job` 查询作业信息,或执行作业终止/删除时使用。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
当用户需要通过 `foundation-cli job` 查询作业信息,或执行作业终止/删除时使用。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | foundation-cli-job |
| description | 当用户需要通过 `foundation-cli job` 查询作业信息,或执行作业终止/删除时使用。 |
| metadata | {"requires":{"bins":["foundation-cli"]},"cliHelp":"foundation-cli job --help"} |
当任务属于 foundation-cli job 域命令时,使用本技能。
只读命令:
job listjob backup-detailjob sync-detailjob child listjob logsjob business-typesjob app-types写入命令:
job stopjob deletejob listjob child listjob backup-detailjob sync-detailjob logsjob stopjob deletejob stop 仅建议用于状态 200/300/310/500 的作业。job delete 仅建议用于终态 600/700/800/900/1000/1100 的作业。--tenant-id、--endpoint、--ak、--sk--job-id--data 或 --body-file(传完整 JSON)--job-id(自动组装为 {"jobIds":[...]})| 状态码 | 枚举名 | 含义 |
|---|---|---|
0 | ExecStatusProto_Not_Start | 未启动 |
10 | ExecStatusProto_Approving | 审批中 |
100 | ExecStatusProto_Queuing | 排队中 |
200 | ExecStatusProto_Ready | 准备中 |
300 | ExecStatusProto_Running | 正在执行 |
310 | ExecStatusProto_Retrying | 重试中 |
400 | ExecStatusProto_Stopping | 正在停止 |
500 | ExecStatusProto_Abnormal | 异常 |
600 | ExecStatusProto_Failed | 失败 |
700 | ExecStatusProto_Canceled | 已取消 |
800 | ExecStatusProto_Success | 成功 |
900 | ExecStatusProto_WarnSuss | 成功但有警告 |
1000 | ExecStatusProto_PartSuss | 部分成功 |
1100 | ExecStatusProto_Stopped | 已停止 |
说明:
job stop 推荐仅用于 200/300/310/500。job delete 推荐仅用于终态 600/700/800/900/1000/1100。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` 执行主机列表、主机保护对象、备份配置或主机恢复相关命令时使用。