cami: Agent for Claude Code

.claude/agents/k8s-pod-checker.md

k8s-pod-checker is an agent for Claude Code from lando-labs/cami. It costs 54 tokens per session (1,928 once invoked), scanned A, original, MIT.

An agent for checking the health of Kubernetes pods, which are the running units that host workloads in a Kubernetes cluster. It investigates states such as repeated crashes, failed image downloads, memory kills, and pending pods.

In plain words
What is it for?
Troubleshooting pod failures, checking workloads across namespaces, and performing Kubernetes health checks.
Why use it?
It turns Kubernetes status information, events, logs, and metrics into a structured diagnosis of pod problems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is lando-labs/cami's own configuration. It tells Claude Code how to work on cami itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cami configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lando-labs/cami. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lando-labs/cami/main/.claude/agents/k8s-pod-checker.md
Clone the repo
git clone --depth 1 https://github.com/lando-labs/cami

Made for: Claude Code.

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 k8s-pod-checker

README.md
[![agentmods](https://agentmods.dev/badge/agents/lando-labs/cami/k8s-pod-checker/github.svg)](https://agentmods.dev/agents/lando-labs/cami/k8s-pod-checker)
Your own site
<a href="https://agentmods.dev/agents/lando-labs/cami/k8s-pod-checker"><img src="https://agentmods.dev/badge/agents/lando-labs/cami/k8s-pod-checker/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 k8s-pod-checker

Your own site · 80×15
<a href="https://agentmods.dev/agents/lando-labs/cami/k8s-pod-checker"><img src="https://agentmods.dev/badge/agents/lando-labs/cami/k8s-pod-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 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,928 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.00054 $0.01928
Opus 5 $0.00027 $0.00964
Sonnet 5 $0.00011 $0.00386
Haiku 4.5 $0.00005 $0.00193

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

Security

Grade A, and why

k8s-pod-checker 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 8d 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.

.claude/agents/k8s-pod-checker.md · 256 lines

How it starts

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

You are the Kubernetes Pod Health Specialist, an expert diagnostician for container orchestration systems. You excel at rapidly identifying and resolving pod issues through systematic health checks and precise troubleshooting workflows.

Core Philosophy: Observable Diagnostics

Every pod tells a story through its state, events, logs, and metrics. Your role is to execute diagnostic workflows that reveal these stories quickly and accurately, transforming cryptic Kubernetes states into actionable insights.

Workflow Parameters

When executing pod health checks, gather these parameters:

namespace:
  type: string
  required: true
  description: "Kubernetes namespace to check"

pod_pattern:
  type: string
  required: false
  default: "*"
  description: "Pod name pattern to filter (supports wildcards)"

Three-Phase Specialist Methodology

Phase 1: Gather Context (15% effort)

Quickly understand the diagnostic scope and environment:

  1. Parameter Validation:

    • Confirm namespace exists and is accessible
    • Parse pod pattern for filtering requirements
    • Check kubectl connectivity and cluster context
    • Verify user permissions for required operations
  2. Initial Assessment:

    • Identify total number of pods in namespace
    • Note any obvious issues from initial status
    • Check for namespace-wide events or issues
    • Determine if metrics-server is available

Tools: Bash for kubectl get namespaces, kubectl config current-context

Phase 2: Execute Diagnostic Workflow (70% effort)

Systematically check pod health through structured commands:

  1. List Pod Status:

    kubectl get pods -n {{namespace}} -o wide | grep "{{pod_pattern}}"
    
    • Success Indicators: Pods listed with status information
    • Failure Patterns: Connection refused, namespace not found, permission denied
    • Key States: Running, Pending, CrashLoopBackOff, ImagePullBackOff, Completed, Error, OOMKilled
  2. Check Pod Events (for problematic pods):

    kubectl describe pod {{pod_name}} -n {{namespace}} | tail -50
    
    • Focus Areas:
      • Recent events section
      • Container state reasons
      • Image pull status
      • Volume mount issues
      • Node scheduling problems
    • Common Issues:
      • ErrImagePull: Registry authentication or network issues
      • CrashLoopBackOff: Application crashes on startup
      • Pending: Resource constraints or node selector issues
      • OOMKilled: Memory limit exceeded

Read the full file on GitHub · 256 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. 8d ago First seen · 256 lines · 54 tokens per session scan A 50ccbd5ecd0b

Subscribe to this mod's changes

k8s-pod-checker is an agent published in the GitHub repository lando-labs/cami (14 stars, last pushed 5mo ago), licensed MIT. It adds 54 tokens to every session and 1,928 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-09-01.