一键导入
foundation-cli-storage
当用户需要通过 `foundation-cli storage` 执行存储服务、存储池、建池节点或节点设备相关命令时使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
当用户需要通过 `foundation-cli storage` 执行存储服务、存储池、建池节点或节点设备相关命令时使用。
用 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-storage |
| description | 当用户需要通过 `foundation-cli storage` 执行存储服务、存储池、建池节点或节点设备相关命令时使用。 |
| metadata | {"requires":{"bins":["foundation-cli"]},"cliHelp":"foundation-cli storage --help"} |
当任务属于 foundation-cli storage 域命令时,使用本技能。
本文件是入口,不是完整参考手册。 它的作用是帮助 agent:
storage 域。storage 命令。references/commands/*.md 中对应的单命令文档。network 域技能。storage 命令覆盖时,应回到共享技能重新判断是否改走 api 域。./references/commands/ 下对应的单命令文档。storage service list。storage pool list。storage pool create。storage pool delete。storage pool node list。storage pool node device list。service list 外,其余命令通常都依赖 --storage-svc-id。pool delete 额外依赖 --pool-id。pool node device list 额外依赖 --node-id。storage service list、storage pool list、storage pool node list、storage pool node device list 均已验证成功。storageresmgm 这组命令签名需遵循 SDK demo 的 forward 规则:请求路径保留 {storageSvcId},但签名 path 要去掉该段。写入命令:
storage pool createstorage pool delete只读命令:
storage service liststorage pool liststorage pool node liststorage pool node device list除非调用环境已经隐式提供,否则先确认这些参数:
--tenant-id--endpoint--ak--skstorage 域和 network 域混淆。--storage-svc-id 的情况下执行池相关命令。--pool-id 的情况下执行 pool delete。pool create 是写操作,且请求体较长时优先用 --body-file。| 意图 | 推荐命令 | 下一步打开的文件 |
|---|---|---|
| 获取存储服务列表 | foundation-cli storage service list --tenant-id <tenant-id> | service-list.md |
| 获取存储池列表 | foundation-cli storage pool list --tenant-id <tenant-id> --storage-svc-id <storage-svc-id> | pool-list.md |
| 创建存储池 | foundation-cli storage pool create --tenant-id <tenant-id> --storage-svc-id <storage-svc-id> --body-file <path> | pool-create.md |
| 删除存储池 | foundation-cli storage pool delete --tenant-id <tenant-id> --storage-svc-id <storage-svc-id> --pool-id <pool-id> | pool-delete.md |
| 获取可建池节点列表 | foundation-cli storage pool node list --tenant-id <tenant-id> --storage-svc-id <storage-svc-id> | pool-node-list.md |
| 获取节点设备列表 | foundation-cli storage pool node device list --tenant-id <tenant-id> --storage-svc-id <storage-svc-id> --node-id <node-id> | pool-node-device-list.md |