keda

keda is a command for Claude Code from nitinjain999/platform-skills. It costs 99 tokens per session (1,602 once invoked), scanned A, original, Apache-2.0.

A command for creating, debugging, and reviewing KEDA autoscaling resources in Kubernetes. KEDA adjusts application capacity in response to events such as queue messages or monitoring metrics.

In plain words
What is it for?
Use it to create or troubleshoot KEDA ScaledObjects and ScaledJobs, including triggers for Prometheus, SQS, Kafka, Redis, scheduled jobs, HTTP, and Azure Service Bus.
Why use it?
It helps prevent configuration mistakes around workload types, scaling limits, timing, authentication, and scaling to zero.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the platform-skills plugin — 1 skill, 43 commands shipped together

Good fit Use it to create or troubleshoot KEDA ScaledObjects and ScaledJobs, including triggers for Prometheus, SQS, Kafka, Redis, scheduled jobs, HTTP, and Azure Service Bus.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nitinjain999/platform-skills/keda
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/nitinjain999/platform-skills

Made for: Claude Code.

Or install platform-skills, the plugin that ships this one along with the rest of its 1 skill, 43 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for keda

README.md
[![agentmods](https://agentmods.dev/badge/commands/nitinjain999/platform-skills/keda/github.svg)](https://agentmods.dev/commands/nitinjain999/platform-skills/keda)
Your own site
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/keda"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/keda/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for keda

Your own site · 80×15
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/keda"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/keda.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.01602
Opus 5 $0.00049 $0.00801
Sonnet 5 $0.00020 $0.00320
Haiku 4.5 $0.00010 $0.00160

Measured 9d ago against content hash be5286412d47, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

keda scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/keda.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design, debug, and review KEDA (Kubernetes Event-Driven Autoscaling) ScaledObject and ScaledJob resources.

Mode: generate

Write a production-ready ScaledObject or ScaledJob from a description.

Steps:

  1. Identify: target workload kind (Deployment / StatefulSet / Job), trigger type, and whether scale-to-zero is acceptable
  2. Choose the right resource kind:
    • Long-running service → ScaledObject
    • Batch processing per message → ScaledJob
  3. Generate with:
    • apiVersion: keda.sh/v1alpha1
    • scaleTargetRef.name matching the exact Deployment/StatefulSet/Job name
    • minReplicaCount: 0 only if the service can tolerate cold-start latency; otherwise minReplicaCount: 1

Scale-to-zero warning: Setting minReplicaCount: 0 means the Deployment will have 0 replicas when the queue/metric is empty. Cold-start latency applies — confirm this is acceptable before enabling.

  • pollingInterval and cooldownPeriod sized to the workload pattern (see table in references/keda.md)
  • Trigger-specific metadata with activationThreshold/activationQueueLength set to avoid flapping on sparse events
  • authenticationRef pointing to a TriggerAuthentication — never inline credentials in the ScaledObject
  • For AWS: prefer IRSA (podIdentity.provider: aws) over static key/secret pairs
  1. Generate the companion TriggerAuthentication or ClusterTriggerAuthentication
  2. Show validation command: kubectl describe scaledobject <name> -n <ns> and the expected Active: true condition

Mode: debug

Diagnose why a ScaledObject or ScaledJob is not scaling as expected.

Steps:

  1. Collect:
    kubectl get scaledobject -n <namespace>
    kubectl describe scaledobject <name> -n <namespace>
    kubectl get hpa -n <namespace>
    kubectl describe hpa keda-hpa-<scaledobject-name> -n <namespace>
    kubectl logs -n keda -l app.kubernetes.io/name=keda-operator --tail=100
    kubectl logs -n keda -l app.kubernetes.io/name=keda-operator-metrics-apiserver --tail=100
    
  2. Check the ScaledObject Conditions block:
    • Active: false → scaler is not detecting events (check trigger config and auth)
    • Ready: false → KEDA cannot reach the target deployment (check scaleTargetRef.name)
    • Fallback: true → metric fetch is failing; KEDA is using fallback replicas
  3. Check HPA for <unknown> targets — indicates metrics adapter cannot reach the external source
  4. Work through this checklist in order:
    • External source reachable from the KEDA namespace?
    • TriggerAuthentication secret exists and has correct keys?
    • activationThreshold too high for current event volume?
    • minReplicaCount preventing scale-to-zero?
    • Conflicting HPA on the same Deployment?
    • cooldownPeriod not yet elapsed?
  5. State the most likely root cause with the exact field or resource to fix
  6. Show the corrected spec section and the command to verify it

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 122 lines · 99 tokens per session scan A be5286412d47

Subscribe to this mod's changes

keda is a command published in the GitHub repository nitinjain999/platform-skills (41 stars, last pushed 2d ago), licensed Apache-2.0. It adds 99 tokens to every session and 1,602 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.