huawei-cloud-vpcep-list
БесплатноЗапускает вложенные скриптыНе проверен1. List Huawei Cloud VPCEP (VPC 终端节点服务) resources in a tenant through KooCLI — three read-only views: terminal endpoints (`VPCEP ListEndpoints`, GET…
от wlc-dev191 установка в других каталогахОб этом скилле
Huawei Cloud VPCEP (终端节点服务) Endpoint / Service List
Overview
Query the VPCEP inventory of a tenant through KooCLI read-only GET APIs: terminal endpoints (ListEndpoints), endpoint services owned by the account (ListEndpointService), and public endpoint services published by O&M (ListServicePublicDetails). The skill targets troubleshooting ("the endpoint is created but cannot connect", "which endpoints hang under this VPC", "what is the public endpoint service name for OBS/DNS") and daily inventory.
Architecture:
agent → python3 scripts/list_vpcep.py --view endpoint|service|public
→ VPCEP ListEndpoints | ListEndpointService | ListServicePublicDetails
--cli-region=<region> --limit=<n> --offset=<n> [+ real query params]
→ Huawei Cloud VPCEP OpenAPI (vpcep.<region>.myhuaweicloud.com)
→ client-side filters → concise / --table / --json / --format md
(hcloud binary missing) → fallback: huaweicloudsdkvpcep
VpcepClient.list_endpoints / list_endpoint_service /
list_service_public_details
Key properties:
- Read-only by design — only GET list operations are ever invoked. A write-intent guard scans arguments before argparse and rejects mutating vocabulary (create / delete / update / batch / whitelist / accept / reject / bind / unbind, …) with exit code 1 before a single command runs.
- CLI first, SDK fallback — KooCLI is the primary execution path; when the
hcloudbinary is absent the script falls back to the officialhuaweicloudsdkvpcepSDK. Credentials are always read by the CLI profile / SDK environment — never handled or echoed by the script. - Three views —
--view endpoint(default),--view service(services owned by the account),--view public(public services visible to all users). - Offset + limit paging — every request sends
--limitand--offset; paging stops at a short page or whentotal_countis reached (max 100 pages). - Non-available highlighted — status other than
availableis rendered in a separate exception section with a[!]marker and[异常]status cell. - Offline-testable — mock-hcloud and fake-SDK unit tests cover every view, paging, filters, guard, error classification and Markdown export.
Out of scope: all mutating VPCEP actions (create / update / delete an endpoint or service, add / remove permissions or whitelist entries, accept / reject connections, bind / unbind routetables). Those require a dedicated write-capable skill with explicit 用户确认 (user confirmation).
Prerequisites
- KooCLI (
hcloud) installed — see references/cli-installation-guide.md. Alternative:pip install huaweicloudsdkcore huaweicloudsdkvpcepto enable the SDK fallback path. - Active credential profile — configure credentials out-of-band (run the KooCLI configure command in your terminal, or set credential environment variables). Never paste AK/SK into chat; the script never reads, echoes, or stores secrets itself — authentication is delegated entirely to the hcloud profile / SDK environment.
- project_id (SDK fallback only) — VPCEP REST paths are
/v1/{project_id}/vpc-endpointsand/v1/{project_id}/vpc-endpoint-services; when falling back to the SDK, supply the project id via--project-idor theHUAWEICLOUD_SDK_PROJECT_ID/HUAWEI_PROJECT_IDenvironment variables. KooCLI resolves it from the profile automatically. - IAM permission — read-only
vpcep:endpoints:list,vpcep:endpointServices:listandvpcep:endpointServices:listPublic; least-privilege policy in references/iam-policies.md. - Python 3.8+ (standard library only — argparse / json / subprocess).
- Outbound HTTPS access to
vpcep.cn-north-4.myhuaweicloud.com.
Workflow
- Confirm the target region (default
cn-north-4) and the view:endpoint(default),service, orpublic. - Confirm KooCLI readiness (optional, read-only) by listing the active credential profile.
- Run the list script with the desired view, output mode and filters.
- Read the result — concise list for humans,
--tablefor a fixed-column inventory,--jsonfor downstream tooling,--format mdfor a local report. - Handle non-available resources — they appear in the separate exception
section; use
--status failed(or another state) to list only abnormal rows. - Handle empty / error cases per the Error Handling table below (the script prints explicit Chinese hints for empty region, 403, invalid ID and missing AK/SK).
Core Commands
# Endpoint view (default): concise name / status / service list
python3 scripts/list_vpcep.py --region cn-north-4
# Endpoint view fixed-column table
python3 scripts/list_vpcep.py --table --region cn-north-4
# Endpoint services owned by the account
python3 scripts/list_vpcep.py --view service --table --region cn-nor
Установить huawei-cloud-vpcep-list в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-vpcep-list?
1. List Huawei Cloud VPCEP (VPC 终端节点服务) resources in a tenant through KooCLI — three read-only views: terminal endpoints (`VPCEP ListEndpoints`, GET /v1/{project_id}/vpc-endpoints), endpoint services owned by the account (`VPCEP ListEndpointService`, GET /v1/{project_id}/vpc-endpoint-services), and public endpoint services published by O&M (`VPCEP ListServicePublicDetails`, GET /v1/{project_id}/vpc-endpoint-services/public). Falls back to the official `huaweicloudsdkvpcep` SDK when hcloud is absent. 2. Three views: --view endpoint (default) / service / public; offset+limit paging until a short page; client-side filters --name / --fuzzy / --id / --vpc-id / --service-name / --status; --region override (default cn-north-4). 3. Output modes: concise name/status/service list (default), fixed-column --table (ID / 名称 / 状态 / 所属服务名 / 服务ID / 服务类型 / IP / VPC ID / 是否启用DNS / 是否启用白名单 / 创建时间 / region), raw --json, and --format md (fixed columns, '-' for missing fields, atomic write). 4. Non-available resources (creating / failed / deleting / rejected) are split into a separate highlighted section and never mixed with available rows; `--status failed` can list only abnormal endpoints. 5. Explicit Chinese hints for empty lists, invalid IDs, 403 / missing IAM permission, missing AK/SK credentials and KooCLI [USE_ERROR], with a non-zero exit code and no traceback. 6. Built-in write-intent guard: create / update / delete / batch-add / batch-remove / add-whitelist / remove-whitelist / accept / reject / bind / unbind intents are rejected before execution (exit 1); this skill is strictly read-only. 7. Triggers include: "查询 VPCEP", "终端节点列表", "VPC 终端节点", "终端节点服务", "公共终端节点服务", "VPCEP endpoint inventory", "list vpc endpoints", "list endpoint services", "list public endpoint services", "华为云 VPCEP".
Как установить скилл huawei-cloud-vpcep-list?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-vpcep-list запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic