Back to Skills

huawei-cloud-network-query

Queries Huawei Cloud network resources (VPC/EIP/ELB/NAT/VPN/DNS). Covers VPCs, subnets, security groups, firewalls, route tables, flow logs, EIPs, bandwidths, load balancers, listeners, pools, health monitors, NAT gateways, SNAT/DNAT rules, VPN gateways, VPN connections, DNS zones, record sets, PTR records, and endpoints. No write operations. Use this skill when the user needs to query network topology, security group rules, load balancer config, NAT rules, VPN status, or DNS resolution info. Tr

19stars10forksUpdated 8/20/2026

Security Assessment

Safe(95/100)
Security Score95/100

About huawei-cloud-network-query

Huawei Cloud Network Query is a strictly read-only skill for inspecting Huawei Cloud network resources across VPC, EIP, ELB, NAT, VPN, and DNS services. It covers VPCs, subnets, security groups, firewalls, route tables, flow logs, elastic public IPs, bandwidths, load balancers, listeners, pools, health monitors, NAT gateways, SNAT/DNAT rules, VPN gateways and connections, DNS zones, record sets, PTR records, and endpoints. It solves the problem of building an accurate, current inventory of network topology and configuration — for verification, auditing, or preparing real parameters for later automation — without any risk of changing infrastructure.

The skill executes queries exclusively via bundled local Python scripts organized by service category (scripts/vpc, scripts/dns, scripts/elb, etc.), invoked through the skill's exec action rather than a shell, and calling the official Huawei Cloud Python SDK. It explicitly prohibits hcloud, openstack, curl-to-IAM, or direct API calls. Usage is governed by clear principles: run the environment check first, consult per-service guide.md files instead of reading script internals, always run a script's -h help before executing, narrow large result sets by region/name/id/status/tag, and never fabricate information that was not actually queried. It performs no create, modify, or delete operations.

Target users are cloud operations, network, and platform engineers who need to query topology, security-group rules, load-balancer configuration, NAT rules, VPN status, or DNS resolution details on Huawei Cloud — including resources not created through Terraform or other IaC — for inventory, verification, and troubleshooting.

FAQ

Can this skill modify or delete resources?

No. It is strictly read-only. It only performs queries and explicitly is not responsible for creating, modifying, or deleting resources, nor for guessing information that has not been queried.

What are the prerequisites?

You must run the bundled environment check script first (check_env.sh on Linux/macOS or check_env.ps1 on Windows) to validate the environment and install dependencies, which include the Huawei Cloud Python SDK packages for core, EIP, ELB, IAM, NAT, VPC, VPN, and DNS from requirements.txt.

How are queries executed?

Through local Python scripts under scripts/<service>/, run via the skill's exec action (not directly in a shell). Using hcloud, openstack, or direct curl/API calls is prohibited; the skill does not depend on those tools.

How do I know which script to use?

Consult the per-service guide.md files under references/. You should execute according to the documented script names, run -h to view usage before each script, and not invent script names — anything not in the guide is unsupported.

What if a result set is very large?

Narrow the scope first by conditions such as region, name, id, status, or tag, and cache output when it is large.

All Files

200 files
scripts/dns/list_endpoint_ipaddresses.py2.2 KB
View
scripts/dns/list_line_groups.py3.0 KB
View
scripts/dns/list_record_sets_with_line.py5.1 KB
View
scripts/dns/show_batch_create_record_sets_task.py2.6 KB
View
scripts/dns/show_private_zone_name_server.py2.0 KB
View
scripts/dns/show_record_set.py2.5 KB
View
scripts/eip/count_eip_available_resources.py2.0 KB
View
scripts/eip/list_share_bandwidth_types.py4.5 KB
View
scripts/elb/list_all_members.py8.4 KB
View
scripts/elb/list_feature_configs.py3.1 KB
View
scripts/elb/list_flavors.py4.0 KB
View
scripts/elb/list_l7_policies.py8.5 KB
View
scripts/elb/list_system_security_policies.py2.8 KB
View
scripts/elb/show_l7_policy.py2.6 KB
View
scripts/dns/list_name_servers.py2.4 KB
View
scripts/dns/list_record_sets.py4.6 KB
View
scripts/dns/show_batch_operation_task.py2.4 KB
View
scripts/dns/show_private_zone.py3.0 KB
View
scripts/dns/show_resolver_query_log_config.py2.0 KB
View
scripts/eip/list_bandwidth.py8.9 KB
View
scripts/eip/list_tenant_vpc_igws.py3.8 KB
View
scripts/elb/list_api_versions.py2.6 KB
View
scripts/elb/list_ip_groups.py6.5 KB
View
scripts/elb/list_loadbalancer_feature.py2.9 KB
View
scripts/elb/list_recycle_bin_load_balancers.py4.3 KB
View
scripts/elb/show_ip_group.py2.1 KB
View
scripts/elb/show_load_balancer_topology.py2.0 KB
View
scripts/elb/show_quota.py2.2 KB
View
scripts/check_env.sh2.2 KB
View
scripts/dns/list_ptr_records.py3.5 KB
View
scripts/dns/list_resolver_rules.py3.5 KB
View
scripts/dns/show_domain_detection.py1.9 KB
View
scripts/dns/show_ptr.py2.2 KB
View
scripts/dns/show_resource_tag.py2.2 KB
View
scripts/eip/list_common_pools.py6.3 KB
View
scripts/eip/show_publicip_pool_types.py2.4 KB
View
scripts/elb/list_certificates.py4.9 KB
View
scripts/elb/list_l7_rules.py4.4 KB
View
requirements.txt0.2 KB
View
scripts/config.py1.8 KB
View
scripts/dns/list_endpoint_vpcs.py2.6 KB
View
scripts/dns/list_ptrs.py3.7 KB
View
scripts/dns/list_system_lines.py2.7 KB
View
scripts/dns/show_domain_quota.py2.0 KB
View
scripts/dns/show_public_zone_name_server.py1.9 KB
View
scripts/dns/show_retrieval_verification.py1.7 KB
View
scripts/eip/list_eip_bandwidths.py9.0 KB
View
scripts/elb/list_domain_i_ps.py3.0 KB
View
scripts/elb/list_listener_tags.py2.7 KB
View
references/dns/guide.md12.9 KB
View
references/elb/guide.md11.4 KB
View
scripts/check_env.ps12.3 KB
View
scripts/dns/list_public_zone_lines.py2.9 KB
View
scripts/dns/list_tags.py2.1 KB
View
scripts/dns/show_email_record_set.py2.9 KB
View
scripts/dns/show_public_zone.py2.5 KB
View
scripts/dns/show_retrieval.py2.0 KB
View
scripts/eip/list_project_geip_bindings.py6.0 KB
View
scripts/elb/list_listeners.py11.9 KB
View
scripts/elb/list_pools.py9.7 KB
View
scripts/elb/show_health_monitor.py2.6 KB
View
scripts/elb/show_load_balancer_ports.py2.7 KB
View
scripts/elb/show_member.py2.4 KB
View
scripts/nat/list_nat_gateway_dnat_rules.py10.0 KB
View
references/eip/guide.md2.9 KB
View
references/nat/guide.md7.5 KB
View
scripts/dns/list_api_versions.py1.8 KB
View
scripts/dns/list_endpoints.py3.1 KB
View
scripts/dns/list_public_zones.py4.6 KB
View
references/vpn/guide.md8.2 KB
View
scripts/dns/list_private_zones.py4.7 KB
View
scripts/dns/list_resolver_query_log_configs.py3.1 KB
View
scripts/dns/show_dnssec_config.py2.4 KB
View
scripts/dns/show_ptr_record_set.py2.1 KB
View
scripts/dns/show_resolver_rule.py2.5 KB
View
scripts/eip/list_bandwidths_limit.py6.4 KB
View
scripts/eip/show_internal_vpc_igw.py2.2 KB
View
scripts/elb/list_availability_zones.py3.7 KB
View
scripts/elb/list_logtanks.py3.5 KB
View
scripts/elb/show_certificate_private_key_echo.py1.5 KB
View
scripts/elb/show_l7_rule.py2.3 KB
View
scripts/elb/show_logtank.py2.0 KB
View
scripts/ensure_env.py14.5 KB
View
scripts/nat/list_private_dnats.py9.3 KB
View
scripts/nat/list_transit_ip.py5.6 KB
View
scripts/nat/list_transit_subnet.py7.7 KB
View
scripts/nat/show_private_nat.py2.8 KB
View
scripts/vpc/list_firewall.py4.6 KB
View
scripts/vpc/list_subnets.py6.8 KB
View
scripts/vpc/list_vpcs.py7.0 KB
View
scripts/vpc/show_route_table.py2.3 KB
View
scripts/vpc/show_traffic_mirror_session.py3.0 KB
View
scripts/vpn/list_p2c_vgw_availability_zones.py3.4 KB
View
references/vpc/guide.md9.1 KB
View
scripts/dns/list_custom_line.py3.3 KB
View
scripts/dns/list_instances.py2.6 KB
View
scripts/dns/list_record_sets_by_zone.py4.4 KB
View
scripts/dns/show_authorize_txt_record.py2.2 KB
View
scripts/dns/show_line_group.py2.0 KB
View
scripts/dns/show_record_set_with_line.py3.2 KB
View
scripts/dns/show_zone_name_server.py2.4 KB
View
scripts/eip/list_publicips.py11.0 KB
View
scripts/eip/show_publicip_pool.py2.8 KB
View
scripts/eip/show_publicip.py4.0 KB
View
scripts/elb/list_all_l7_rules.py4.3 KB
View
scripts/elb/list_health_monitors.py9.7 KB
View
scripts/elb/list_load_balancers.py9.5 KB
View
scripts/elb/list_quota_details.py4.3 KB
View
scripts/elb/show_ip_group_related_listeners.py1.8 KB
View
scripts/elb/show_load_balancer_status.py1.7 KB
View
scripts/elb/show_pool.py2.4 KB
View
scripts/nat/list_nat_gateway_snat_rules.py6.5 KB
View
scripts/nat/list_private_snats.py5.6 KB
View
scripts/nat/show_nat_gateway_tag.py1.8 KB
View
scripts/nat/show_transit_subnet_tags.py1.8 KB
View
scripts/vpc/list_route_tables.py3.8 KB
View
scripts/vpc/list_virsubnet_cidr_reservations.py5.0 KB
View
scripts/vpc/show_network_ip_availabilities.py2.2 KB
View
scripts/vpc/show_sub_network_interfaces_quantity.py1.6 KB
View
scripts/dns/show_api_info.py2.3 KB
View
scripts/dns/show_endpoint.py2.5 KB
View
scripts/dns/show_record_set_by_zone.py4.6 KB
View
scripts/dns/show_website_record_set.py2.9 KB
View
scripts/eip/list_publicip_pool.py7.4 KB
View
scripts/elb/count_preoccupy_ip_num.py2.8 KB
View
scripts/elb/list_jobs.py3.6 KB
View
scripts/elb/list_loadbalancer_tags.py2.7 KB
View
scripts/elb/list_security_policies.py3.6 KB
View
scripts/elb/show_job.py2.1 KB
View
scripts/elb/show_load_balancer.py4.1 KB
View
scripts/elb/show_recycle_bin.py1.7 KB
View
scripts/nat/list_nat_gateway_tag.py3.3 KB
View
scripts/nat/list_transit_ip_tags.py3.3 KB
View
scripts/nat/list_transit_ips_by_tags.py6.5 KB
View
scripts/nat/show_private_dnat.py2.8 KB
View
scripts/vpc/list_address_group.py6.9 KB
View
scripts/vpc/list_security_groups.py4.2 KB
View
scripts/vpc/list_vpc_peerings.py4.6 KB
View
scripts/vpc/show_privateip.py2.0 KB
View
scripts/vpc/show_traffic_mirror_filter_rule.py3.0 KB
View
scripts/vpn/list_connection_monitors.py4.3 KB
View
scripts/elb/list_master_slave_pools.py5.3 KB
View
scripts/elb/show_certificate.py2.5 KB
View
scripts/elb/show_listener_tags.py2.4 KB
View
scripts/elb/show_master_slave_pool.py2.3 KB
View
scripts/iam/get_project_id.py1.6 KB
View
scripts/nat/list_private_nat_tags.py3.3 KB
View
scripts/nat/list_transit_subnets_by_tags.py6.5 KB
View
scripts/nat/show_private_snat.py2.6 KB
View
scripts/vpc/list_flow_logs.py4.6 KB
View
scripts/vpc/list_traffic_mirror_filter_rules.py7.6 KB
View
scripts/vpc/show_address_group.py2.6 KB
View
scripts/vpc/show_security_group_rule.py2.9 KB
View
scripts/vpc/show_virsubnet_cidr_reservation.py2.5 KB
View
scripts/vpc/show_vpc_peering.py2.2 KB
View
scripts/vpn/list_p2c_vgw_connections.py7.8 KB
View
scripts/elb/list_members.py8.6 KB
View
scripts/elb/show_flavor.py2.1 KB
View
scripts/elb/show_listener.py3.5 KB
View
scripts/elb/show_member_health_check_job.py2.3 KB
View
scripts/nat/list_nat_gateway_by_tag.py6.6 KB
View
scripts/nat/list_private_nats_by_tags.py6.6 KB
View
scripts/nat/show_nat_gateway_dnat_rule.py3.2 KB
View
scripts/nat/show_transit_ip_tags.py1.8 KB
View
scripts/vpc/list_ports.py6.0 KB
View
scripts/vpc/list_traffic_mirror_filters.py4.1 KB
View
scripts/vpc/show_firewall.py2.7 KB
View
scripts/vpc/show_security_group.py2.4 KB
View
scripts/vpc/show_vpc_route.py2.0 KB
View
SKILL.md10.2 KB
View
scripts/elb/show_loadbalancer_tags.py2.5 KB
View
scripts/elb/show_security_policy.py2.3 KB
View
scripts/nat/list_nat_gateways.py8.5 KB
View
scripts/nat/list_transit_subnet_tags.py3.3 KB
View
scripts/nat/show_private_nat_tags.py1.8 KB
View
scripts/vpc/list_address_groups_dependency.py4.3 KB
View
scripts/vpc/list_sub_network_interfaces.py5.2 KB
View
scripts/vpc/list_vpc_routes.py4.1 KB
View
scripts/vpc/show_quota.py1.7 KB
View
scripts/vpc/show_traffic_mirror_filter.py2.4 KB
View
scripts/vpn/list_extended_availability_zones.py4.5 KB
View
scripts/nat/list_nat_gateway_specs.py3.2 KB
View
scripts/nat/list_specs.py5.5 KB
View
scripts/nat/show_nat_gateway.py3.6 KB
View
scripts/nat/show_transit_subnet.py2.6 KB
View
scripts/vpc/list_security_group_rules.py8.2 KB
View
scripts/vpc/list_virsubnets.py4.7 KB
View
scripts/vpc/show_port.py2.8 KB
View
scripts/vpc/show_subnet.py3.2 KB
View
scripts/vpc/show_virsubnet.py2.5 KB
View
scripts/vpn/list_cgws.py6.9 KB
View
scripts/nat/list_private_nats.py8.4 KB
View
scripts/nat/show_nat_gateway_snat_rule.py2.8 KB
View
scripts/nat/show_transit_ip.py2.5 KB
View
scripts/vpc/list_privateips.py3.6 KB
View
scripts/vpc/list_traffic_mirror_sessions.py7.4 KB
View
scripts/vpc/show_flow_log.py2.6 KB
View
scripts/vpc/show_sub_network_interface.py2.9 KB
View
scripts/vpc/show_vpc.py2.5 KB
View
scripts/vpn/list_availability_zones.py4.3 KB
View

Install huawei-cloud-network-query

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill