k8s-rightsize SKILL.md skillA
k8s-rightsize from smk-labs/claude-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add smk-labs/claude-plugins/k8s-rightsize@git:20260910.35de111Pins git:20260910.35de111 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- smk-labs/claude-plugins
- Path
portal-skills/skills/k8s-rightsize/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260910.35de111, committed Sep 10, 2026
- First version recorded
- Aug 9, 2026
- Size
- 7,905 bytes
- Repository stars
- 11
- License
- MIT
Right-size Kubernetes CPU and memory requests from Prometheus usage (p95 CPU, p98 memory over 7 days), size the node count, tune KEDA autoscaling. Use when asked to rightsize workloads, cut node cost, or "how many nodes do we need".
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# k8s-rightsize: data-driven pod request sizing from Prometheus Right-size CPU/memory **requests** for workloads in a namespace using real 7-day usage from Prometheus, then compute how many nodes the cluster needs. Built for queue-worker fleets (Celery and similar) plus web/API pods, but works for any namespace. ## Best-practice model (researched: Datadog, Kubernetes docs) - **Requests drive scheduling (bin-packing); limits enforce a runtime ceiling.** (K8s docs) - **CPU is compressible.** A CPU *limit* throttles via CFS even when the node has spare CPU, spiking p95/p99 latency. For **async/background workers (Celery and similar), do NOT set CPU limits**: let them burst. Set the **CPU request to observed steady-state (median to p95)**. - **Memory is incompressible.** It can only be OOM-killed, not throttled. Set **memory request to p95-p98**. Optionally add a **memory limit of about p98 x 1.25** to stop a leak from taking down a node. (Some teams deliberately run fully burstable with no memory limits; respect the owner's choice, but name the trade-off.) …
Read the whole file at its exact version.
How to install
mdr add smk-labs/claude-plugins/k8s-rightsize@sha256:ce20a2dc3865599dThe line at the top of this page pins the label git:20260910.35de111, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_h6uejeb2mngwoskq)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 9, 2026 and Sep 10, 2026, about one every 32 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260910.35de111 latest | 2026-09-10 | 35de111 | 7,905 B | A | view · diff |
| git:20260809.4511906 | 2026-08-09 | 4511906 | 8,158 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7905 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
smk-labs/claude-plugins · 11 stars · license MIT · pushed 2026-09-27 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_h6uejeb2mngwoskq GET https://markdownregistry.com/api/v1/resolve?ref=smk-labs/claude-plugins/k8s-rightsize GET https://markdownregistry.com/api/v1/blob/ce20a2dc3865599df4a91b2435c3b587945b7338172b92bc1da4868a43af49fb
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.