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.
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-architecture-resource-archivegit clone --depth 1 https://github.com/huaweicloud/huaweicloud-skillsWrote 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.
[](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-architecture-resource-archive)<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-architecture-resource-archive"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-architecture-resource-archive/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.
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-architecture-resource-archive"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-architecture-resource-archive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00138 | $0.05299 |
| Opus 5.5 | $0.00055 | $0.02120 |
| Sonnet 5.5 | $0.00028 | $0.01060 |
| Haiku 4.5 | $0.00014 | $0.00530 |
Grade A, and why
huawei-cloud-architecture-resource-archive 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 382 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Huawei Cloud Full Resource Query & Marker Table Generation
1. Overview
This skill is a Huawei Cloud full-resource query toolchain. Driven by KooCLI (hcloud), it automatically queries resources across all regions and all key services of a Huawei Cloud account, then generates the marker table required for resource architecture topology.
Architecture
run_pipeline.py (one-click entry)
├── Step 1: check_koocli.py → Environment check / install KooCLI + dependencies
├── Step 2: query_resources.py → Full-region × 40+ services concurrent query
├── Step 3: convert_to_tsc_json.py → Convert to marker-table compatible JSON
└── Step 4: generate_marker_table.py → Generate marker table Excel + store JSON
Involved cloud services: ECS, VPC, EIP, ELB, NAT, DNS, OBS, RDS, DCS, DDS, CCE, WAF, CDN, BMS, CCI, SFS, CSS, MRS, DLI, CloudTable, BGP and 40+ service modules in total. The full registered module list is in references/service-coverage.md.
Use Cases
- Full cloud resource inventory and archival
- Resource architecture topology data collection
- Automatic resource marker table generation
- Cross-account resource reconciliation and gap analysis
- Pre-migration resource inventory
Typical User Requests
- "Query all resources under my Huawei Cloud account"
- "Generate the resource marker table"
- "Inventory ECS, VPC, RDS resources across all regions"
- "Export the resource list to Excel"
2. Prerequisites
KooCLI Version
# Verify KooCLI installation
hcloud version
# Requires version >= 7.2.2
If not installed, see CLI Installation Guide.
Python Version
python3 --version
# Requires Python >= 3.8
Python Dependencies
All third-party Python dependencies are checked and auto-installed in Step 1 (check_koocli.py):
| Package | pip name | Used by | Blocking? |
|---|---|---|---|
kubernetes |
kubernetes |
CCE K8s sub-resource direct connection (query_cce_k8s.py) |
No |
huaweicloudsdkcore |
huaweicloudsdkcore |
CCE proxy fallback for K8s sub-resources (query_cce_k8s.py) |
No |
openpyxl |
openpyxl |
Marker table Excel generation (generate_marker_table.py, Step 4) |
Yes |
requests |
requests |
CCE proxy HTTP calls (query_cce_k8s.py) |
No |
urllib3 |
urllib3 |
SSL warning suppression in K8s query (query_cce_k8s.py) |
No |
yaml |
pyyaml |
Kubeconfig YAML parsing (query_cce_k8s.py) |
No |
What ships with it
45 files 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.
- references/acceptance-criteria.md 2.7 KB
- references/cli-installation-guide.md 2.3 KB
- references/iam-policies.md 5.1 KB
- references/related-commands.md 6.2 KB
- references/semantic/catalog.yml 2.0 KB
- references/semantic/resource-ontology.yml 9.9 KB
- references/service-coverage.md 3.3 KB
- references/verification-method.md 6.9 KB
- scripts/__init__.py 156 B runs code
- scripts/check_koocli.py 17 KB runs code
- scripts/common.py 11 KB runs code
- scripts/convert_to_tsc_json.py 69 KB runs code
- scripts/generate_marker_table.py 19 KB runs code
- scripts/infer_downstream.py 27 KB runs code
- scripts/marker_constants.py 5.1 KB runs code
- scripts/query_bgp.py 3.4 KB runs code
- scripts/query_bms.py 2.4 KB runs code
- scripts/query_cc2.py 5.4 KB runs code
- scripts/query_ccaas.py 3.1 KB runs code
- scripts/query_cce_k8s.py 19 KB runs code
- scripts/query_cce.py 5.5 KB runs code
- scripts/query_cci.py 4.4 KB runs code
- scripts/query_cfw.py 3.5 KB runs code
- scripts/query_cloudtable.py 2.5 KB runs code
- scripts/query_cnad.py 4.4 KB runs code
- scripts/query_css.py 2.5 KB runs code
- scripts/query_dcaas.py 4.5 KB runs code
- scripts/query_dds.py 4.0 KB runs code
- scripts/query_dli.py 3.4 KB runs code
- scripts/query_dns.py 5.5 KB runs code
- scripts/query_elb.py 5.4 KB runs code
- scripts/query_er.py 5.9 KB runs code
- scripts/query_geminidb.py 4.9 KB runs code
- scripts/query_mrs.py 2.6 KB runs code
- scripts/query_nat.py 5.9 KB runs code
- scripts/query_obs.py 4.6 KB runs code
- scripts/query_resources.py 13 KB runs code
- scripts/query_rms.py 4.6 KB runs code
- scripts/query_sfs.py 3.4 KB runs code
- scripts/query_svc_registry.py 8.6 KB runs code
- scripts/query_vpn.py 6.1 KB runs code
- scripts/query_waf.py 4.3 KB runs code
- scripts/query_workspace.py 4.5 KB runs code
- scripts/run_pipeline.py 8.4 KB runs code
- templates/marker_config.json 2.4 KB
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.
- yesterday First seen · 382 lines · 138 tokens per session scan A f13bcf63441c
huawei-cloud-architecture-resource-archive is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 138 tokens to every session and 5,299 once invoked, about $0.0006 per session on Opus 5.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-10-27.
Other skills, from other repositories
aws-cost-ops
AWS Cost Explorer — spending analysis, service breakdowns, forecasts, cost anomalies. Use when analyzing AWS spending, investigating cost spikes, reviewing network cost drivers like NAT Gateway, or forecasting next month's bill.
huawei-cloud-apig-instance-management
Manage Huawei Cloud APIG (API Gateway, dedicated instances) via hcloud CLI: instance lifecycle (create/list/delete), API groups, API create/update/delete, publish/offline, request throttling policies, signature keys, access control (ACL) policies, and public ingress EIP binding, plus read-only diagnosis of public…
huawei-cloud-deployment-task-management
Huawei Cloud CloudDeploy (CodeArts Deploy / 部署) management, execution, and failure analysis using the KooCLI hcloud command-line client. Covers deploy application listing and creation, deployment task listing/detail/creation, task start, task deletion, deployment failure root-cause analysis (agent offline, timeout…
ai-foundry-posture-check
Assess security, reliability, and cost posture of Azure OpenAI and Microsoft Foundry deployments. Detects critical anti-patterns: API keys instead of Managed Identity, public endpoints without firewall, disabled content filtering, missing diagnostic settings, deprecated model versions, over-provisioned PTU, absence of…
digital-native-governance-check
Assess Azure governance maturity for Digital Natives and startups. Detects the most common anti-patterns from the "Digital Natives on Azure" series: incomplete Service Health alerts, flat subscription topology without Management Groups, excessive RBAC (everyone is Owner), missing budget alerts, no Managed Identity…
well-architected-review
Run a Well-Architected Framework (WAF) review against Azure resources in scope. Use when asked about best practices, architecture review, WAF assessment, or pillar compliance (Reliability, Security, Cost, Operational Excellence, Performance Efficiency).