Devtest Optimizer
by @anmolnagpal
Optimize Azure dev/test environment costs with auto-shutdown schedules and Dev/Test pricing enrollment
clawhub install devtest-optimizerπ About This Skill
name: azure-devtest-optimizer description: Optimize Azure dev/test environment costs with auto-shutdown schedules and Dev/Test pricing enrollment tools: claude, bash version: "1.0.0" pack: azure-cost tier: pro price: 29/mo permissions: read-only credentials: none β user provides exported data
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
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
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
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.