Skills/ClawHub/huawei-cloud-dcs-list

huawei-cloud-dcs-list@1.0.9

VERIFIED· install only

Publisher claims: "1. List Huawei Cloud DCS (Distributed Cache Service, Redis / Memcached) instances in a tenant region through KooCLI (hcloud DCS ListInstances — read-only GET /v2/{project_id}/instances), with an automatic fallback to the official huaweicloudsdkdcs v2 SDK when hcloud is not installed. 2. Default output is the compact instance-name list (名称列表, also available via --names-only); --table renders the full-field table (名称/ID/引擎/版本/容量/规格/状态/连接地址/端口/可用区), --json outputs the raw response array, --md / --format md prints a GitHub-flavored Markdown table with the same fixed ten columns as export-markdown 口径 (缺失字段渲染 `-`, `|` 转义为 `\|`, 换行转空格), and --csv / --format csv prints an RFC4180 CSV table with the same ten columns (缺失字段为空字符串, 逗号/双引号/换行由标准 csv 模块 转义, CRLF 行尾). --md-output <path> / --csv-output [<path>] 可把表格原子 落盘(内容与 stdout 一致);--csv-output 省略路径或传目录时用默认文件名 dcs_instances_<region>_<timestamp>.csv;--csv-bom 输出 UTF-8 BOM. 3. Supports --name (server-side fuzzy query, plus --name-equal exact match), --instance-id / --ip / --status / --tags filtering (all real server-side ListInstances query parameters), region override, optional --sort-by name|created (client-side ascending order: case-insensitive instance name or created_at, missing values last, stable), and automatic limit/offset paging. 4. Explicit error hints for empty instance lists (「当前区域无 DCS 实例」), 403 / insufficient IAM permission (「无权限访问分布式缓存服务(DCS)」), missing or invalid AK/SK credentials, missing project_id on the SDK fallback, and hcloud not installed. 5. Built-in write-intent guard: any mutating intent (create / delete / update / resize / restart / flush / clear / restore / backup / freeze) or any operation other than ListInstances is rejected before execution — this skill is strictly read-only. 6. Triggers include: "list DCS instances", "DCS instance list", "查询 DCS 实例列表", "DCS 实例列表", "Redis 实例列表", "缓存实例列表", "查询缓存实例", "DCS inventory", "list cache instances", "华为云 DCS 列表", "DCS 实例 Markdown 表格", "导出 DCS 实例 Markdown", "DCS 实例表格输出", "DCS 实例 CSV", "导出 DCS CSV", "DCS CSV 输出", "导出 DCS 实例 CSV", "DCS csv export". 7. Offline unit tests (mocked hcloud subprocess) cover output modes (names / table / json / md / csv), filters, paging, error scenarios, SDK fallback, Markdown/CSV escaping + atomic file writing (incl. BOM), and the write-intent guard." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher wlc-dev · publishing for 36 daysInstalls 470Last detonated 33 min ago
$clawhub install huawei-cloud-dcs-list
WatchReport an issue

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
1 of 1 bundled script run with no arguments, with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

What changed since 1.0.5

vet-skills diff huawei-cloud-dcs-list 1.0.5 1.0.9

In the sandbox, this version reached for nothing 1.0.5 did not. Compared from the two recorded runs, not from source.

1.0.5 was not run in the sandbox (static only); the comparison covers what static analysis recorded only.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-20 and scored it 90/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments
0.1sprocessexec /app/apps/web/node_modules/.bin/hcloud
0.1sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/hcloud
0.1sprocessexec /app/node_modules/.bin/hcloud
0.1sprocessexec /pnpm/hcloud
0.1sprocessexec /usr/local/sbin/hcloud
0.1sprocessexec /usr/local/bin/hcloud
0.1sprocessexec /usr/sbin/hcloud
0.1sprocessexec /usr/bin/hcloud
0.1sprocessexec /sbin/hcloud
0.1sprocessexec /bin/hcloud
0.1sprocessexited 1: PermissionError: [Errno 13] Permission denied: 'hcloud'
0.1sprocess1 of 1 bundled script run with no arguments
0.1sprocessscript backend runs setup only
0.1sprocessscript backend runs setup only
0.1sprocessno install scripts to re-run

Static findings

MEDIUM
Python subprocess execution detectedscripts/list_dcs.py:321 · Python subprocess execution detectedproc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Says it only reads; the code writes or deletes filesscripts/list_dcs.py:766 · Says it only reads; the code writes or deletes files (stated in its description)os.makedirs(out_dir, exist_ok=True)Fix: Declare and request only the permissions the task needs.
AST02

Cost to the agent

Instructions loaded
≈6,211 tok
1 file · 10 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.