/install huaweicloud-api-docs
Huawei Cloud API Docs
Locate and summarize official Huawei Cloud API materials for a named cloud service.
Default to the user's current language. If the user has not established a language preference, answer in English.
Workflow
1. Resolve the service name
- Accept Chinese names, English names, product codes, and common abbreviations
such as
obs,ecs,vpc,elb,cce, andiam. - Normalize the identified service name before searching.
- If the abbreviation is ambiguous, list the likely candidate services first and ask the user to choose.
- Do not pretend an ambiguous short name is resolved when the result titles suggest multiple different products.
2. Choose the retrieval path
Use the strongest path the current role can support.
A. websearch and webfetch are both available
Use this as the default path.
- Search only official Huawei Cloud documentation and developer properties.
Prefer
support.huaweicloud.com, thendeveloper.huaweicloud.com, and then official console pages when needed for API Explorer. - Use several targeted queries and open the most relevant official pages to verify the product match.
- Start with queries in this shape:
site:support.huaweicloud.com \x3Cservice> API reference Huawei Cloudsite:support.huaweicloud.com \x3Cservice> developer guide Huawei Cloudsite:support.huaweicloud.com \x3Cservice> error codes Huawei Cloudsite:support.huaweicloud.com \x3Cservice> endpoints Huawei Cloudsite:support.huaweicloud.com \x3Cservice> API Explorer Huawei Cloudsite:support.huaweicloud.com \x3Cservice> SDK Huawei Cloud
- Prefer pages that clearly match the requested service by title, breadcrumb, or body content.
- Prefer official HTML pages when available. Use official PDF references only when the service primarily exposes docs that way.
- Verify key facts from the opened page before summarizing them.
B. websearch is available but webfetch is not
- Use search to identify likely official pages.
- Provide a navigation-style answer with the most relevant official links and a limited high-level summary from titles or snippets.
- Explicitly state that the pages were not opened and verified.
- Do not treat search snippets as confirmed API details.
C. webfetch is available but websearch is not
- Continue only if the user already provided one or more official Huawei Cloud links or local document contents.
- Summarize the provided official materials after opening them.
- If no official link or document was provided, ask the user for the exact support page URL or the precise service name and official document link.
- Do not invent entry URLs or deep links.
D. Neither websearch nor webfetch is available
- Do not claim to have searched the Huawei Cloud site.
- If the user provided official links, copied page text, screenshots, or local documents, summarize those materials.
- Otherwise, provide official Huawei Cloud entry links so the user can navigate
manually:
- Huawei Cloud Help Center:
https://support.huaweicloud.com/intl/en-us/index.html - Huawei Cloud Developer Center:
https://developer.huaweicloud.com/eu/ - Huawei Cloud Developer Tools:
https://developer.huaweicloud.com/tool.html - Huawei Cloud API Explorer:
https://console.huaweicloud.com/apiexplorer/ - Huawei Cloud Console (international):
https://console-intl.huaweicloud.com/console/?locale=en-us
- Huawei Cloud Help Center:
- Tell the user to search the exact service name on those official entry pages.
- Clearly state that the current role lacks web tools and cannot verify service-specific documentation in the current turn.
- Do not guess undocumented API details, endpoints, SDK availability, or error codes.
3. Collect the right document set
For a normal answer, try to cover these categories when they exist:
- API reference
- Developer guide or quick start
- Authentication or signature requirements
- Endpoints, regions, and versioning
- Error codes or common failures
- API Explorer or debugging entry
- SDK references or related tooling
If a category cannot be found on the official site, say so explicitly.
4. Write the answer
Use this default structure unless the user asks for a narrower answer:
- Service identification
- Document overview
- Authentication and prerequisites
- Core API capabilities
- Endpoints, regions, and versions
- Error codes, permissions, and limits
- SDK, API Explorer, and related docs
- Official links
Answer rules
- Always identify the normalized service name you used for retrieval.
- Always include official source links when a web-enabled path succeeded.
- When web tools are unavailable, always include the official Huawei Cloud entry links from the fallback section.
- Distinguish verified facts from inferences. If something is inferred from page titles or surrounding materials, label it as an inference.
- Prefer concise but complete summaries over raw link dumps.
- If the user asks only for one area such as error codes or endpoint format, focus on that area but still include the most relevant official links.
- If multiple Huawei Cloud products have similar names, explain which one matched and why.
- If the best official source is on the international documentation path, say that explicitly.
- Never fabricate endpoint patterns, request parameters, SDK support, or document availability.
Examples
Find the official API documentation for Huawei Cloud OBS and summarize authentication, common error codes, and SDK support.What are the core APIs for Huawei Cloud ECS? Include official links and a short explanation.Where is the API Explorer entry for Huawei Cloud VPC Endpoint, and what does it cover?I only have this official Huawei Cloud link. Summarize it for my team.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install huaweicloud-api-docs - 安装完成后,直接呼叫该 Skill 的名称或使用
/huaweicloud-api-docs触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
HuaweiCloud API Docs 是什么?
Find and summarize official Huawei Cloud API documentation from Huawei Cloud Help Center and Huawei Cloud developer properties. Use when the user asks about... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 109 次。
如何安装 HuaweiCloud API Docs?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install huaweicloud-api-docs」即可一键安装,无需额外配置。
HuaweiCloud API Docs 是免费的吗?
是的,HuaweiCloud API Docs 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
HuaweiCloud API Docs 支持哪些平台?
HuaweiCloud API Docs 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 HuaweiCloud API Docs?
由 stevetdp(@stevetdp)开发并维护,当前版本 v0.1.2。