bazel-k8s-expert

bazel-k8s-expert is a skill for Claude Code, Codex from kinhluan/rules-quarkus-skills. It costs 45 tokens per session (3,748 once invoked), scanned A, original, MIT.

A deployment guide for running Quarkus or Java applications on Kubernetes with Bazel. Kubernetes is a system that runs and manages containers across servers.

In plain words
What is it for?
Use it to create Kubernetes deployments with Bazel, Helm, or Kustomize, including services, configuration, secrets, and liveness or readiness probes.
Why use it?
It helps generate deployment files consistently and covers common operational needs such as settings, secrets, resource limits, and health checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - ../../base.

Good fit Use it to create Kubernetes deployments with Bazel, Helm, or Kustomize, including services, configuration, secrets, and liveness or readiness probes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/kinhluan/rules-quarkus-skills
agentmods
npx agentmods add skills/kinhluan/rules-quarkus-skills/bazel-k8s-expert

Made for: Claude Code, Codex.

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 bazel-k8s-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/kinhluan/rules-quarkus-skills/bazel-k8s-expert/github.svg)](https://agentmods.dev/skills/kinhluan/rules-quarkus-skills/bazel-k8s-expert)
Your own site
<a href="https://agentmods.dev/skills/kinhluan/rules-quarkus-skills/bazel-k8s-expert"><img src="https://agentmods.dev/badge/skills/kinhluan/rules-quarkus-skills/bazel-k8s-expert/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 bazel-k8s-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/kinhluan/rules-quarkus-skills/bazel-k8s-expert"><img src="https://agentmods.dev/badge/skills/kinhluan/rules-quarkus-skills/bazel-k8s-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,748 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.00045 $0.03748
Opus 5 $0.00023 $0.01874
Sonnet 5 $0.00009 $0.00750
Haiku 4.5 $0.00005 $0.00375

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

Security

Grade A, and why

bazel-k8s-expert 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 12d 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.

.agent-skills/bazel-k8s-expert/SKILL.md · 673 lines

How it starts

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

bazel-k8s-expert

Keyword: k8s | Platforms: gemini,claude,codex

Bazel Kubernetes Expert Skill - Deploying, managing, and operating Quarkus and Java applications on Kubernetes using Bazel-native tooling.

Core Mandates

  • GitOps-Ready: All K8s manifests must be generated from Bazel targets, never hand-edited YAML in production.
  • Hermetic Deployments: Use rules_k8s or helm via Bazel to ensure deployment artifacts match built images exactly.
  • Health Probes: Every deployment must define @Liveness and @Readiness probes (see microprofile-expert).
  • Resource Limits: Always set CPU/memory requests and limits to prevent cluster starvation.
  • Config Externalization: Use ConfigMaps and Secrets for environment-specific values; never bake config into images.

Setup (Bzlmod)

MODULE.bazel

bazel_dep(name = "rules_k8s", version = "0.7")
bazel_dep(name = "rules_helm", version = "0.1")

# For Kustomize support
bazel_dep(name = "rules_kustomize", version = "0.1")

rules_k8s Deployment

Basic Deployment + Service

# services/user/k8s/BUILD.bazel
load("@rules_k8s//k8s:defs.bzl", "k8s_deploy")

k8s_deploy(
    name = "user-service_deploy",
    template = ":deployment.yaml",
    images = {
        "user-service": "//services/user:user-service_image",
    },
)
# services/user/k8s/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: user-service
  labels:
    app: user-service
spec:
  replicas: 3
  selector:
    matchLabels:
      app: user-service
  template:
    metadata:
      labels:
        app: user-service
    spec:
      containers:
        - name: user-service
          image: user-service  # Replaced by rules_k8s
          ports:
            - containerPort: 8080
          env:
            - name: QUARKUS_HTTP_PORT
              value: "8080"
            - name: JAVA_TOOL_OPTIONS
              value: "-XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0"
          resources:
            requests:
              memory: "256Mi"
              cpu: "250m"
            limits:
              memory: "512Mi"
              cpu: "500m"
          livenessProbe:
            httpGet:
              path: /q/health/live
              port: 8080
            initialDelaySeconds: 30
            periodSeconds: 10
          readinessProbe:
            httpGet:
              path: /q/health/ready
              port: 8080
            initialDelaySeconds: 5
            periodSeconds: 5
---
apiVersion: v1
kind: Service
metadata:
  name: user-service
spec:
  selector:
    app: user-service
  ports:
    - port: 80
      targetPort: 8080
  type: ClusterIP

Read the full file on GitHub · 673 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. 12d ago First seen · 673 lines · 45 tokens per session scan A 69ad9258d709

Subscribe to this mod's changes

bazel-k8s-expert is a skill published in the GitHub repository kinhluan/rules-quarkus-skills (3 stars, last pushed 3mo ago), licensed MIT. It adds 45 tokens to every session and 3,748 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories