首页龙虾技能列表 › Aliyun Pai Workspace — 技能工具

Aliyun Pai Workspace — 技能工具

v1.0.0

[自动翻译] Use when managing Alibaba Cloud PAI AIWorkspace (AIWorkSpace) via OpenAPI/SDK, including the user is operating AIWorkspace resources such as workspace...

0· 55·0 当前·0 累计
by @cinience·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/2
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
medium confidence
The skill appears to do what it claims (manage Alibaba Cloud PAI AIWorkspace) and contains only a small metadata-fetching script, but its registry metadata omits the Alibaba Cloud credential/config requirements that the runtime instructions explicitly demand — an inconsistency you should resolve before trusting credentials to it.
评估建议
This skill otherwise looks coherent for managing Alibaba Cloud AIWorkspace, but there is an important metadata mismatch: SKILL.md expects ALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET (and optionally ALICLOUD_REGION_ID) and may read ~/.alibabacloud/credentials, yet the registry entry does not declare these requirements. Before installing or running it: - Do not supply high-privilege credentials. Create and provide least-privilege (read-only or narrowly scoped) keys for inventory/metadata ...
详细分析 ▾
用途与能力
The name/description match the included code and instructions: this is an Alibaba Cloud AIWorkSpace management helper. However, the SKILL.md clearly expects Alibaba Cloud credentials and a shared config path (~/.alibabacloud/credentials) while the registry metadata lists no required environment variables or primary credential. That mismatch between claimed runtime requirements and declared registry metadata is a coherence concern.
指令范围
SKILL.md instructs the agent to use environment variables (ALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET / optional ALICLOUD_REGION_ID) and an on-disk shared config file for credentials, to discover APIs, call SDK/OpenAPI, and write artifacts to output/aliyun-pai-workspace/. Those instructions are within the stated purpose, but they reference reading a user credentials file and environment variables not declared in the skill manifest — this is a scope/visibility mismatch that may affect permission handling and user consent.
安装机制
No install spec and only a small Python script are included. The script uses Python stdlib urllib to fetch metadata from api.aliyun.com (an official-looking endpoint). No downloads or third-party packages are fetched at install/runtime by the skill itself.
凭证需求
The runtime expects standard Alibaba Cloud credentials (access key id/secret and optional region) and suggests using least-privilege credentials, which is proportionate to cloud management tasks. The problem: the registry metadata declares no required env vars or primary credential, so platform-level prompts/permission controls may not present or enforce expected protections. The skill also references a user credentials file path (~/.alibabacloud/credentials) that isn't declared in required config paths.
持久化与权限
always is false and the skill has no install steps that modify other skills or system settings. It writes output only under output/aliyun-pai-workspace/, which is confined to its own artifact directory; there is no indication of elevated or persistent privileges.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/2

Initial release of aliyun-pai-workspace skill. - Enables management of Alibaba Cloud PAI AIWorkspace resources using official OpenAPI and SDKs. - Supports common workspace actions: inventory, create/update, status queries, permissions, and automation. - Recommends environment variables for AccessKey credentials; falls back to shared credential config. - Provides quickstart scripts for OpenAPI metadata discovery and validation procedures. - Outputs evidence and API responses to a dedicated directory for reproducibility. - Includes extensive usage workflow and operational best practices.

● 无害

安装命令 点击复制

官方npx clawhub@latest install aliyun-pai-workspace
镜像加速npx clawhub@latest install aliyun-pai-workspace --registry https://cn.clawhub-mirror.com

技能文档

Category: service

# PAI AIWorkspace

Use Alibaba Cloud OpenAPI (RPC) with official SDKs or OpenAPI Explorer to manage resources for Platform for Artificial Intelligence PAI - AIWorkspace.

Workflow

1) Confirm region, resource identifiers, and desired action. 2) Discover API list and required parameters (see references). 3) Call API with SDK or OpenAPI Explorer. 4) Verify results with describe/list APIs.

AccessKey priority (must follow)

1) Environment variables: ALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET / ALICLOUD_REGION_ID Region policy: ALICLOUD_REGION_ID is an optional default. If unset, decide the most reasonable region for the task; if unclear, ask the user. 2) Shared config file: ~/.alibabacloud/credentials

API discovery

  • Product code: AIWorkSpace
  • Default API version: 2021-02-04
  • Use OpenAPI metadata endpoints to list APIs and get schemas (see references).

High-frequency operation patterns

1) Inventory/list: prefer List / Describe APIs to get current resources. 2) Change/configure: prefer Create / Update / Modify / Set APIs for mutations. 3) Status/troubleshoot: prefer Get / Query / DescribeStatus APIs for diagnosis.

Minimal executable quickstart

Use metadata-first discovery before calling business APIs:

python scripts/list_openapi_meta_apis.py

Optional overrides:

python scripts/list_openapi_meta_apis.py --product-code  --version 

The script writes API inventory artifacts under the skill output directory.

Output policy

If you need to save responses or generated artifacts, write them under: output/aliyun-pai-workspace/

Validation

mkdir -p output/aliyun-pai-workspace
for f in skills/ai/platform/aliyun-pai-workspace/scripts/.py; do
  python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-pai-workspace/validate.txt

Pass criteria: command exits 0 and output/aliyun-pai-workspace/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/aliyun-pai-workspace/.
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.

Prerequisites

  • Configure least-privilege Alibaba Cloud credentials before execution.
  • Prefer environment variables: ALICLOUD_ACCESS_KEY_ID, ALICLOUD_ACCESS_KEY_SECRET, optional ALICLOUD_REGION_ID.
  • If region is unclear, ask the user before running mutating operations.

References

  • Sources: references/sources.md
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务