Install
openclaw skills install @erickeyhu-hug/huawei-cloud-sfsturbo-listQuery the list of Huawei Cloud SFS (Scalable File Service, 弹性文件服务 / SFS Turbo) file systems under the current tenant / project, focused on the SFS NAME list. Returns each file system's name, id, status, size, protocol and region; can also output a pure SFS name-only list. Supports pagination (limit/offset). Uses the KooCLI command hcloud SFSTurbo ListShares --cli-region={region} (primary) against the v1 API, or the huaweicloudsdksfsturbo Python SDK (fallback). Read-only — never creates, modifies or deletes any file system. Use this skill whenever the user wants to list/inspect the SFS file systems of the tenant or query the SFS name list, e.g. for storage inventory, daily inspection, or cost review. Triggers include: "list SFS", "SFS list", "query SFS names", "SFS name list", "弹性文件服务列表", "查询SFS", "SFS名称", "sfs 列表", "list shares", "list file systems", "how many SFS", "SFS Turbo 列表".
openclaw skills install @erickeyhu-hug/huawei-cloud-sfsturbo-listThis skill queries the list of SFS (Scalable File Service / 弹性文件服务,
SFS Turbo) file systems under the current Huawei Cloud tenant / project and
returns their key attributes — in particular the SFS name list (name),
along with id, status, size, share_proto and region. It is a
read-only inspection skill: it never creates, modifies, or deletes file
systems, or any related resources.
Architecture:
Agent → hcloud CLI (KooCLI, SFSTurbo ListShares, primary) → Huawei Cloud SFS v1 API
↘ huaweicloudsdksfsturbo Python SDK (fallback) ↗
API path (verified from huaweicloudsdksfsturbo v1 SDK _list_shares_http_info):
| Operation | Method | API Path |
|---|---|---|
| List SFS file systems (detail) | GET | /v1/{project_id}/sfs-turbo/shares/detail |
Execution-quality reporting: every invocation of
scripts/list_sfsturbo_shares.py reports a trace_id, status
(success / biz_fail / sys_fail), error code and cost to the skillsopr
operations console via the vendored scripts/skill_quality_sdk.py. Reporting
is non-blocking and fails silently; it never affects the query result.
Applicable Scenarios:
能力边界(Capability Boundary): 本 Skill 仅查询 SFS(弹性文件服务 / SFS Turbo)文件系统列表。 不创建/删除/修改/扩容文件系统,也不查询单个文件系统详情(show-by-id)、 挂载目标、权限规则、数据转储等其它资源。 若用户询问"创建/删除/扩容文件系统"、"查询单个文件系统详情"、"查询挂载 目标"等,请明确告知本 Skill 不提供该能力。
references/cli-installation-guide.mdhuaweicloudsdksfsturbo package installed (SDK fallback only)sfsturbo:shares:listShares (or the system policy
SFS Turbo ReadOnlyAccess) is required to list SFS file systems. See references/iam-policies.md--cli-region--names-only) or the full
attributes (name, id, status, size, share_proto, region).cn-north-4; let the user override with another
region if needed.references/verification-method.md.shares: [] with HTTP 200). Report "no SFS file
systems found in region X" instead of an error.KooCLI format:
hcloud <Service> <Operation> --cli-region=<region> [--key=value]
hcloud SFSTurbo ListShares --cli-region={region} --cli-output=json
A Python wrapper is provided at scripts/list_sfsturbo_shares.py. It runs the
CLI command (or the SDK fallback), prints results as JSON lines or a pure name
list, 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 SFS file system names (one per line) — the "name list" use case
python3 scripts/list_sfsturbo_shares.py --names-only
# List SFS file systems with attributes (name, id, status, size, ...)
python3 scripts/list_sfsturbo_shares.py
# Paginated query
python3 scripts/list_sfsturbo_shares.py --limit 20 --offset 0
# Force SDK executor (fallback path)
python3 scripts/list_sfsturbo_shares.py --executor sdk
hcloud SFSTurbo ListShares --cli-region={region} --cli-output=json | jq -r '.shares[].name'
hcloud SFSTurbo ListShares --cli-region={region} --cli-output=json \
| jq -r '.shares[] | [.name, .id, .status, .size] | @tsv'
hcloud SFSTurbo ListShares --cli-region={region} --limit=10 --offset=0 --cli-output=json
Note: In the SFS v1 list response
ListSharesreturnsshares[]; each item's name is thenamefield,idis the file system id,statusis the file system status (e.g.100= available,200= creating),sizeis the capacity in GB,share_protois the protocol (NFS/SMB), andregionis the region where the file system resides.limitdefault is 1000 (range 1–1000);offsetis the pagination offset (default 0).
| Parameter | Required | Description | Example |
|---|---|---|---|
{region} | Yes | Huawei Cloud region | cn-north-4 |
{limit} | No | Max records returned (default 1000, max 1000) | 50 |
{offset} | No | Record offset (default 0) | 0 |
{names_only} | No | Print only SFS names, one per line | --names-only |
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 SFSTurbo ListShares --cli-region=cn-north-4).
SFSTurbo (starts with uppercase).ListShares.--cli-region=<region>.--key=value, for example --limit=50.