Install
openclaw skills install @erickeyhu-hug/huawei-cloud-vpcep-listQuery the list of Huawei Cloud VPCEP (VPC Endpoint / VPC Endpoint Service) resources under the current tenant / project, focused on the VPCEP NAME list. Returns each VPC endpoint's name (endpoint_service_name), id, status and service type, and each endpoint service's name (service_name), id and status. Supports filtering by endpoint service name and pagination (limit/offset). Uses the KooCLI commands hcloud VPCEP ListEndpoints and hcloud VPCEP ListEndpointService --cli-region={region} (primary) against the v1 API, or the huaweicloudsdkvpcep Python SDK (fallback). Read-only — never creates, modifies or deletes any endpoint or service. Use this skill whenever the user wants to list/inspect the VPCEP endpoints or endpoint services of the tenant or query the VPCEP name list, e.g. for endpoint inventory, daily inspection, or connectivity review. Triggers include: "list VPCEP", "VPCEP list", "query VPCEP names", "VPCEP name list", "终端节点列表", "查询终端节点", "VPCEP名称", "终端节点名称", "list endpoints", "list endpoint services", "how many VPCEP endpoints".
openclaw skills install @erickeyhu-hug/huawei-cloud-vpcep-listThis skill queries the list of VPCEP (VPC Endpoint / VPC Endpoint Service)
resources under the current Huawei Cloud tenant / project and returns their key
attributes — in particular the VPCEP name list, along with id, status
and service_type. It is a read-only inspection skill: it never creates,
modifies, or deletes endpoints, endpoint services, or any related resources.
VPCEP contains two resource types, both covered by this skill:
hcloud VPCEP ListEndpoints. Each endpoint's
display name is the endpoint_service_name field.hcloud VPCEP ListEndpointService. Each service's
name is the service_name field.Architecture:
Agent → hcloud CLI (KooCLI, VPCEP ListEndpoints / ListEndpointService, primary)
→ Huawei Cloud VPCEP v1 API
↘ huaweicloudsdkvpcep Python SDK (fallback)
API paths (verified from huaweicloudsdkvpcep v1 SDK _http_info):
| Operation | Method | API Path |
|---|---|---|
| List VPC endpoints | GET | /v1/{project_id}/vpc-endpoints |
| List VPC endpoint services | GET | /v1/{project_id}/vpc-endpoint-services |
Applicable Scenarios:
能力边界(Capability Boundary): 本 Skill 仅查询 VPCEP(终端节点 / 终端节点服务)列表。不创建/删除/修改 终端节点或终端节点服务,也不查询单个资源详情(show-by-id)、连接审批、 权限管理等其它能力。 若用户询问"创建/删除终端节点"、"查询单个终端节点详情"、"审批连接"等, 请明确告知本 Skill 不提供该能力。
references/cli-installation-guide.mdhuaweicloudsdkvpcep package installed (SDK fallback only)vpcep:endpoints:list and vpcep:endpointServices:list
(or the system policy VPCEndpoint ReadOnlyAccess) are required to list
VPCEP resources. See references/iam-policies.md--cli-regionListEndpoints), endpoint services (ListEndpointService), or both.
The default is endpoints.cn-north-4; let the user override with another
region if needed.references/verification-method.md.endpoints: [] / endpoint_services: [] with HTTP 200). Verify the
filter value is legal before reporting "no matching resources" to the user.KooCLI format:
hcloud <Service> <Operation> --cli-region=<region> [--key=value]
hcloud VPCEP ListEndpoints --cli-region={region} --cli-output=json
A Python wrapper is provided at scripts/list_vpcep.py. It runs the CLI
commands (or the SDK fallback), prints results as JSON lines, and reports
execution quality to the skillsopr operations console via the vendored
scripts/skill_quality_sdk.py. Set SKILL_QUALITY_DISABLE=1 to disable
reporting (local debugging).
# List endpoint names (one per line)
python3 scripts/list_vpcep.py --names-only
# List endpoint services (names + ids + status)
python3 scripts/list_vpcep.py --resource-type services
# Filter by endpoint service name, paginated
python3 scripts/list_vpcep.py --resource-type endpoints --name my-service --limit 20 --offset 0
# Force SDK executor (fallback path)
python3 scripts/list_vpcep.py --resource-type endpoints --executor sdk
Project scoping note: the hcloud CLI resolves the account default project for the region, while the SDK region default may differ. If the SDK path returns an empty list while the CLI shows resources, pass
--project-id <id>to align the SDK scope (the id is visible in the CLI output'sproject_idfield).
hcloud VPCEP ListEndpoints --cli-region={region} --cli-output=json | jq -r '.endpoints[].endpoint_service_name'
hcloud VPCEP ListEndpoints --cli-region={region} --cli-output=json \
| jq -r '.endpoints[] | [.endpoint_service_name, .id, .status, .service_type] | @tsv'
hcloud VPCEP ListEndpoints --cli-region={region} --endpoint_service_name={name} --cli-output=json
hcloud VPCEP ListEndpoints --cli-region={region} --vpc_id={vpc_id} --cli-output=json
hcloud VPCEP ListEndpoints --cli-region={region} --limit=10 --offset=0 --cli-output=json
hcloud VPCEP ListEndpointService --cli-region={region} --cli-output=json
hcloud VPCEP ListEndpointService --cli-region={region} --cli-output=json | jq -r '.endpoint_services[].service_name'
hcloud VPCEP ListEndpointService --cli-region={region} --endpoint_service_name={name} --cli-output=json
hcloud VPCEP ListEndpointService --cli-region={region} --status={status} --cli-output=json
Note: In the VPCEP v1 list responses:
ListEndpointsreturnsendpoints[]; each item's display name is theendpoint_service_namefield (the endpoint itself has no separatenamefield).idis the endpoint id,statusis the endpoint status (e.g.accepted),service_typeisinterfaceorgateway.ListEndpointServicereturnsendpoint_services[]; each item's name is theservice_namefield,idis the service id,statusis the service status (e.g.available).limitdefault is 10 (range 0–500);offsetmust be an integer greater than 0. Use--limit=500to fetch more records per page.
| Parameter | Required | Description | Example |
|---|---|---|---|
{region} | Yes | Huawei Cloud region | cn-north-4 |
{resource_type} | No | endpoints (default) or services | endpoints |
{endpoint_service_name} | No | Endpoint service name filter (fuzzy match, case-insensitive) | my-service |
{id} | No | Unique resource id filter | df39acea-3538-4c31-86c3-682192de9c50 |
{vpc_id} | No | VPC id filter (endpoints only) | e5331bb4-c4af-4667-aabc-46593ffead50 |
{status} | No | Status filter (services only) | available |
{limit} | No | Max records returned (default 10, max 500) | 50 |
{offset} | No | Record offset (must be > 0) | 0 |
The KooCLI command format is:
hcloud <Service> <Operation> --cli-region=<region> [--key=value ...]
Note: this is a generic format template, not an executable command — replace
<Service>,<Operation>,<region>and the parameters with real values (e.g.hcloud VPCEP ListEndpoints --cli-region=cn-north-4).
VPCEP (starts with uppercase).ListEndpoints, ListEndpointService.--cli-region=<region>.--key=value, for example --limit=50.