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-eip-cost-optimizergit 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-eip-cost-optimizer)<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-eip-cost-optimizer"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-eip-cost-optimizer/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-eip-cost-optimizer"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-eip-cost-optimizer.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.00240 | $0.05028 |
| Opus 5 | $0.00120 | $0.02514 |
| Sonnet 5 | $0.00048 | $0.01006 |
| Haiku 4.5 | $0.00024 | $0.00503 |
Grade D, and why
huawei-cloud-eip-cost-optimizer scanned grade D with 3 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 9d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt install -y jq bc curl Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -sSL https://hwcloudcli.obs.cn-north-1.myhuaweicloud.com/cli/latest/hcloud_install.sh | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **curl** — HTTP client for webhook notifications How it starts
The opening of the file, as written. The whole thing — 450 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Huawei Cloud EIP Cost Optimizer
Overview
This skill provides batch management and cost optimization capabilities for Huawei Cloud Elastic Public IPs (EIPs).
Architecture: Shell + hcloud CLI (KooCLI) → EIP Service API → VPC/Bandwidth resources
Related Skills: For broader cost optimization across all resource types (ECS, EVS, OBS, etc.), see the archived huaweicloud-cost-optimizer skill. This skill focuses exclusively on EIP optimization with deeper functionality and 100% hcloud CLI compliance.
- Periodic cleanup of idle EIPs to reduce holding costs
- Cost analysis and optimization recommendations
- Multi-region unified management
- Automated monitoring and alerting for idle resources
- Operation audit logging for compliance
Typical Use Cases:
- "Help me identify idle EIPs and generate an optimization report"
- "Generate an EIP cost analysis report to identify high-cost resources"
- "Set up idle EIP monitoring with automatic alerts via webhook or email"
- "View EIP distribution and status summary across all regions"
- "Show audit logs for EIP operations in the last 30 days"
- "List all EIPs in cn-north-4 with detailed information"
Prerequisites
1. CLI Environment Requirements (MANDATORY)
- hcloud CLI (KooCLI) v7.0+ — Huawei Cloud command-line tool
- jq — JSON processor for parsing API responses
- bc — Arbitrary precision calculator for cost estimation
- curl — HTTP client for webhook notifications
Install hcloud CLI:
# Linux/macOS one-click install
curl -sSL https://hwcloudcli.obs.cn-north-1.myhuaweicloud.com/cli/latest/hcloud_install.sh | bash
# Verify installation
hcloud --version
Install jq, bc, curl:
# Ubuntu/Debian
sudo apt install -y jq bc curl
# CentOS/RHEL
sudo yum install -y jq bc curl
# macOS
brew install jq bc curl
Available Shell Scripts:
scripts/config.sh- Shared configuration (credentials, regions, proxy)scripts/list_eips.sh- List all EIPs in a region (supports filtering and summary)scripts/analyze_idle_eips.sh- Analyze idle EIPs and generate optimization reports (read-only)scripts/eip_cost_report.sh- Generate EIP cost analysis reports (text/HTML/JSON)scripts/monitor_idle_eips.sh- Monitor idle EIPs with webhook/email alerts and cron supportscripts/check_env.sh- Environment check and validation (hcloud CLI + tools + API)scripts/eip_audit_log.sh- Operation audit logging (JSONL + CSV/JSON export)
What ships with it
13 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 6.2 KB
- references/cli-installation-guide.md 3.7 KB
- references/eip-api-guide.md 5.8 KB
- references/iam-policies.md 2.9 KB
- references/test-vars.json 401 B
- references/verification-method.md 3.5 KB
- scripts/analyze_idle_eips.sh 17 KB runs code
- scripts/check_env.sh 9.1 KB runs code
- scripts/config.sh 7.6 KB runs code
- scripts/eip_audit_log.sh 9.8 KB runs code
- scripts/eip_cost_report.sh 17 KB runs code
- scripts/list_eips.sh 17 KB runs code
- scripts/monitor_idle_eips.sh 16 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.
- 9d ago First seen · 450 lines · 240 tokens per session scan D f5b3b6028b30
huawei-cloud-eip-cost-optimizer is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (49 stars, last pushed yesterday), licensed MIT. It adds 240 tokens to every session and 5,028 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
awslabs-cloudtrail-mcp
AWS CloudTrail audit logging and monitoring.
skypilot-multi-cloud-orchestration
Multi-cloud orchestration for ML workloads with automatic cost optimization. Use when you need to run training or batch jobs across multiple clouds, leverage spot instances with auto-recovery, or optimize GPU costs across providers.
gcp-cloud-logging
Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views. Use when searching GCP logs, investigating denied VPC flow traffic, checking who deleted a VM, analyzing firewall rule hits, or troubleshooting a GCP application error.
k8s-network-policy
Review Kubernetes NetworkPolicies — what is actually permitted to reach a workload, and whether the answer can be trusted. Use when asked what can talk to a pod, whether a namespace is restricted, why traffic is being blocked, or for any security review of cluster network segmentation.
aws-cloud-monitoring
AWS CloudWatch monitoring — metrics, alarms, log queries, VPC flow log analysis, network performance. Use when checking AWS alarms, analyzing VPC flow logs, investigating network latency, or monitoring VPN and NAT Gateway metrics.
applicationinsights-setup
Sets up, migrates, or enhances Azure Monitor Application Insights in .NET applications. Detects application type and existing instrumentation automatically. Use when adding Application Insights, Azure Monitor, observability, or telemetry to ASP.NET Core, Worker Service, ASP.NET Classic, or Console apps, upgrading from…