Huawei Vpc logo

Huawei Vpc

Organization
huaweicloud
huawei-vpc

Use when creating, configuring, or managing VPC networks, subnets, security groups, EIPs, NAT gateways, VPN connections, or network ACLs on Huawei Cloud. Triggers on: VPC, subnet, security group, EIP, NAT, VPN, network ACL, route table, bandwidth. NOT for: DNS or CDN configuration.

Overview

Publisherhuaweicloud
Repositoryhuaweicloud-devkit
Skill namehuawei-vpc
Stars
70
Forks
12
Bundled files
3
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.

  • 3 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 Huawei Vpc 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/huawei-vpc
  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/huawei-vpc .claude/skills/huawei-vpc
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Huawei Vpc 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 Huawei Vpc 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 Huawei Vpc 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 VPC

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

Always run hcloud <Service> <Operation> --help before constructing commands to discover exact parameter names and requirements.

Multi-version APIs: KooCLI may print a warning like "ListVpcs有多个版本,默认使用该API版本v3" before the actual response. The text BEFORE the first { is the version selection notice — parse JSON starting from { only. This is normal behavior, not an error.

Overview

Domain expertise for Huawei Cloud Virtual Private Cloud (VPC). Covers VPC/subnet lifecycle, security groups, EIP management, NAT gateways, VPN, and network ACLs.

Critical Warnings

TrapWhy
VPC CIDR cannot changeOnce set, VPC CIDR block is immutable
Security group statefulSG rules are stateful. Return traffic auto-allowed
Network ACL statelessACL rules must allow both inbound AND outbound
EIP bills when idleUnbound EIP still charges. Release when unused
Subnet AZ bindingSubnet tied to single AZ. Cross-AZ needs multiple subnets
EIP PER type needs --bandwidth.namePER bandwidth requires explicit name; --help marks it optional but it's required
VPC params need nested prefixKooCLI 7.x VPC API uses --vpc.<param>, --subnet.<param>, --security_group.<param>. Example: --vpc.name=xxx NOT --name=xxx
Security group needs no vpc_idVPC v3 API CreateSecurityGroup does NOT accept vpc_id. Security groups are region-level, not VPC-bound
Subnet DNS empty → ECS no DNSDNS params (--subnet.primary_dns, --subnet.secondary_dns) marked optional but empty default breaks cloud-init domain resolution — yum/apt installs fail silently. Always set both. Common DNS (primary / secondary): cn-north-4 (100.125.1.250 / 100.125.129.250), cn-north-1 (100.125.1.250 / 100.125.21.250), cn-east-3 (100.125.1.250 / 100.125.64.250), cn-south-1 (100.125.1.250 / 100.125.136.29), ap-southeast-3 (100.125.1.250 / 100.125.128.250). Authoritative per region: hcloud DNS ListNameServers --type=private --region=<r>
SCP blocks 0.0.0.0/0 SG rulesIf CreateSecurityGroupRule with --remote_ip_prefix=0.0.0.0/0 fails with SYS.0403, an org-level SCP policy is denying wide-open rules. Narrow to a specific CIDR range (e.g., your office IP) instead
VPC tags use * separatorVPC tag format: --vpc.tags.1=env*test (asterisk between key and value). NOT --vpc.tags.1.key=env (ECS-style). This is different from ECS --server.metadata.key=value

Common Workflows

TaskCommandSteps
Create VPChcloud VPC CreateVpc --vpc.name= --vpc.cidr=CIDR must not conflict with existing VPCs. Run hcloud VPC ListVpcs first
Create subnethcloud VPC CreateSubnet --subnet.name= --subnet.vpc_id= --subnet.cidr= --subnet.gateway_ip= --subnet.primary_dns= --subnet.secondary_dns= --subnet.availability_zone=Subnet CIDR must be a subset of the VPC CIDR. DNS addresses vary by region — see Critical Warnings for common values
Update subnethcloud VPC UpdateSubnet --subnet_id= --subnet.dnsList.1= --subnet.dnsList.2=Fix DNS after creation. Restart ECS after updating DNS for cloud-init to pick up changes
Security grouphcloud VPC CreateSecurityGroup --security_group.name=references/security-group.md
SG rulehcloud VPC CreateSecurityGroupRule --security_group_rule.security_group_id= --security_group_rule.direction= --security_group_rule.protocol= --security_group_rule.multiport= --security_group_rule.remote_ip_prefix=references/security-group.md
Create EIPhcloud EIP CreatePublicip --publicip.type= --bandwidth.size= --bandwidth.share_type= --bandwidth.name=Run hcloud EIP CreatePublicip --help to confirm valid type values per region
Bind EIP to ECShcloud EIP AssociatePublicips --publicip_id= --publicip.associate_instance_id= --publicip.associate_instance_type=PORTGet port ID from hcloud ECS ListServersDetails --server_id=<id> → OS-EXT-IPS:port_id
Unbind EIPhcloud EIP DisassociatePublicips --publicip_id=references/network.md
Delete EIPhcloud EIP DeletePublicip --publicip_id=references/network.md
List EIPshcloud EIP ListPublicips
NAT gatewayhcloud NAT CreateNatGateway --nat.name= --nat.spec= --router_id= --internal_network_id=Run hcloud NAT CreateNatGateway --help for available spec values

Troubleshooting

ErrorRoot Cause -> Fix
Cannot reach instanceSG missing rule or no EIP -> Add SG rule / Bind EIP
Subnet CIDR conflictOverlapping with existing subnets -> Choose non-overlapping CIDR
NAT gateway no internetRoute table missing default route -> Add 0.0.0.0/0 via NAT
EIP quota exceededCheck actual quota: hcloud EIP ListPublicips --cli-region=<r> to see current usage. Default varies by account (typically 5-10)
EIP.7905Run hcloud EIP ListPublicips --cli-region=<r> first to check current usage
VPC.0301: Bandwidth name invalidPER type requires --bandwidth.name, even though --help marks it optional
EIP has no public IP after bindingMay need AddIngressEipV2 for ELB-type resources (see huawei-cloud-apig-instance-management)
ECS cloud-init fails silently (port 80/443 closed)Subnet likely has no DNS. Check hcloud VPC ShowSubnet --subnet_id=<id> → dnsList empty? Rebuild subnet with --subnet.primary_dns=<dns1> --subnet.secondary_dns=<dns2>. DNS addresses per region: hcloud DNS ListNameServers --type=private --region=<r>
VPC.0209: Subnet still usedSubnet has dependent resources (ECS/RDS) — delete instances first, then subnet
SYS.0403 / SCP denyService Control Policy explicitly denies this operation — contact org admin to adjust SCP, or use an account/region without the restriction. If SSH is blocked, bootstrap via cloud-init user_data instead: see huawei-ecs — no SSH needed

Security Considerations

  • MUST use security groups, NOT iptables
  • MUST scope SG rules to specific CIDRs, NOT 0.0.0.0/0
  • SHOULD use network ACLs as defense-in-depth
  • SHOULD place databases in private subnets (no EIP)
  • MUST enable VPC flow logs for audit

MCP Tools

  • huaweicloud_list_operations service=VPC
  • huaweicloud_run_readonly_command for VPC/subnet discovery
  • huaweicloud_run_approved_command for writes

References

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 Huawei Vpc AI skill do?

Use when creating, configuring, or managing VPC networks, subnets, security groups, EIPs, NAT gateways, VPN connections, or network ACLs on Huawei Cloud. Triggers on: VPC, subnet, security group, EIP, NAT, VPN, network ACL, route table, bandwidth. NOT for: DNS or CDN configuration.

Why use Huawei Vpc on TypingMind?

Because you install it once and use it with any model. Huawei Vpc 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 Huawei Vpc in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/huaweicloud/huaweicloud-devkit/tree/main/plugins/huaweicloud-core/skills/huawei-vpc. 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 Huawei Vpc?

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 Huawei Vpc?

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

Is the Huawei Vpc 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 👇