Agent skill

Configuring Auto Scaling Policies

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Configure use when you need to work with auto-scaling. An agent skill from jeremylongshore/tons-of-skills-marketplace.

MITAuto-check passedDevOps & Cloud

Install Configuring Auto Scaling Policies

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill configuring-auto-scaling-policies -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace configuring-auto-scaling-policies --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/configuring-auto-scaling-policies .claude/skills/configuring-auto-scaling-policies && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
configuring-auto-scaling-policies
GitHub stars
2.8k
Token cost
~1.1k tokens
SKILL.md length
451 words
Files
8 (incl. scripts, references, assets)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Configure use when you need to work with auto-scaling. An agent skill from jeremylongshore/tons-of-skills-marketplace.

  • Works in 9 steps: Identify the scaling target: EC2 Auto… → Analyze current workload metrics to… → Define scaling boundaries: minimum… → …
  • You need to work with auto-scaling
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Runs Python scripts from its folder; calls kubectl

What it does

Configuring Auto Scaling Policies is an agent skill from jeremylongshore/tons-of-skills-marketplace. Configure use when you need to work with auto-scaling. This skill provides auto-scaling configuration with comprehensive guidance and automation. Trigger with phrases like "configure auto-scaling", "set up elastic scaling", or "implement scaling".

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts, reference files and assets (for example `assets/README.md`, `assets/config_template.yaml` and `assets/example_aws_scaling_policy.json`). Compatibility notes: Designed for Claude Code

It sits in DevOps & Cloud. It works with Kubernetes, Google Cloud, Amazon Web Services and Microsoft Azure. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • You need to work with auto-scaling
  • With phrases like configure auto-scaling
  • Set up elastic scaling
  • Implement scaling

Example prompts

  • “configure auto-scaling”
  • “set up elastic scaling”
  • “implement scaling”
  • “/configuring-auto-scaling-policies”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(cmd:*)

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Identify the scaling target: EC2 Auto Scaling Group, GCP MIG, Azure VMSS, or Kubernetes Deployment
  2. Analyze current workload metrics to establish baseline utilization and peak patterns
  3. Define scaling boundaries: minimum instances/pods, maximum instances/pods, desired count
  4. Select scaling metric(s): CPU utilization, memory, request count, queue depth, or custom metrics
  5. Set target thresholds: scale-out trigger (e.g., CPU > 70%), scale-in trigger (e.g., CPU < 30%)
  6. Configure cooldown periods to prevent flapping (typically 300s scale-out, 600s scale-in)
  7. Add scale-in protection for stateful workloads or leader nodes if needed
  8. Generate the scaling policy configuration in the appropriate format (Terraform, YAML, or CLI commands)
  9. Validate by simulating load and confirming scaling events fire correctly

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • Bash(cmd:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • kubectl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.aws.amazon.com
    • kubernetes.io
    • cloud.google.com
    • learn.microsoft.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Configuring Auto Scaling Policies loads about 1.1k tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 451 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 451 words, ~1,054 tokens.

Download SKILL.mdSave it as .claude/skills/configuring-auto-scaling-policies/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
configuring-auto-scaling-policies
description
Configure use when you need to work with auto-scaling. This skill provides auto-scaling configuration with comprehensive guidance and automation. Trigger with phrases like "configure auto-scaling", "set up elastic scaling", or "implement scaling".
allowed-tools
Read, Write, Edit, Grep, Glob, Bash(cmd:*)
compatibility
Designed for Claude Code
version
1.25.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
devops, scaling, auto-scaling

Configuring Auto-Scaling Policies

Overview

Configure auto-scaling policies for cloud workloads across AWS Auto Scaling Groups, GCP Managed Instance Groups, Azure VMSS, and Kubernetes Horizontal Pod Autoscaler (HPA). Generate scaling configurations based on CPU, memory, request rate, or custom metrics with appropriate thresholds, cooldown periods, and scale-in protection.

Prerequisites

  • Cloud provider CLI installed and authenticated (aws, gcloud, or az)
  • For Kubernetes HPA: kubectl configured with cluster access and metrics-server deployed
  • Baseline performance data for the target workload (average CPU, memory, request rate)
  • Understanding of traffic patterns (steady, bursty, scheduled)
  • IAM permissions to create/modify scaling policies and CloudWatch/Stackdriver alarms

Instructions

  1. Identify the scaling target: EC2 Auto Scaling Group, GCP MIG, Azure VMSS, or Kubernetes Deployment
  2. Analyze current workload metrics to establish baseline utilization and peak patterns
  3. Define scaling boundaries: minimum instances/pods, maximum instances/pods, desired count
  4. Select scaling metric(s): CPU utilization, memory, request count, queue depth, or custom metrics
  5. Set target thresholds: scale-out trigger (e.g., CPU > 70%), scale-in trigger (e.g., CPU < 30%)
  6. Configure cooldown periods to prevent flapping (typically 300s scale-out, 600s scale-in)
  7. Add scale-in protection for stateful workloads or leader nodes if needed
  8. Generate the scaling policy configuration in the appropriate format (Terraform, YAML, or CLI commands)
  9. Validate by simulating load and confirming scaling events fire correctly

Output

  • Terraform HCL for AWS ASG scaling policies with CloudWatch alarms
  • Kubernetes HPA manifests (YAML) with resource or custom metric targets
  • GCP autoscaler configurations for Managed Instance Groups
  • Scaling policy JSON/YAML for Azure VMSS
  • CloudWatch or Stackdriver alarm definitions tied to scaling actions
Show full SKILL.md (194 more words)Show less

Error Handling

ErrorCauseSolution
No scaling activity despite high loadMetric not reaching threshold or cooldown activeVerify metric source in CloudWatch/Stackdriver; check cooldown timer with describe-scaling-activities
Scaling too aggressively (flapping)Cooldown too short or threshold too sensitiveIncrease cooldown period and widen the gap between scale-out and scale-in thresholds
Max capacity reachedInstance/pod limit hit during traffic spikeRaise max_size or implement request queuing as a backpressure mechanism
HPA unable to compute replica countMetrics server not deployed or metric unavailableInstall metrics-server and verify kubectl top pods returns data
FailedScaleUp: insufficient capacityCloud provider out of capacity in selected AZ/regionAdd multiple AZs to the ASG or use mixed instance types with allocation strategy

Examples

  • "Configure an AWS ASG with target tracking at 65% CPU, min 2 / max 20 instances, and 5-minute cooldown."
  • "Create a Kubernetes HPA for a deployment that scales from 3 to 50 pods based on requests-per-second using a custom Prometheus metric."
  • "Set up scheduled scaling for a GCP MIG: scale to 10 instances at 8am UTC and back to 2 at 10pm."

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts, references, assets) in skills/.curated/configuring-auto-scaling-policies of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • assets/README.md
  • assets/config_template.yaml
  • assets/example_aws_scaling_policy.json
  • assets/example_hpa.yaml
  • references/README.md
  • scripts/README.md
  • scripts/generate_config.py

Open the folder on GitHubat commit cfae287

Compare with similar skills

Configuring Auto Scaling Policies next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Configuring Auto Scaling Policies compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Configuring Auto Scaling Policies this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: PassMIT
Provider Bug Reviewmondoohq/mql412—~2.9kAutomated safety check: PassCustom licence
Kcli Cluster Deploymentkarmab/kcli653—~1.5kAutomated safety check: PassApache-2.0
Extend Discovery Typerunwhen-contrib/runwhen-local163—~1.7kAutomated safety check: PassApache-2.0
Kclikarmab/kcli653—~2.6kAutomated safety check: WarnApache-2.0
Multi Cloud ArchitectureHermeticOrmus/LibreUIUX-Claude-Code11211 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Deep static code review of an mql provider for logic errors, nil-handling bugs, pagination truncation, caching/id collisions, and other defects that silently give users wrong data.

    412 GitHub stars~2.9k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Guides deployment and management of Kubernetes clusters with kcli.

    653 GitHub stars~1.5k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Extend Discovery Type

    runwhen-contrib/runwhen-local

    Add or enrich a resource type in an existing RunWhen Local discovery indexer (Azure azureapi, GCP gcpapi, AWS, or Kubernetes).

    163 GitHub stars~1.7k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Kcli

    karmab/kcli

    Comprehensive guide for kcli usage. An agent skill from karmab/kcli.

    653 GitHub stars~2.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: warnings
  • Multi Cloud Architecture

    HermeticOrmus/LibreUIUX-Claude-Code

    Design multi-cloud architectures using a decision framework to select and integrate services across AWS, Azure, and GCP.

    112 GitHub starsUsed in 11 repos~1.2k tokens
    DevOps & CloudAuto-check passed
  • Guides kcli configuration and provider setup. An agent skill from karmab/kcli.

    653 GitHub stars~1.5k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: warnings

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Categories

Questions about Configuring Auto Scaling Policies

What does Configuring Auto Scaling Policies do?

Configure use when you need to work with auto-scaling. An agent skill from jeremylongshore/tons-of-skills-marketplace. Configuring Auto Scaling Policies is an agent skill from jeremylongshore/tons-of-skills-marketplace. Configure use when you need to work with auto-scaling.

When should I use Configuring Auto Scaling Policies?

Configuring Auto Scaling Policies fits situations like: you need to work with auto-scaling; with phrases like configure auto-scaling; set up elastic scaling; implement scaling.

How do I install Configuring Auto Scaling Policies in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill configuring-auto-scaling-policies -a claude-code`. Or copy the skill folder (skills/.curated/configuring-auto-scaling-policies in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/configuring-auto-scaling-policies in your project. Claude Code loads it when a task matches its description.

How do I install Configuring Auto Scaling Policies in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill configuring-auto-scaling-policies -a codex`. Or copy the skill folder (skills/.curated/configuring-auto-scaling-policies in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/configuring-auto-scaling-policies in your project. Codex loads it when a task matches its description.

Can I use Configuring Auto Scaling Policies in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill configuring-auto-scaling-policies -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/configuring-auto-scaling-policies, .gemini/skills/configuring-auto-scaling-policies, .github/skills/configuring-auto-scaling-policies and .opencode/skills/configuring-auto-scaling-policies in your project.

What does Configuring Auto Scaling Policies need to run?

Going by SKILL.md and its folder, Configuring Auto Scaling Policies needs Python for the scripts in its folder and the command-line tools its instructions call (kubectl). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(cmd:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Configuring Auto Scaling Policies access the network?

SKILL.md names 4 domains. As links in the text: docs.aws.amazon.com, kubernetes.io, cloud.google.com and learn.microsoft.com. This is read from the text; nothing was executed.

Is Configuring Auto Scaling Policies safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Configuring Auto Scaling Policies use?

Configuring Auto Scaling Policies is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Configuring Auto Scaling Policies use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17 tokens, read only when the agent opens those files.

What are the alternatives to Configuring Auto Scaling Policies?

Skills that share tags, products or a category with Configuring Auto Scaling Policies: Provider Bug Review (mondoohq/mql, 412 stars), Kcli Cluster Deployment (karmab/kcli, 653 stars), Extend Discovery Type (runwhen-contrib/runwhen-local, 163 stars) and Kcli (karmab/kcli, 653 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Configuring Auto Scaling Policies?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.