Huaweicloud Troubleshooting logo

Huaweicloud Troubleshooting

Organization
huaweicloud
huaweicloud-troubleshooting

Troubleshoot Huawei Cloud CLI, API, SDK, deployment, permission, region, quota, endpoint, and resource errors. Use when commands fail, APIs return errors, resources are missing, or the user needs a structured diagnosis.

Overview

Publisherhuaweicloud
Repositoryhuaweicloud-devkit
Skill namehuaweicloud-troubleshooting
Stars
70
Forks
12
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by huaweicloud on GitHub. Read the source before you install it.

Installation

Install the Huaweicloud Troubleshooting AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/huaweicloud/huaweicloud-devkit/tree/main/plugins/huaweicloud-core/skills/huaweicloud-troubleshooting
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-devkit.git /tmp/huaweicloud-devkit
mkdir -p .claude/skills
cp -r /tmp/huaweicloud-devkit/plugins/huaweicloud-core/skills/huaweicloud-troubleshooting .claude/skills/huaweicloud-troubleshooting
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Huaweicloud Troubleshooting in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Huaweicloud Troubleshooting on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Huaweicloud Troubleshooting is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Huawei Cloud Troubleshooting

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

Use evidence before fixes. Do not guess service behavior when request IDs, region, project_id, and exact errors can identify the issue.

Critical Warnings

TrapWhy
Error in response body, not HTTP statusMany APIs return HTTP 200 with error in JSON body. Always check error_code and error_msg
Missing project_id is commonNew users often omit project_id from API path or CLI. Get it from IAM KeystoneListProjects
Sandbox may block hcloudOpenCode/Codex sandbox can block hcloud metadata files in ~/.hcloud/. Use dangerouslyDisableSandbox or Bash tool
KooCLI param prefix variesVPC params need --vpc.x, ECS params need --server.x, ALWAYS check --help first

Workflow

  1. Capture the redacted error message, service, operation, region, project_id, and request_id.
  2. Classify likely cause:
    • auth or permission
    • wrong region or endpoint
    • wrong project_id
    • missing resource
    • quota or account limit
    • invalid request body
    • service-side failure
  3. Run the smallest read-only check that can prove or disprove the cause.
  4. Compare with official API/SDK docs or Huawei Cloud Skills if the operation contract is uncertain.
  5. Propose one fix at a time.
  6. Verify with read-only observation after the fix.

Common Checks

CheckCommand
Authenticationhcloud configure list (redacted)
RegionMatch CLI region, endpoint, and resource region
Project IDhcloud IAM KeystoneListProjects
PaginationAdd --limit=100 and check marker
QuotaCheck service quotas in console or API
IAM PermissionVerify user/role has required action — see huawei-iam skill
KooCLI versionhcloud version
Public IP (outbound)必须绕过系统代理 + 多源交叉验证:PowerShell Invoke-WebRequest 会走系统代理返回代理出口 IP(实测 167.x vs 真实 117.x,SSH 白名单放错 IP)。正确姿势:node -e "fetch('https://cip.cc').then(r=>r.text()).then(console.log)"(node 直连国内源,不继承 IE 代理)+ curl --noproxy '*' ifconfig.me 交叉比对;不一致即告警
SSH 超时但安全组规则"正确"先怀疑探测到的公网 IP 走了代理 → 按上行方法重取真实出口 IP,删旧规则加新规则

Common Error Codes

ErrorLikely CauseFix
AuthFailure / 401AK/SK invalid or expiredRegenerate AK/SK, re-run npx huaweicloud-devkit auth init
AccessDenied / 403IAM permission missingCheck huawei-iam skill, add required policy action
NoSuchKey / 404Resource not foundVerify resource ID, region, and project_id
QuotaExceededAccount limit reachedRequest quota increase in console
[USE_ERROR] 不正确的参数Wrong param nameRun --help, check --param=value format and nested prefix
[USE_ERROR]缺少必填参数 cli-domain-idInvalid/expired credentials — KooCLI's account-id lookup failed (APIGW.0301)Re-run npx huaweicloud-devkit auth init; KooCLI auto-resolves domain-id once creds are valid
Ecs.0005Flavor-image mismatchCheck image __support_* against flavor virtualization type
FSS.0400FunctionGraph latest version errorStrip :latest from function URN
FSS.1417DEDICATEDGATEWAY missing paramsAdd instance_id, group_id, protocol, env_name, env_id
APIC.7201Missing security_group_idAdd --security_group_id param for APIG CreateInstanceV2
[NETWORK_ERROR]Transient network failureRetry with maxRetries param or wait and retry

KooCLI Error Types

KooCLI classifies errors into 5 types. The error type prefix in the message guides initial diagnosis:

TypeMeaningFirst Check
[NETWORK_ERROR]HTTP request exceptionNetwork connectivity, firewall, endpoint reachability
[CLI_ERROR]KooCLI internal errorContact KooCLI support
[USE_ERROR]Incorrect command parametersRun --help, check param names and format
[OPENAPI_ERROR]Cloud service API errorCheck service docs, contact service support
[APIE_ERROR]API Explorer metadata errorContact API Explorer support

Enable debug with --cli-debug=true to see the underlying HTTP request/response and pinpoint network or endpoint issues.

Cross-Skill References

  • IAM permissions: See huawei-iam
  • CLI auth setup: See huaweicloud-cli-and-auth
  • ECS specific errors: See huawei-ecs
  • FunctionGraph specific: See huawei-functiongraph

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Huaweicloud Troubleshooting AI skill do?

Troubleshoot Huawei Cloud CLI, API, SDK, deployment, permission, region, quota, endpoint, and resource errors. Use when commands fail, APIs return errors, resources are missing, or the user needs a structured diagnosis.

Why use Huaweicloud Troubleshooting on TypingMind?

Because you install it once and use it with any model. Huaweicloud Troubleshooting is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Huaweicloud Troubleshooting in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/huaweicloud/huaweicloud-devkit/tree/main/plugins/huaweicloud-core/skills/huaweicloud-troubleshooting. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Huaweicloud Troubleshooting?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Huaweicloud Troubleshooting?

As many as you like. As long as a model supports skills, you can use Huaweicloud Troubleshooting with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Huaweicloud Troubleshooting AI skill free?

Yes. It is published on GitHub by huaweicloud under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇