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-sg-managegit 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-sg-manage)<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-sg-manage"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-sg-manage/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-sg-manage"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-sg-manage.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.00360 | $0.06009 |
| Opus 5.5 | $0.00144 | $0.02404 |
| Sonnet 5.5 | $0.00072 | $0.01202 |
| Haiku 4.5 | $0.00036 | $0.00601 |
Grade A, and why
huawei-cloud-sg-manage 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 20d 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.
How it starts
The opening of the file, as written. The whole thing — 401 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Huawei Cloud Security Group Management (安全组管理)
STOP - Do not answer from general knowledge. Follow the procedure below.
Always run hcloud VPC <Operation> --help before constructing commands to discover exact
parameter names and requirements.
Overview
This skill manages Huawei Cloud security groups (安全组) — the VPC subnet-level
stateful firewall (security group is a VPC sub-resource). It provides 11 huawei_* actions:
| # | Capability | Risk | Action |
|---|---|---|---|
| 1 | Query (read-only) | R3 — auto execute | huawei_list_security_groups |
| 2 | Query (read-only) | R3 — auto execute | huawei_list_security_group_rules |
| 3 | Query (read-only) | R3 — auto execute | huawei_get_security_group |
| 4 | Analyze (read-only) | R3 — auto execute | huawei_diagnose_sg_port_connectivity |
| 5 | Analyze (read-only) | R3 — auto execute | huawei_analyze_sg_rule_conflict |
| 6 | Analyze (read-only) | R3 — auto execute | huawei_audit_sg_overexposed_rules |
| 7 | Manage | R2 — preview + confirm | huawei_create_security_group |
| 8 | Manage | R2 — preview + confirm | huawei_create_sg_rule |
| 9 | Manage | R2 — preview + confirm | huawei_update_security_group |
| 10 | Manage | R1 — preview + confirm | huawei_delete_security_group |
| 11 | Manage | R1 — preview + confirm | huawei_delete_sg_rule |
Architecture
User request → Action Router (scripts/huawei-cloud.py dispatcher)
├─ Query (R3) → hcloud VPC ListSecurityGroups/ListSecurityGroupRules/ShowSecurityGroup
├─ Analyze (R3) → hcloud VPC ListSecurityGroupRules + deterministic rule engine
│ (priority-ordered matching, CIDR/port/protocol semantics)
└─ Manage (R2/R1) → preview → hcloud VPC Create/Update/Delete (confirmed only after user approval)
All cloud operations execute through the local hcloud (KooCLI) CLI — no Python SDK, no
raw HTTP API calls. The bundled dispatcher builds and runs the hcloud commands.
What ships with it
21 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.4 KB
- references/cli-installation-guide.md 954 B
- references/dataflow-diagram.md 2.1 KB
- references/iam-policies.md 2.6 KB
- references/sg-rule-reference.md 2.6 KB
- references/verification-method.md 2.3 KB
- scripts/ensure_cli.sh 1.8 KB runs code
- scripts/huawei-cloud.py 2.8 KB runs code
- scripts/install_cli.sh 1.4 KB runs code
- scripts/sg/__init__.py 140 B runs code
- scripts/sg/audit.py 5.6 KB runs code
- scripts/sg/common.py 9.0 KB runs code
- scripts/sg/conflict.py 6.9 KB runs code
- scripts/sg/diagnose.py 4.9 KB runs code
- scripts/sg/dispatcher.py 8.8 KB runs code
- scripts/sg/manage.py 9.8 KB runs code
- scripts/sg/query.py 1.3 KB runs code
- scripts/sg/rules.py 8.7 KB runs code
- skill-profile.yaml 1.1 KB
- templates/test-vars.json 5.2 KB
- tests/test_error_body_fix.py 5.9 KB runs code
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.
- 20d ago Changed · -20 lines 145eb81950df
- 29d ago First seen · 421 lines · 360 tokens per session scan A c92f5726873b
huawei-cloud-sg-manage is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 360 tokens to every session and 6,009 once invoked, about $0.0014 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-09-29.
Other skills, from other repositories
cis-aws-foundations-4.7
Ensure VPC flow logging is enabled in all VPCs.
cis-aws-database-2.1
Ensure the Use of Security Groups.
implementing-gcp-vpc-firewall-rules
Implementing and auditing GCP VPC firewall rules to enforce network segmentation, restrict ingress and egress traffic, apply hierarchical firewall policies across the organization, and monitor firewall rule effectiveness using VPC Flow Logs.
aws-network-ops
AWS cloud networking — VPC, Transit Gateway, Cloud WAN, VPN, Network Firewall, ENI, flow logs. Use when auditing AWS VPCs, troubleshooting connectivity between EC2 instances, checking Transit Gateway routes, or investigating VPN tunnel status.
azure-network-ops
Azure cloud networking -- VNets, NSGs, ExpressRoute, VPN Gateways, Azure Firewalls, Load Balancers, Application Gateways, Route Tables, Network Watcher, Private Endpoints, DNS zones. Use when auditing Azure VNets, troubleshooting hybrid connectivity (ExpressRoute/VPN), inspecting what an NSG currently allows…
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…