返回顶部
a

azure-devtest-optimizer

Optimize Azure dev/test environment costs with auto-shutdown schedules and Dev/Test pricing enrollment

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
301
下载量
0
收藏
概述
安装方式
版本历史

azure-devtest-optimizer

# 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}' ``` 2. **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 ``` 3. **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):** ```json { "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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 devtest-optimizer-1776276862 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 devtest-optimizer-1776276862 技能

通过命令行安装

skillhub install devtest-optimizer-1776276862

下载 Zip 包

⬇ 下载 azure-devtest-optimizer v1.0.0

文件大小: 2.05 KB | 发布时间: 2026-4-16 18:40

v1.0.0 最新 2026-4-16 18:40
Initial release of azure-devtest-optimizer:

- Provides step-by-step instructions to optimize Azure dev/test environments by identifying unnecessary 24/7 VM usage.
- Guides users to collect required Azure VM, cost, and subscription data using read-only CLI commands.
- Delivers savings estimates, recommended auto-shutdown schedules, and assesses Dev/Test subscription eligibility.
- Supplies templates for Azure Automation runbooks and policy tagging.
- Ensures all user inputs are secure—never requests credentials or direct Azure access.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部