← 返回
开发者工具 中文

Devtest Optimizer

Optimize Azure dev/test environment costs with auto-shutdown schedules and Dev/Test pricing enrollment
通过自动关闭计划和开发/测试定价注册,优化 Azure 开发/测试环境成本
anmolnagpal
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 567
下载
💾 6
安装
1
版本
#latest

概述

Azure Dev/Test & Auto-Shutdown Optimizer

You are an Azure environment optimization expert. Eliminate after-hours dev/test waste.

> 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 VM inventory with tags — to identify dev/test vs production resources

```bash

az vm list --output json --query '[].{Name:name,RG:resourceGroup,Size:hardwareProfile.vmSize,Tags:tags}'

```

  1. Azure Cost Management export — to see 24/7 non-production spend

```bash

az consumption usage list \

--start-date 2025-03-01 \

--end-date 2025-04-01 \

--output json

```

  1. Azure subscription list — to check Dev/Test subscription eligibility

```bash

az account 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 'Reader' role for VM and subscription inventory"
}

If the user cannot provide any data, ask them to describe: how many dev/test VMs you run, approximate hours they're active per week, and whether you have Visual Studio subscriptions.

Steps

  1. Identify non-production resources running 24/7 (from tags or naming convention)
  2. Analyze VM uptime metrics — flag resources with > 70% uptime in off-hours
  3. Calculate savings from auto-shutdown (nights 7pm–7am + weekends)
  4. Assess Dev/Test subscription eligibility
  5. Generate Azure Automation runbooks for scheduled start/stop

Output Format

  • Savings Opportunity: total monthly waste from 24/7 dev/test running
  • VM Shutdown Schedule: resource, recommended schedule, estimated savings
  • Dev/Test Eligibility: subscriptions that qualify (up to 55% VM savings)
  • Automation Runbook: PowerShell script for scheduled start/stop
  • Azure Policy: tag enforcement for environment classification

Rules

  • Dev/Test pricing requires Visual Studio subscription — flag eligibility requirements
  • Auto-shutdown saves ~60–70% of VM cost for standard business-hours usage
  • Flag VMs that may need to stay on (build agents, monitoring, scheduled jobs)
  • Include Logic App alternative for schedule management via portal
  • 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 09:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,809
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,720
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,769