← 返回 Skills 市场
mingming-cn

Ucloud Api Skill

作者 mingming-cn · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
267
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install ucloud
功能描述
Invoke UCloud APIs through the official Python SDK. Use when an AI agent needs to inspect, create, update, or delete UCloud resources by calling real UCloud...
安全使用建议
This skill will execute bundled Python scripts that call the UCloud SDK and require your UCloud public/private keys (and optionally project/region/zone). Before enabling or providing credentials: - Verify the skill's source and author; the registry metadata currently omits the credential requirements but the SKILL.md and scripts do require keys. - Only provide least-privilege keys (scoped to a test project) and avoid using high-privilege or billing-enabling credentials in production until you've tested behavior. - Expect the agent to be able to make real, billable changes (create/delete EIPs, VMs). Configure the agent to ask for explicit confirmation before any destructive or billable action. - Review UCLOUD_BASE_URL usage: if you or the environment set this variable it can point the SDK to a custom endpoint; ensure it is trusted. - If you need higher assurance, run the scripts in an isolated environment (test project) first and inspect network traffic or run under your own control before granting persistent access. The main issue here is inconsistent metadata (the skill fails to declare required credentials). That mismatch is likely sloppy configuration—not proof of malicious intent—but you should correct/confirm the metadata and follow the precautions above before use.
功能分析
Type: OpenClaw Skill Name: ucloud Version: 0.1.1 The ucloud-api skill bundle is a legitimate toolset for interacting with UCloud services via the official Python SDK. It includes scripts for invoking OpenAPI actions (invoke_ucloud.py), resolving account parameters like regions and projects (resolve_common_params.py), and generating secure alphanumeric passwords (generate_password.py). The instructions in SKILL.md emphasize transparency, requiring the agent to inform users about default actions (like EIP creation) and to confirm details before executing destructive operations. No evidence of data exfiltration, malicious obfuscation, or unauthorized persistence was found.
能力评估
Purpose & Capability
Name/description match the implementation: scripts call the official ucloud SDK and perform UCloud read/write actions. However, registry metadata claims no required environment variables or credentials while SKILL.md and the code require UCLOUD_PUBLIC_KEY and UCLOUD_PRIVATE_KEY (and optionally UCLOUD_PROJECT_ID/REGION/ZONE/BASE_URL). That metadata mismatch is unexpected and should be corrected.
Instruction Scope
SKILL.md instructs the agent to use the bundled scripts and the official SDK, prefer read-only operations first, consult official docs for ambiguous fields, and ask the user for missing values. The runtime instructions do not request unrelated files or other service credentials. The scripts only read the declared UCloud environment variables and payload inputs.
Install Mechanism
There is no automated install spec (instruction-only for the environment). The skill expects the ucloud-sdk-python3 package to be present or installed with explicit approval — no downloads or arbitrary install URLs are included in the package.
Credentials
The only sensitive environment variables used are UCLOUD_PUBLIC_KEY and UCLOUD_PRIVATE_KEY (plus optional project/region/zone/base URL), which are appropriate for a cloud-control skill. The concern is that the package metadata did not declare these required credentials — this mismatch increases the risk a user will install/enable the skill without realizing it needs live cloud credentials.
Persistence & Privilege
The skill is not forced-always and does not request system-level persistence. It can be invoked autonomously (platform default), which is expected for a cloud-control skill. Because it performs real cloud operations, autonomous invocation increases blast radius: verify agent policies and require explicit user confirmation for mutating (create/delete) actions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ucloud
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ucloud 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Added a password generation script (`scripts/generate_password.py`) to support initial password creation. - Passwords generated use only uppercase letters, lowercase letters, and digits, in line with documented best practices. - No existing code or documentation changed; this is an additive maintenance update.
v0.1.0
ucloud-api 0.1.0 - Initial release: Enables invoking UCloud API actions using the official Python SDK and bundled script. - Supports resource inspection, creation, updating, and deletion for services like UHost (CVM), ULB, VPC, EIP, and UDB. - Handles missing credentials and parameters with interactive prompts for smooth workflow continuation. - Implements action and product mapping (e.g., recognizing cloud VM synonyms as UHost). - Includes safeguards for required parameters, destructive actions, and pre-checks before writes or deletions. - Applies sensible creation defaults (EIP binding, billing modes) and summarizes key info after successful operations.
元数据
Slug ucloud
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Ucloud Api Skill 是什么?

Invoke UCloud APIs through the official Python SDK. Use when an AI agent needs to inspect, create, update, or delete UCloud resources by calling real UCloud... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 267 次。

如何安装 Ucloud Api Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ucloud」即可一键安装,无需额外配置。

Ucloud Api Skill 是免费的吗?

是的,Ucloud Api Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ucloud Api Skill 支持哪些平台?

Ucloud Api Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ucloud Api Skill?

由 mingming-cn(@mingming-cn)开发并维护,当前版本 v0.1.1。

💬 留言讨论