Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Autoscaling Configuration

  • 405 installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

autoscaling-configuration is a Claude Code skill that helps developers configure cloud autoscaling policies with CPU and queue triggers, min/max instance bounds, cooldowns, and cost-aware capacity rules for variable traf

About

autoscaling-configuration is a prompt-driven skill from aj-geddes/useful-ai-prompts for designing production autoscaling policies on cloud platforms. It covers metric triggers—CPU utilization, queue depth, request rates—plus min and max instance bounds, cooldown windows, and cost guardrails so services scale with traffic without runaway spend. Operators invoke autoscaling-configuration when traffic patterns shift seasonally, queue backlogs spike, or existing policies over-provision resources. The skill produces concrete policy parameters and rollout notes instead of generic elasticity theory, helping teams balance availability SLAs with infrastructure budgets.

  • Horizontal pod and VM scaling
  • CPU, memory, and queue triggers
  • Min/max capacity guardrails
  • Cooldown and scale-in safety
  • Cost-performance tradeoffs

Autoscaling Configuration by the numbers

  • 405 all-time installs (skills.sh)
  • Ranked #389 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill autoscaling-configuration

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs405
repo stars305
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

How do you configure cloud autoscaling policies?

Configure cloud autoscaling policies, CPU and queue triggers, min/max instances, cooldowns, and cost-aware capacity for variable traffic loads.

Who is it for?

Platform or backend engineers tuning cloud autoscaling for services with spiky or seasonal traffic patterns.

Skip if: Static single-instance deployments or teams needing full infrastructure-as-code module authoring instead of policy design guidance.

When should I use this skill?

A developer needs to set or revise autoscaling triggers, instance bounds, cooldowns, or cost limits for variable production load.

What you get

Autoscaling policy definitions, trigger thresholds, min/max capacity bounds, cooldown settings, and cost-aware rollout checklist.

  • Autoscaling policy specification
  • Trigger threshold table
  • Cost and cooldown rollout checklist

Files

SKILL.mdMarkdownGitHub ↗

Autoscaling Configuration

Table of Contents

Overview

Implement autoscaling strategies to automatically adjust resource capacity based on demand, ensuring cost efficiency while maintaining performance and availability.

When to Use

  • Traffic-driven workload scaling
  • Time-based scheduled scaling
  • Resource utilization optimization
  • Cost reduction
  • High-traffic event handling
  • Batch processing optimization
  • Database connection pooling

Quick Start

Minimal working example:

# hpa-configuration.yaml
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
  name: myapp-hpa
  namespace: production
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: myapp
  minReplicas: 2
  maxReplicas: 20
  metrics:
    - type: Resource
      resource:
        name: cpu
        target:
          type: Utilization
          averageUtilization: 70
    - type: Resource
      resource:
        name: memory
        target:
          type: Utilization
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Kubernetes Horizontal Pod AutoscalerKubernetes Horizontal Pod Autoscaler
AWS Auto ScalingAWS Auto Scaling
Custom Metrics AutoscalingCustom Metrics Autoscaling
Autoscaling ScriptAutoscaling Script
Monitoring AutoscalingMonitoring Autoscaling

Best Practices

✅ DO

  • Set appropriate min/max replicas
  • Monitor metric aggregation window
  • Implement cooldown periods
  • Use multiple metrics
  • Test scaling behavior
  • Monitor scaling events
  • Plan for peak loads
  • Implement fallback strategies

❌ DON'T

  • Set min replicas to 1
  • Scale too aggressively
  • Ignore cooldown periods
  • Use single metric only
  • Forget to test scaling
  • Scale below resource needs
  • Neglect monitoring
  • Deploy without capacity tests

Related skills

FAQ

What triggers does autoscaling-configuration cover?

autoscaling-configuration addresses CPU utilization, queue depth, and related request-rate signals. The skill helps developers choose thresholds, min and max instances, and cooldown periods suited to variable production traffic.

When should teams use autoscaling-configuration?

autoscaling-configuration fits production operations when traffic becomes spiky, queues backlog, or existing policies over-provision resources. It outputs concrete policy parameters and rollout guidance rather than theoretical elasticity overviews.

Cloud & Infrastructureinfradeploymonitoring

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.