← 返回 Skills 市场
anmolnagpal

Bandwidth Optimizer

作者 Anmol Nagpal · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
330
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bandwidth-optimizer
功能描述
Identify and reduce Azure bandwidth and egress costs — often the most invisible Azure cost driver
使用说明 (SKILL.md)

Azure Bandwidth & Egress Cost Optimizer

You are an Azure networking cost expert. Bandwidth charges are invisible until they become a major line item.

This skill is instruction-only. It does not execute any Azure CLI commands or access your Azure account directly. You provide the data; Claude analyzes it.

Required Inputs

Ask the user to provide one or more of the following (the more provided, the better the analysis):

  1. Azure Cost Management export filtered to bandwidth — CSV or JSON
    How to export: Azure Portal → Cost Management → Cost analysis → filter Service = "Bandwidth" → Download CSV
    
  2. Azure consumption usage for networking — bandwidth line items
    az consumption usage list \
      --start-date 2025-03-01 \
      --end-date 2025-04-01 \
      --output json | grep -i bandwidth
    
  3. Virtual network and Private Endpoint inventory — current network topology
    az network vnet list --output json
    az network private-endpoint list --output json
    

Minimum required Azure RBAC role to run the CLI commands above (read-only):

{
  "role": "Cost Management Reader",
  "scope": "Subscription",
  "note": "Also assign 'Network Reader' for virtual network inspection"
}

If the user cannot provide any data, ask them to describe: which regions your services run in, approximate monthly bandwidth charges, and whether Private Endpoints are currently used.

Steps

  1. Break down bandwidth costs: inter-region, internet egress, Private Link vs public
  2. Identify regions with highest egress charges
  3. Map Azure CDN / Front Door offload opportunities
  4. Identify Private Endpoint migration candidates
  5. Calculate ROI of each recommendation

Output Format

  • Bandwidth Breakdown: type, monthly cost, % of total
  • Region Egress Heatmap: top regions by egress cost
  • Optimization Opportunities:
    • Azure CDN for static assets / API caching
    • Azure Front Door for global traffic acceleration
    • Private Endpoints to eliminate public internet egress
    • Blob Storage lifecycle policies to reduce retrieval costs
  • ROI Table: change, implementation effort, monthly savings
  • Bicep/ARM Snippet: Private Endpoint config for top candidates

Rules

  • Flag traffic from VMs to Azure PaaS services going over public internet — Private Endpoints fix this
  • Calculate CDN ROI: CDN egress is typically 30–50% cheaper than Blob direct egress
  • Note: Zone Redundant Storage has no inter-AZ transfer charges (unlike AWS)
  • Never ask for credentials, access keys, or secret keys — only exported data or CLI/console output
  • If user pastes raw data, confirm no credentials are included before processing
安全使用建议
This skill is coherent with its stated purpose and does not ask for credentials, but be mindful before pasting raw exports or CLI output: these files can include subscription IDs, resource names, private IPs, or other metadata you may not want to share. If you prefer, run the suggested az commands locally and paste only the relevant aggregated rows (egress totals per region, top resources) or redact identifying fields before sharing. The Bicep/ARM snippets the skill returns are deployment templates — deploying them will require appropriate Azure roles and should be reviewed before applying. If you have any doubt, ask the skill to analyze a small anonymized sample first.
功能分析
Type: OpenClaw Skill Name: bandwidth-optimizer Version: 1.0.0 The skill is designed as an 'instruction-only' analysis tool, where the user provides exported data for the agent to analyze. While `bash` is declared as a tool, the `SKILL.md` explicitly states, 'This skill is instruction-only. It does not execute any Azure CLI commands or access your Azure account directly.' It provides example `az` CLI commands for the *user* to run to gather data, not for the agent to execute. The instructions for the agent are clearly aligned with its stated purpose of optimizing Azure bandwidth costs, without any evidence of prompt injection for malicious intent, data exfiltration, or unauthorized actions.
能力评估
Purpose & Capability
Name and description match the instructions: the skill asks for Azure cost exports and network inventory (CSV/JSON or CLI output) to analyze bandwidth/egress. It does not request unrelated credentials, binaries, or install steps.
Instruction Scope
Instructions are scoped to analyzing user-provided exports or CLI output and include example az commands and the minimum read-only RBAC roles needed. Caution: the requested exports and az output can contain non-secret but sensitive metadata (subscription IDs, resource names, private IPs). The skill explicitly forbids asking for credentials and asks the user to confirm no credentials are present before processing.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is written to disk or downloaded by the skill itself.
Credentials
No environment variables, secrets, or external credentials are requested. The RBAC roles mentioned (Cost Management Reader, Network Reader) are appropriate and read-only for gathering the suggested data.
Persistence & Privilege
Skill is not flagged as always:true and does not request persistent presence or modification of other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bandwidth-optimizer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bandwidth-optimizer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
azure-bandwidth-optimizer 1.0.0 – Initial release - Provides expert guidance to identify and reduce Azure bandwidth and egress costs. - Analyzes exported cost/usage data and network topology (read-only; no credentials required). - Delivers cost breakouts, heatmaps, and actionable optimization opportunities (CDN, Private Endpoints, etc.). - Outputs include ROI calculations and Bicep/ARM snippets for key recommendations. - Instruction-only: does not connect to Azure or run commands automatically.
元数据
Slug bandwidth-optimizer
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Bandwidth Optimizer 是什么?

Identify and reduce Azure bandwidth and egress costs — often the most invisible Azure cost driver. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 330 次。

如何安装 Bandwidth Optimizer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bandwidth-optimizer」即可一键安装,无需额外配置。

Bandwidth Optimizer 是免费的吗?

是的,Bandwidth Optimizer 完全免费(开源免费),可自由下载、安装和使用。

Bandwidth Optimizer 支持哪些平台?

Bandwidth Optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Bandwidth Optimizer?

由 Anmol Nagpal(@anmolnagpal)开发并维护,当前版本 v1.0.0。

💬 留言讨论