Token导航 LogoToken导航

Agent Skill · 开发

ucloud(ucloud 开发)

ucloud 用于辅助 Python 项目开发、测试和数据处理,适合在 OpenClaw 中需要阅读 Python 代码、运行测试或整理脚本流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ucloud 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 4,503。

总安装 8,108周安装 328GitHub Stars 1下载 2,545核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ucloud(ucloud 开发)
来源仓库:https://github.com/mingming-cn/ucloud
安装命令:
openclaw skills install ucloud
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ucloud

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

ucloud 通过官方 Python SDK 调用 UCloud 云平台 API,实现资源管理与自动化操作。适用于需要创建、更新或删除云资源的开发与运维场景。支持真实环境接口调用,适合集成到 CI/CD 流程中进行基础设施编排。使用前需配置有效凭证并限制 API 权限,防止越权操作。

建议参考 SDK 文档确保参数格式正确,避免因错误请求导致服务中断。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ucloud;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ucloud 怎么安装?

在终端执行 openclaw skills install ucloud。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ucloud 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ucloud 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

ucloud 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ucloud 用的人多吗?

公开数据是累计安装 8,108 次,近一周安装 328 次,下载 2,545 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ucloud 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
ucloud

ucloud 开发 · 本页

8,1081接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
ucloud-api
description
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 OpenAPI actions such as UHost (CVM cloud host), ULB, VPC, EIP, UDB, or other services, especially when the user wants the agent to execute cloud operations instead of only describing them.

UCloud API

Use the bundled script to call UCloud OpenAPI through ucloud-sdk-python3. Prefer this skill when the user wants actual cloud operations, resource inspection, or parameterized automation against a UCloud account.

Preconditions

  • Require Python 3.
  • Require the ucloud SDK package to be installed in the execution environment.
  • Require credentials in environment variables:

- UCLOUD_PUBLIC_KEY - UCLOUD_PRIVATE_KEY

  • Support optional defaults:

- UCLOUD_PROJECT_ID - UCLOUD_REGION - UCLOUD_ZONE - UCLOUD_BASE_URL

If the SDK is missing, stop and either install it with user approval or explain that the environment is not ready for live API calls. If credentials, target identifiers, region, zone, project, or action-specific parameters are missing, ask the user for the exact missing items, parse the reply into the request payload, and then continue the execution flow.

Source Priority

Use sources in this order when deciding how to invoke an API:

  1. SDK code and examples in ucloud-sdk-python3
  2. UCloud API documentation for action names, required parameters, and response fields
  3. UCloud product documentation for product semantics, region or deployment constraints, and resource concepts
  4. UCloud tools documentation for cross-checking SDK or CLI naming and usage patterns

If the SDK does not expose enough information to choose the correct action, required fields, or resource scope, consult the official docs before asking the user or executing a request.

Product Naming

  • Treat UHost as the UCloud cloud host product.
  • Treat user requests that mention CVM, ECS, EC2, VM, 云主机, 云服务器, or similar cloud VM wording as requests for UHost unless the context clearly points to another product.
  • When mapping a user request to APIs, prefer UHost actions and product documentation for these cloud host requests.

Invocation Flow

  1. Translate the user request into either:

- a service and SDK method pair such as ulb + describe_ulb - a raw OpenAPI action such as DescribeULB

  1. Check the SDK and, if needed, official UCloud docs to determine the correct action, required parameters, and whether ProjectId, Region, or Zone are needed.
  2. Check whether credentials, target resource identifiers, and action-specific required fields are present.
  3. If any required information is missing, ask the user a concise follow-up question that lists only the missing fields.
  4. Parse the user reply into structured values and merge them into the JSON payload.
  5. Add ProjectId, Region, or Zone only when the API needs them and the user or environment provides them.
  6. Run scripts/invoke_ucloud.py.
  7. Review the JSON response before taking a follow-up destructive action.

Choose the Call Mode

Use SDK method mode first when the service client and method are obvious from the SDK naming:

python ./scripts/invoke_ucloud.py \
  --service ulb \
  --method describe_ulb \
  --data '{"ULBId":"ulb-xxxx"}'

Use raw action mode when the SDK helper is unclear or absent:

python ./scripts/invoke_ucloud.py \
  --action DescribeULB \
  --data '{"ULBId":"ulb-xxxx"}'

Working Rules

  • Prefer read-only actions first when the request could affect existing resources.
  • Echo the concrete action name in the commentary before executing writes or deletes.
  • Keep payload keys in UCloud API casing, for example Region, ProjectId, ULBId.
  • Use --data-file instead of long inline JSON when the payload is large.
  • Do not fabricate parameter names. If the required parameters are unclear, consult official docs before executing.
  • If the SDK method name, required fields, or resource semantics are unclear, consult the official API or product docs before making assumptions.
  • If the user asks for a write operation and identifiers are ambiguous, query first, then confirm the exact target from the returned data.
  • When information is missing, ask only for the fields that block execution, for example Region, ProjectId, ULBId, or credentials.
  • After the user replies, normalize the values into the exact API field names and continue without restarting the whole workflow.
  • If the user provides mixed free text and structured data, extract the usable values, show the interpreted payload briefly, and then execute.

Creation Defaults

  • When creating a service or instance that supports EIP-based public network access, default to creating and binding an EIP unless the user explicitly asks for private-only networking.
  • When both security groups and firewall features are available for the target service, default to security groups.
  • When generating an initial password for a resource, use only uppercase letters, lowercase letters, and digits. Do not use special characters unless the user explicitly requests them.
  • Unless the user explicitly requests a billing mode, prefer hourly prepaid first.
  • If hourly prepaid is unavailable for the target service or configuration, try hourly postpaid next, then monthly prepaid.
  • If hourly prepaid, hourly postpaid, and monthly prepaid are all unavailable, stop and ask the user whether to try yearly prepaid.
  • If automatic EIP creation or security-group attachment requires extra fields, inspect the API docs first, then ask the user only for the remaining missing values.
  • Before creating a billable EIP or public resource, mention that the creation flow will include the EIP binding by default.
  • After a resource is created successfully, summarize the key resource information for the user instead of only dumping the raw response.
  • Include the most important access and inventory fields that apply to the resource, such as username, generated password, internal IP, external IP, resource ID, region, zone, specification, billing mode, and bound security-group or network information.
  • If the created resource is a cloud host, determine the default login username from the operating system distribution before showing the username to the user.
  • Use ubuntu for Ubuntu images. Use root for Debian, RedHat, and Rocky images unless the image metadata or product docs state otherwise.
  • If the create response does not contain all key fields, call the matching describe API to fill the missing information before reporting back to the user.

Missing Information Handling

  • Missing credentials:

Ask for UCLOUD_PUBLIC_KEY and UCLOUD_PRIVATE_KEY, unless the user prefers to set them as environment variables directly.

  • Missing scope:

Ask for ProjectId, Region, or Zone only if the chosen action requires them and they are not already available from the environment.

  • Missing target resource:

Ask for the exact identifier such as ULBId, EIPId, VPCId, InstanceId, or another action-specific ID.

  • Missing action parameters:

Ask for only the required fields that are still absent after checking the SDK, the API docs, and the current context.

  • After receiving the answer:

Convert the reply into a JSON object, merge it with existing parameters, and continue with the same action instead of asking the user to restate the full request.

Error Handling

  • When an error occurs, first try to diagnose and repair it automatically if the fix is safe and can be derived from the current context, API docs, or lookup APIs.
  • Prefer self-repair steps such as filling missing public parameters, correcting action-specific payload fields, retrying with the required ProjectId, or switching from unclear SDK helper mode to raw action mode after verification.
  • Do not retry blindly. Each retry must be based on a specific diagnosis.
  • If the API returns 299 IAM permission error, first check the API definition to determine whether ProjectId is a required parameter.
  • If the API requires ProjectId and the request did not include it, treat 299 as a likely missing-ProjectId problem. Resolve or ask for ProjectId, then retry.
  • If the API requires ProjectId and the request already included it, or if the API does not require ProjectId, treat 299 as a real permission problem.
  • For a real permission problem, stop the execution, tell the user they do not currently have permission for that API, and ask them to add the required permission before retrying.
  • If the error cannot be repaired safely, show the user the detailed error information, including the action name, the key request context that matters for diagnosis, the error code, and the error message.
  • When stopping because of an unrecoverable error, give the user concrete next-step suggestions, such as adding IAM permission, providing a missing identifier, confirming the correct region or project, checking balance, or verifying whether the API is available for their account or region.

Common Lookup APIs

When common parameters are missing, use these APIs for discovery before asking the user:

  • ListRegions: query available regions when Region is missing or the user gives only a city or product name.
  • ListZones: query available zones when Zone is missing and the chosen region is known or can be inferred.
  • GetProjectList: query accessible projects when ProjectId is missing.
  • GetBalance: query account balance before create flows when quota or billing readiness may matter.

Use these lookup APIs to narrow the missing values first. If multiple valid options remain after lookup, present the short list to the user and ask them to choose.

Use scripts/resolve_common_params.py to automate these lookups before asking the user.

Script Usage

Inline JSON

python ./scripts/invoke_ucloud.py \
  --action DescribeInstance \
  --data '{"Region":"cn-bj2"}'

JSON file

python ./scripts/invoke_ucloud.py \
  --service cvm \
  --method describe_instance \
  --data-file ./request.json

Override credentials or endpoint

python ./scripts/invoke_ucloud.py \
  --action DescribeULB \
  --public-key "$UCLOUD_PUBLIC_KEY" \
  --private-key "$UCLOUD_PRIVATE_KEY" \
  --base-url https://api.ucloud.cn \
  --data '{"ProjectId":"org-xxx"}'

Generate an alphanumeric password

python ./scripts/generate_password.py --length 20

Resolve common parameters

python ./scripts/resolve_common_params.py \
  --need region \
  --need zone \
  --need project \
  --region-hint beijing

Resolve balance only

python ./scripts/resolve_common_params.py --need balance

References

平台分布

OpenClaw

94.36%
按下载量换算2,401

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills