azure-devtest-optimizer

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

3,891 stars

Best use case

azure-devtest-optimizer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using azure-devtest-optimizer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/devtest-optimizer/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/anmolnagpal/devtest-optimizer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/devtest-optimizer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How azure-devtest-optimizer Compares

Feature / Agentazure-devtest-optimizerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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

Related Skills

Pricing Optimizer

3891
from openclaw/skills

Analyzes and optimizes pricing strategy using proven frameworks

Business Strategy & Growth

Logistics Operations Optimizer

3891
from openclaw/skills

You are a logistics operations analyst. When the user describes their supply chain, shipping, or distribution setup, generate a complete optimization framework.

Logistics & Supply Chain Optimization

Fleet Management Optimizer

3891
from openclaw/skills

You are a fleet management analyst. Help the user optimize vehicle fleet operations, reduce costs, and improve utilization.

Workflow & Productivity

Customer Acquisition Cost (CAC) Optimizer

3891
from openclaw/skills

Analyze, benchmark, and reduce your customer acquisition cost across every channel.

Business Analytics & Strategy

calendar-optimizer

3891
from openclaw/skills

Analyzes and rewrites calendar events into clear, actionable tasks. Removes meeting fluff and converts vague descriptions into specific deliverables with deadlines.

azure-proxy

3891
from openclaw/skills

Enable Azure OpenAI integration with OpenClaw via a lightweight local proxy. Use when configuring Azure OpenAI as a model provider, when encountering 404 errors with Azure OpenAI in OpenClaw, or when needing to use Azure credits (e.g. Visual Studio subscription) with OpenClaw subagents. Solves the api-version query parameter issue that prevents direct Azure OpenAI integration.

geo-seo-optimizer

3891
from openclaw/skills

Optimize content for Generative AI search engines (Perplexity, ChatGPT, Gemini). Use when drafting articles, marketing copy, or technical docs to ensure AI models prioritize your information as a top reference.

hinge-profile-optimizer

3891
from openclaw/skills

Comprehensive, research-backed Hinge dating profile optimization. Use when someone wants to improve their Hinge profile, audit an existing profile, write better prompts/captions, select and order photos strategically, or understand why they're not getting quality matches. This is the thorough process (~45 mins) - discovery interview, honest market math, photo strategy, copy creation, settings cleanup, and implementation support. Grounded in peer-reviewed behavioral research, platform data, and signaling theory.

Amazon Listing Optimizer — Free Listing Analysis & Keyword Research

3891
from openclaw/skills

**Free alternative to Helium 10 ($97/mo) and Jungle Scout ($49/mo).**

SKILL: Read Optimizer (read-optimizer)

3891
from openclaw/skills

## Description

token-optimizer

3891
from openclaw/skills

Reduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.

geo-optimizer

3891
from openclaw/skills

Optimize content for AI citation (GEO). Use when user says "GEO", "generative engine optimization", "AI citation", "get cited by AI", "AI-friendly content", or creating content for ChatGPT/Claude/Perplexity visibility.