huaweicloud-api-and-sdk

huaweicloud-api-and-sdk is a skill for Codex from huaweicloud/huaweicloud-devkit. It costs 54 tokens per session (686 once invoked), scanned A, original, Apache-2.0.

A development guide for Huawei Cloud APIs and software libraries, which let applications use Huawei Cloud services. It focuses on building requests, authentication, project identifiers, regions, pagination, retries, and error handling.

In plain words
What is it for?
Use it when writing Huawei Cloud integrations, selecting an SDK, constructing API calls, handling multiple pages of results, retrying failures, or interpreting error codes and request IDs.
Why use it?
It helps prevent incomplete results and invalid requests caused by service-specific endpoints, required project IDs, signing rules, and errors returned inside successful HTTP responses.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Part of the huaweicloud-devkit plugin — 27 skills, 1 hook shipped together

Good fit Use it when writing Huawei Cloud integrations, selecting an SDK, constructing API calls, handling multiple pages of results, retrying failures, or interpreting error codes and request IDs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-devkit/huaweicloud-api-and-sdk
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add huaweicloud/huaweicloud-devkit --skill huaweicloud-api-and-sdk
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-devkit

Made for: Codex.

Or install huaweicloud-devkit, the plugin that ships this one along with the rest of its 27 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for huaweicloud-api-and-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-devkit/huaweicloud-api-and-sdk/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-devkit/huaweicloud-api-and-sdk)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-devkit/huaweicloud-api-and-sdk"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-devkit/huaweicloud-api-and-sdk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for huaweicloud-api-and-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-devkit/huaweicloud-api-and-sdk"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-devkit/huaweicloud-api-and-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 686 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 14
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 41
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00686
Opus 5 $0.00027 $0.00343
Sonnet 5 $0.00011 $0.00137
Haiku 4.5 $0.00005 $0.00069

Measured 12d ago against content hash 1d6e7888c3f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

huaweicloud-api-and-sdk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/huaweicloud-core/skills/huaweicloud-api-and-sdk/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Huawei Cloud API And SDK

STOP - Do not answer from general knowledge. Follow the procedure below.

Use this skill when the deliverable is application code, API integration, or precise request construction.

Critical Warnings

Trap Why
project_id in path for most services Many Huawei Cloud APIs require project_id in the URL path. Get it from IAM or KooCLI profile
Pagination is not automatic APIs return paginated results. Always check for next_marker or page_info to avoid partial data
AK/SK signing algorithm Huawei Cloud uses HMAC-SHA256 signing with specific header ordering. Use SDK, don't implement manually
Endpoint varies by service and region Always verify at https://developer.huaweicloud.com/endpoint
Error response in body not HTTP status Many errors return HTTP 200 with error details in the JSON body. Check error_code or error_msg fields

API Workflow

  1. Identify service, region, endpoint, API version, and whether project_id is required in the path.
  2. Verify the exact request body and response schema from official API documentation.
  3. Handle pagination explicitly. Do not assume a single page.
  4. Preserve request_id from errors and responses for troubleshooting.
  5. Classify operation risk before running a live call.
  6. For write APIs, produce a dry plan and ask the user before execution.

SDK Workflow

  1. Pick the SDK that matches the user's application language and existing dependency style.
  2. Use the official SDK client for the target service.
  3. Keep credentials out of source code. Use environment, profile, workload identity, or runtime secret injection.
  4. Add timeout, retry, and pagination handling.
  5. Return typed or structured results instead of unbounded raw logs.

Read the full file on GitHub · 57 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 57 lines · 54 tokens per session scan A 1d6e7888c3f6

Subscribe to this mod's changes

huaweicloud-api-and-sdk is a skill published in the GitHub repository huaweicloud/huaweicloud-devkit (47 stars, last pushed today), licensed Apache-2.0. It adds 54 tokens to every session and 686 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

fastapi

Use when building, reviewing, testing, securing or shipping a FastAPI / async Python service — routers, Pydantic v2 schemas, dependency injection, async SQLAlchemy 2.0, OAuth2/JWT, ASGITransport tests, production wiring. NOT language-level Python or packaging (that is python), NOT engine-level SQL (that is…

ericrisco/rsc-harness · 94 tokens

pipefy-api-fallback

Use this skill when an MCP tool fails AND the introspection skill could not resolve the problem. This is the last-resort fallback (Tier 3): call the Pipefy GraphQL API directly using curl or httpx, authenticating with the Service Account (OAuth2) or a Personal Access Token (PAT) available as env var. Follow the 3-tier…

pipefy/ai-toolkit · 86 tokens

terraform-infrastructure

Structures, writes, and reviews Terraform infrastructure code. Covers module layout, remote state, workspace strategy, variable and secrets handling, CI plan/apply pipeline, naming conventions, and multi-region deployment patterns (provider aliases, per-region state, failover strategies), while delegating shared risk…

soulcodex/agentic · 96 tokens

cost-optimizer

Professional Cost Optimizer Expert skill. Build performant, secure, and scalable backend logic and RESTful or GraphQL APIs.

AtulPurohit/Antigravity-Awesome-Skills · 28 tokens

infrastructure-as-code

Professional Infrastructure As Code Expert skill. Build performant, secure, and scalable backend logic and RESTful or GraphQL APIs.

AtulPurohit/Antigravity-Awesome-Skills · 29 tokens

adapter-aws-lambda

Deploy tRPC on AWS Lambda with awsLambdaRequestHandler() from @trpc/server/adapters/aws-lambda for API Gateway v1 (REST, APIGatewayProxyEvent) and v2 (HTTP, APIGatewayProxyEventV2), and Lambda Function URLs. Enable response streaming with awsLambdaStreamingRequestHandler() wrapped in awslambda.streamifyResponse().…

trpc/trpc · 93 tokens