cpu-performance

cpu-performance is a skill for Claude Code, Codex from RedHatProductSecurity/prodsec-skills. It costs 50 tokens per session (1,771 once invoked), scanned A, original, Apache-2.0.

A set of Kubernetes pod rules for workloads that need predictable CPU performance, storage, and image handling. Kubernetes is a system for deploying and managing containers across machines.

In plain words
What is it for?
Use it when writing, reviewing, or auditing pod specifications that need dedicated CPUs, required runtime settings, storage provisioning, or controlled image pulls.
Why use it?
It helps prevent scheduling and resource settings from causing variable latency in telco, far-edge, and real-time workloads.

Skill for Claude CodeCodex

Part of the prodsec-skills plugin — 133 skills shipped together

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.

agentmods
npx agentmods add skills/redhatproductsecurity/prodsec-skills/cpu-performance
Any agent
npx skills add RedHatProductSecurity/prodsec-skills --skill cpu-performance
Clone the repo
git clone --depth 1 https://github.com/RedHatProductSecurity/prodsec-skills

Made for: Claude Code, Codex.

Or install prodsec-skills, the plugin that ships this one along with the rest of its 133 skills.

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 cpu-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/redhatproductsecurity/prodsec-skills/cpu-performance.svg)](https://agentmods.dev/skills/redhatproductsecurity/prodsec-skills/cpu-performance)
Your own site
<a href="https://agentmods.dev/skills/redhatproductsecurity/prodsec-skills/cpu-performance"><img src="https://agentmods.dev/badge/skills/redhatproductsecurity/prodsec-skills/cpu-performance.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,771 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00050 $0.01771
Opus 5 $0.00025 $0.00886
Sonnet 5 $0.00010 $0.00354
Haiku 4.5 $0.00005 $0.00177

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

Security

Grade A, and why

cpu-performance 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 6d 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.

module/skills/cpu-performance/SKILL.md · 153 lines

How it starts

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

CPU and Performance Configuration

Configure workloads for deterministic CPU performance, correct scheduling policies, and reliable storage and image management.

CPU Isolation

For workloads requiring exclusive CPU access (Guaranteed QoS with dedicated CPUs), all containers in the pod must meet these requirements:

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

  • CPU requests and limits must be identical and specified in whole units (e.g., 2, not 2.5 or 2000m)
  • runtimeClassName must be specified
  • Annotations must disable CPU and IRQ load-balancing
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app
  annotations:
    cpu-load-balancing.crio.io: "disable"
    irq-load-balancing.crio.io: "disable"
spec:
  template:
    spec:
      runtimeClassName: performance-rt
      containers:
        - name: app
          resources:
            requests:
              cpu: "2"
              memory: 256Mi
            limits:
              cpu: "2"
              memory: 256Mi

CPU Pool Scheduling Policies

Containers must use the correct scheduling policy for their CPU pool type.

Exclusive CPU Pool

Workloads in the exclusive CPU pool must use real-time (RT) scheduling policy with priority less than 10.

Required for: Far-Edge (mandatory), all others (optional)

Isolated CPU Pool

Workloads in the isolated CPU pool must also use RT scheduling policy.

Required for: Far-Edge (mandatory), all others (optional)

Shared CPU Pool

Workloads in the shared CPU pool must use non-RT scheduling policies (e.g., SCHED_OTHER) to share CPU time fairly with other applications and kernel threads.

Required for: Far-Edge (mandatory), all others (optional)

CPU Pool Consistency

If one container in a pod selects an exclusive CPU pool, all containers in that pod must select the same CPU pool type.

Required for: Far-Edge (mandatory), all others (optional)

Read the full file on GitHub · 153 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. 6d ago First seen · 153 lines · 50 tokens per session scan A 42c0af07e1fc

Subscribe to this mod's changes

cpu-performance is a skill published in the GitHub repository RedHatProductSecurity/prodsec-skills (52 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 1,771 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens