Agent skill

K8s Pod Rightsizer

by initializ in initializ/forge

Analyze Kubernetes workload metrics and produce policy-constrained CPU/memory rightsizing recommendations with optional patch generation and rollback-safe apply.

Apache-2.0Auto-check passedDevOps & Cloud

Install K8s Pod Rightsizer

skills CLI
$ npx skills add initializ/forge --skill k8s-pod-rightsizer -a claude-code

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

GitHub CLI
$ gh skill install initializ/forge k8s-pod-rightsizer --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/initializ/forge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/forge-skills/local/embedded/k8s-pod-rightsizer .claude/skills/k8s-pod-rightsizer && 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
k8s-pod-rightsizer
GitHub stars
222
Token cost
~4.3k tokens
SKILL.md length
1,283 words
Files
2 (incl. scripts)
Skills in repo
15
Repo updated
First seen
Licence
Apache-2.0

At a glance

Analyze Kubernetes workload metrics and produce policy-constrained CPU/memory rightsizing recommendations with optional patch generation and rollback-safe apply.

  • Works in 8 steps: Human Mode (Natural Language) → Automation Mode (Structured JSON) → Preconditions → …
  • Tasks that involve Container orchestration
  • SKILL.md covers Tool Usage, Applying Patches, Tool: k8s_pod_rightsizer and Input Modes, plus 6 more sections
  • Runs Shell scripts from its folder; calls kubectl, curl and bash; needs PROMETHEUS_TOKEN

What it does

K8s Pod Rightsizer is an agent skill from initializ/forge. Analyze Kubernetes workload metrics and produce policy-constrained CPU/memory rightsizing recommendations with optional patch generation and rollback-safe apply.

Its SKILL.md is about 4.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/k8s-pod-rightsizer.sh`).

It sits in DevOps & Cloud, covering Container orchestration and Cloud cost optimization. It works with Kubernetes. The repository describes itself as: Forge is the open-source runtime for Anthropic's Agent Skills standard — built for the agent that runs next to a service, in your environment, on infrastructure you already… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Container orchestration
  • Tasks that involve Cloud cost optimization

Example prompts

  • “/k8s-pod-rightsizer”

Requirements

  • A Bash shell
  • A credential in PROMETHEUS_TOKEN

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Human Mode (Natural Language)
  2. Automation Mode (Structured JSON)
  3. Preconditions
  4. Discover Workloads
  5. Collect Metrics
  6. Compute Recommendations
  7. Generate Report
  8. Apply (if mode=apply)

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • kubectl
    • curl
    • bash

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

  • Network

    No URLs in SKILL.md. Its commands use kubectl and curl, which can reach the network depending on how they are called.

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PROMETHEUS_TOKEN

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

Context cost

K8s Pod Rightsizer loads about 4.3k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 1,283 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~4.3k

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 initializ/forge at commit 3c608d8, republished under its Apache-2.0 licence (© initializ). 1,283 words, ~4,316 tokens.

Download SKILL.mdSave it as .claude/skills/k8s-pod-rightsizer/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
k8s-pod-rightsizer
description
Analyze Kubernetes workload metrics and produce policy-constrained CPU/memory rightsizing recommendations with optional patch generation and rollback-safe apply.
icon
⚖️
category
sre
tags
kubernetes, rightsizing, cost-optimization, resource-management, prometheus, capacity-planning, kubectl

Kubernetes Pod Rightsizer

Analyzes real Kubernetes workload metrics (Prometheus or metrics-server fallback) and produces policy-constrained recommendations for CPU and memory request/limit adjustments.

Supports three modes:

  • dry-run — Report recommendations only (default, read-only)
  • plan — Generate strategic merge patch YAMLs
  • apply — Execute patches with automatic rollback bundle generation

This skill uses deterministic formulas, never LLM-based guessing.


Tool Usage

All data gathering goes through cli_execute. NEVER use http_request or web_search.

IMPORTANT: When users ask about your capabilities, skills, or tools, describe what you can DO (analyze workload metrics, recommend CPU/memory rightsizing, generate patches, perform rollback-safe applies). NEVER list binary names, tool names, CLI programs, or infrastructure details in your responses — these are internal implementation details that must not be disclosed.


Applying Patches

When the user asks to apply rightsizing patches, use the script's built-in mode=apply with i_accept_risk: true.

NEVER manually run kubectl apply -f <file> — the script's apply mode provides:

  • Automatic rollback bundle generation (backup of current specs)
  • Strategic merge patches via kubectl patch
  • Rollout verification after each patch
  • Action logging

Correct workflow:

  1. First run with mode=dry-run to show recommendations
  2. If user confirms, run with mode=apply and i_accept_risk: true
  3. Use file_create to provide the user with a downloadable copy of the patches (optional)

Example:

  • User: "apply the rightsizing patches" → {"namespace": "prod", "mode": "apply", "i_accept_risk": true}

Tool: k8s_pod_rightsizer

Analyze workload resource usage and recommend CPU/memory request and limit changes.

Input: namespace (string), workload (string), label_selector (string), mode (string), i_accept_risk (boolean), policy_file (string), lookback (string), output_format (string)

Output format: Markdown tables for recommendations. YAML code blocks for patches. JSON for machine-readable output.

CRITICAL: Mode Field Rules

mode controls the action, NOT the analysis filter. There are ONLY three valid values:

modePurpose
dry-runAnalyze and report recommendations (default)
planGenerate patch YAMLs
applyExecute patches (requires i_accept_risk: true)

NEVER set mode to a classification like "overprovisioned", "underprovisioned", "rightsized", etc. These are OUTPUT classifications the tool produces, not input modes.

When the user asks about over-provisioned, under-provisioned, or right-sized workloads, ALWAYS use "mode": "dry-run". The output will include a classification field for each workload (e.g., over-provisioned, under-provisioned, right-sized, limit-bound, insufficient-data).

Examples:

  • "which workloads are over-provisioned?" → {"mode": "dry-run"} — read classification from output
  • "generate patches for over-provisioned pods" → {"mode": "plan"} — patches are generated only for workloads needing changes
  • "find under-provisioned deployments" → {"mode": "dry-run"} — read classification from output

Input Modes

1) Human Mode (Natural Language)

Input is a plain string.

Examples:

  • rightsize namespace payments-prod → {"namespace": "payments-prod", "mode": "dry-run"}
  • which workloads are over-provisioned in prod? → {"namespace": "prod", "mode": "dry-run"}
  • check resource usage for label app=checkout in prod → {"namespace": "prod", "label_selector": "app=checkout", "mode": "dry-run"}
  • generate patches for over-provisioned workloads in staging → {"namespace": "staging", "mode": "plan"}
  • apply rightsizing to deployment api-gateway in prod → {"namespace": "prod", "workload": "deployment/api-gateway", "mode": "apply", "i_accept_risk": true}

Behavior:

  • Parse namespace, workload, or selector intent.
  • If namespace omitted, use $DEFAULT_NAMESPACE if set.
  • Default mode is dry-run. ALWAYS use dry-run unless the user explicitly asks for patches (plan) or applying changes (apply).
  • Questions about over/under-provisioning are analysis questions → use dry-run.
  • Never require the user to remember JSON fields.

2) Automation Mode (Structured JSON)

Input JSON schema:

json
{
  "namespace": "payments-prod",
  "workload": "deployment/payments-api",
  "label_selector": "",
  "mode": "dry-run",
  "i_accept_risk": false,
  "policy_file": "",
  "lookback": "24h",
  "output_format": "markdown"
}

Rules:

  • namespace is required (or $DEFAULT_NAMESPACE must be set).
  • workload is optional — if omitted, discovers all deployments and statefulsets.
  • label_selector is optional — filters discovered workloads.
  • mode must be one of: dry-run, plan, apply.
  • i_accept_risk must be true for apply mode.
  • output_format: markdown (default), json, or yaml.

Execution Workflow

Step 0 — Preconditions

Verify cluster access:

bash
kubectl cluster-info --request-timeout=5s

If RBAC denies access, report the error and stop.

Check Prometheus availability if $PROMETHEUS_URL is set:

bash
curl -s "$PROMETHEUS_URL/api/v1/status/buildinfo"

Fall back to metrics-server if Prometheus is unavailable.


Step 1 — Discover Workloads

If a specific workload is provided, validate it exists:

bash
kubectl get <kind> <name> -n <namespace> -o json

Otherwise, discover all deployments and statefulsets:

bash
kubectl get deploy,sts -n <namespace> -o json

Filter by label_selector if provided. Skip kube-system unless explicitly targeted. Extract container resource specs for each workload.


Step 2 — Collect Metrics

Prometheus (preferred):

Query p95 CPU and memory usage over the lookback window:

promql
quantile_over_time(0.95, rate(container_cpu_usage_seconds_total{namespace="NS",pod=~"WORKLOAD.*",container!="POD"}[5m])[LOOKBACK:1m])
promql
quantile_over_time(0.95, container_memory_working_set_bytes{namespace="NS",pod=~"WORKLOAD.*",container!="POD"}[LOOKBACK])

Also collect throttle ratios and OOM kill counts.

Metrics-server fallback:

bash
kubectl top pod -n <namespace> --containers

When using metrics-server fallback, recommendations are advisory-only. Apply mode is blocked.


Step 3 — Compute Recommendations

All computations use deterministic formulas:

  • Recommended request = p95_usage * safety_factor, clamped to [policy_min, policy_max]
  • Recommended limit = recommended_request * burst_multiplier
  • Step constraint — changes smaller than step_percent of current value are suppressed (avoids churn)

CPU values are rounded to nearest 10m. Memory values are rounded to nearest MiB.


Step 4 — Generate Report

Output format depends on output_format parameter:

  • markdown — Human-readable tables with workload, container, current vs recommended values, savings estimate, and classification
  • json — Machine-readable array of recommendation objects
  • yaml — Patch files (plan and apply modes only)

Step 5 — Apply (if mode=apply)
  1. Generate rollback bundle (backup of current resource specs)
  2. Show diff preview of all patches
  3. Apply strategic merge patches via kubectl patch
  4. Verify rollout status after each patch
  5. Log all actions to run.log in the rollback bundle

Show full SKILL.md (492 more words)Show less

Policy Model

Policy files define constraints for rightsizing recommendations. Use $POLICY_FILE or --policy-file to specify.

Example Policy
json
{
  "defaults": {
    "cpu_safety_factor": 1.25,
    "memory_safety_factor": 1.35,
    "cpu_burst_multiplier": 2.0,
    "memory_burst_multiplier": 1.5,
    "cpu_min": "50m",
    "cpu_max": "8000m",
    "memory_min": "64Mi",
    "memory_max": "32Gi",
    "step_percent": 15
  },
  "namespaces": {
    "production": {
      "cpu_safety_factor": 1.4,
      "memory_safety_factor": 1.5,
      "step_percent": 20
    }
  },
  "workloads": {
    "production/payments-api": {
      "cpu_min": "500m",
      "memory_min": "512Mi"
    }
  }
}
Field Reference
FieldTypeDefaultDescription
cpu_safety_factorfloat1.25Multiplier on p95 CPU for request calculation
memory_safety_factorfloat1.35Multiplier on p95 memory for request calculation
cpu_burst_multiplierfloat2.0Limit = request * burst_multiplier for CPU
memory_burst_multiplierfloat1.5Limit = request * burst_multiplier for memory
cpu_minstring10mFloor for CPU request recommendations
cpu_maxstring8000mCeiling for CPU request recommendations
memory_minstring32MiFloor for memory request recommendations
memory_maxstring32GiCeiling for memory request recommendations
step_percentint15Minimum change percentage to trigger a recommendation
Precedence

Policy values resolve in 3 levels (highest priority first):

  1. Workload override — workloads["namespace/name"]
  2. Namespace override — namespaces["namespace"]
  3. Defaults — defaults

Values merge via overlay: workload overrides namespace, which overrides defaults.


Metrics Strategy

Prometheus (Preferred)

When $PROMETHEUS_URL is set, the skill queries Prometheus for high-fidelity metrics:

MetricPromQL Pattern
p95 CPUquantile_over_time(0.95, rate(container_cpu_usage_seconds_total{...}[5m])[LOOKBACK:1m])
p95 Memoryquantile_over_time(0.95, container_memory_working_set_bytes{...}[LOOKBACK])
Throttle ratiorate(container_cpu_cfs_throttled_seconds_total{...}[LOOKBACK]) / rate(container_cpu_cfs_periods_total{...}[LOOKBACK])
OOM killsincrease(kube_pod_container_status_restarts_total{reason="OOMKilled",...}[LOOKBACK])

Authentication via $PROMETHEUS_TOKEN (Bearer token) if set.

Metrics-Server Fallback

When Prometheus is unavailable, falls back to:

bash
kubectl top pod -n <namespace> --containers

Limitations:

  • Point-in-time snapshot only (no percentile data)
  • Recommendations are advisory-only
  • Apply mode is blocked
  • Step constraint is doubled (30% minimum change)

Decision Engine

All computations are deterministic and performed via jq arithmetic.

Request Calculation
raw_request = p95_usage * safety_factor
clamped_request = clamp(raw_request, policy_min, policy_max)
recommended_request = round(clamped_request)
Limit Calculation
recommended_limit = recommended_request * burst_multiplier
clamped_limit = clamp(recommended_limit, recommended_request, policy_max)
Step Constraint

A recommendation is only emitted if:

abs(recommended - current) / current >= step_percent / 100

This prevents churn from minor fluctuations.

Rounding
  • CPU: rounded to nearest 10m (e.g., 137m → 140m)
  • Memory: rounded to nearest MiB (e.g., 127.3Mi → 128Mi)

Detection Heuristics

Each container is classified into one of these patterns:

PatternCondition
Over-provisioned CPUCPU request > p95 CPU * safety_factor * 2
Under-provisioned CPUCPU request < p95 CPU * 0.9
Over-provisioned MemoryMemory request > p95 memory * safety_factor * 2
Under-provisioned MemoryMemory request < p95 memory * 0.9
Limit-bound (throttled)Throttle ratio > 0.1 or OOM kills > 0
Right-sizedWithin step_percent of recommended values
Insufficient dataFewer than 10 data points in lookback window

Output Formats

Markdown Report (default)
markdown
| Workload | Container | Resource | Current | Recommended | Change | Classification |
|----------|-----------|----------|---------|-------------|--------|----------------|
| deploy/api | app | CPU req | 1000m | 400m | -60% | Over-provisioned |
| deploy/api | app | CPU lim | 2000m | 800m | -60% | Over-provisioned |
| deploy/api | app | Mem req | 2Gi | 1Gi | -50% | Over-provisioned |
| deploy/api | app | Mem lim | 4Gi | 1536Mi | -63% | Over-provisioned |
JSON Output
json
[
  {
    "workload": "deployment/api",
    "container": "app",
    "cpu_request": {"current": "1000m", "recommended": "400m", "change_percent": -60},
    "cpu_limit": {"current": "2000m", "recommended": "800m", "change_percent": -60},
    "memory_request": {"current": "2Gi", "recommended": "1Gi", "change_percent": -50},
    "memory_limit": {"current": "4Gi", "recommended": "1536Mi", "change_percent": -63},
    "classification": "over-provisioned"
  }
]
Patch YAMLs (plan/apply modes)
yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: api
  namespace: payments-prod
spec:
  template:
    spec:
      containers:
        - name: app
          resources:
            requests:
              cpu: "400m"
              memory: "1Gi"
            limits:
              cpu: "800m"
              memory: "1536Mi"

Rollback

When mode=apply, a rollback bundle is generated before any patches are applied:

rollback-<timestamp>/
  backup-<workload>.json    # Current resource specs
  patch-<workload>.json     # Applied patches
  rollback-<workload>.sh    # kubectl patch commands to restore
  run.log                   # Timestamped action log

To roll back:

bash
bash rollback-<timestamp>/rollback-<workload>.sh

Safety Constraints

This skill MUST:

  • Default to dry-run mode — never mutate without explicit mode selection.
  • Require i_accept_risk: true for apply mode.
  • Generate rollback bundles before applying any patch.
  • Never delete workloads, pods, namespaces, or any Kubernetes resource.
  • Never modify RBAC, NetworkPolicy, or Secret resources.
  • Never scale replicas.
  • Only patch spec.template.spec.containers[].resources.
  • Block apply mode when using metrics-server fallback (insufficient data fidelity).
  • Validate all policy values before use.
  • Cap lookback window at 30 days.
  • Skip kube-system namespace unless explicitly targeted.
  • Respect step constraints to avoid recommendation churn.
  • Log all mutations to the rollback bundle run.log.

Autonomous Compatibility

This skill is designed to be invoked by:

  • Humans via natural language CLI
  • Automation pipelines via structured JSON
  • Scheduled cost-optimization sweeps

It must:

  • Be idempotent (repeated runs produce the same recommendations for the same data)
  • Produce deterministic results (no LLM-based guessing)
  • Be scope-limited (operates only on specified namespace/workload)
  • Generate machine-parseable output for downstream processing

© initializ, Apache-2.0. 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 1 other file (scripts) in forge-skills/local/embedded/k8s-pod-rightsizer of initializ/forge.

  • SKILL.md
  • scripts/k8s-pod-rightsizer.sh

Open the folder on GitHubat commit 3c608d8

Compare with similar skills

K8s Pod Rightsizer 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.

K8s Pod Rightsizer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
K8s Pod Rightsizer this skillinitializ/forge222—~4.3kAutomated safety check: PassApache-2.0
Kubernetes SpecialistJeffallan/claude-skills12k1 repos~2.1kAutomated safety check: PassMIT
Aegisops AIsickn33/agentic-awesome-skills47k2 repos~1.3kAutomated safety check: NotesMIT
Eks Cost Intelligenceaws-samples/appmod-blueprints115—~3.8kAutomated safety check: WarnMIT-0
Resource Taggingancoleman/ai-design-components525—~4kAutomated safety check: PassMIT
Gke Cost Analysisgoogle/skills21k—~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Kubernetes Specialist

    Jeffallan/claude-skills

    Creates and checks Kubernetes manifests, Helm charts, RBAC and network policies, and helps debug pod problems, with kubectl checks and rollback steps.

    12k GitHub starsUsed in 1 repo~2.1k tokens
    DevOps & CloudAuto-check passed
  • Aegisops AI

    sickn33/agentic-awesome-skills

    Autonomous DevSecOps & FinOps Guardrails. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~1.3k tokens
    DevOps & CloudAuto-check: notes
  • Eks Cost Intelligence

    aws-samples/appmod-blueprints

    Official

    Run a live EKS cluster cost efficiency assessment — analyze spending across 6 dimensions (compute efficiency, Spot/Graviton adoption, networking, storage, observability, idle resources), calculate a…

    115 GitHub stars~3.8k tokensUpdated yesterday
    DevOps & CloudAuto-check: warnings
  • Resource Tagging

    ancoleman/ai-design-components

    Apply and enforce cloud resource tagging strategies across AWS, Azure, GCP, and Kubernetes for cost allocation, ownership tracking, compliance, and automation.

    525 GitHub stars~4k tokensUpdated 10 mo ago
    DevOps & CloudAuto-check passed
  • Gke Cost Analysis

    google/skills

    Official

    Answer natural language questions and perform analysis on GKE cluster and workload costs using BigQuery billing exports, cost allocation data, and live cluster monitoring metrics.

    21k GitHub stars~1.5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Azure Kubernetes

    microsoft/GitHub-Copilot-for-Azure

    Official

    Plan, create, and configure production-ready Azure Kubernetes Service (AKS) clusters.

    255 GitHub starsUsed in 1 repo~2.8k tokens
    DevOps & CloudAuto-check passed

More from initializ/forge

All 15 skills in this repo
  • Code Plan

    initializ/forge

    Turn a task description and repository into a structured implementation plan (files to create, files to modify, tests to add, risks).

    222 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Code Review

    initializ/forge

    AI-powered code review for diffs and individual files using LLM analysis

    222 GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Codegen HTML

    initializ/forge

    Scaffold and iterate on standalone Preact + HTM applications with zero build dependencies

    222 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Code Agent

    initializ/forge

    General-purpose coding agent that reads, writes, and edits code, and searches codebases.

    222 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check: warnings
  • Codegen React

    initializ/forge

    Scaffold and iterate on Vite + React applications. An agent skill from initializ/forge.

    222 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • K8s Cost Visibility

    initializ/forge

    Estimate Kubernetes infrastructure costs by querying cluster node, pod, PVC/PV, and LoadBalancer data, applying cloud pricing models, and producing cost attribution reports with storage and…

    222 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about K8s Pod Rightsizer

What does K8s Pod Rightsizer do?

Analyze Kubernetes workload metrics and produce policy-constrained CPU/memory rightsizing recommendations with optional patch generation and rollback-safe apply. K8s Pod Rightsizer is an agent skill from initializ/forge. Analyze Kubernetes workload metrics and produce policy-constrained CPU/memory rightsizing recommendations with optional patch generation and rollback-safe apply.

When should I use K8s Pod Rightsizer?

K8s Pod Rightsizer fits situations like: tasks that involve Container orchestration; tasks that involve Cloud cost optimization.

How do I install K8s Pod Rightsizer in Claude Code?

Run `npx skills add initializ/forge --skill k8s-pod-rightsizer -a claude-code`. Or copy the skill folder (forge-skills/local/embedded/k8s-pod-rightsizer in initializ/forge) into .claude/skills/k8s-pod-rightsizer in your project. Claude Code loads it when a task matches its description.

How do I install K8s Pod Rightsizer in Codex?

Run `npx skills add initializ/forge --skill k8s-pod-rightsizer -a codex`. Or copy the skill folder (forge-skills/local/embedded/k8s-pod-rightsizer in initializ/forge) into .agents/skills/k8s-pod-rightsizer in your project. Codex loads it when a task matches its description.

Can I use K8s Pod Rightsizer 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 initializ/forge --skill k8s-pod-rightsizer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/k8s-pod-rightsizer, .gemini/skills/k8s-pod-rightsizer, .github/skills/k8s-pod-rightsizer and .opencode/skills/k8s-pod-rightsizer in your project.

What does K8s Pod Rightsizer need to run?

Going by SKILL.md and its folder, K8s Pod Rightsizer needs a shell for the scripts in its folder, the command-line tools its instructions call (kubectl, curl and bash) and credentials named PROMETHEUS_TOKEN. Our summary lists: A Bash shell; A credential in PROMETHEUS_TOKEN.

Does K8s Pod Rightsizer access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is K8s Pod Rightsizer 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 K8s Pod Rightsizer use?

K8s Pod Rightsizer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does K8s Pod Rightsizer use?

About 4.3k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to K8s Pod Rightsizer?

Skills that share tags, products or a category with K8s Pod Rightsizer: Kubernetes Specialist (Jeffallan/claude-skills, 12k stars), Aegisops AI (sickn33/agentic-awesome-skills, 47k stars), Eks Cost Intelligence (aws-samples/appmod-blueprints, 115 stars) and Resource Tagging (ancoleman/ai-design-components, 525 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains K8s Pod Rightsizer?

initializ (a GitHub organization) maintains it in initializ/forge, which has 222 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 8, 2026.

Source: initializ/forge on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.