Resource Pool

Standalone SmartCMP resource-pool directory skill. Use when user says 查询可用的资源池, 查询资源池, 列出所有的资源池, list resource pools, or show all resource pools. This skill is read-only and should query the UI directory endpoint directly without asking for businessGroupId, sourceKey, or nodeType.

CloudChef 1306969 2 files · 3.3 KB Updated

File contents

resource-pool

List SmartCMP resource pools through the same standalone directory endpoint used by the CMP UI.

Purpose

Provide a precise, read-only skill for direct resource-pool browsing.

  • Query /resource-bundles
  • Default to the first 50 resource pools and use page for further results
  • Support optional keyword filtering with query_value
  • Return a numbered list for the user and a machine-readable metadata block for follow-up actions

Critical Rules

  • Do not ask for businessGroupId, sourceKey, or nodeType when the user only wants to browse resource pools.
  • Do not switch to the request workflow unless the user is actually preparing a request.
  • Keep the user-visible output to the numbered list of resource-pool names.
  • Treat IDs and other metadata as hidden backend state unless the user explicitly asks for them.

Handler

scripts/adapter.py:list_resource_pools converts the optional Tool query and calls the SmartCMP Provider directory operation. This Skill has one Tool, so one direct handler file is appropriate; no extra forwarding Python is kept.

CloudChef/atlasclaw-providers/tree/main/providers/SmartCMP-Provider/skills/resource-pool commit 130696995a

Frequently asked questions

npx skillmds@latest add cloudchef/resource-pool