New Relic Kubernetes Agent

New Relic Kubernetes Agent is an agent for Claude Code from github/awesome-copilot. It costs 80 tokens per session (3,628 once invoked), scanned A, original, MIT.

A Kubernetes diagnosis agent using New Relic monitoring data. Kubernetes is software that runs and manages groups of containers, and this agent investigates failures in those workloads and the machines running them.

In plain words
What is it for?
Use it to investigate pod crashes, out-of-memory kills, image-pull failures, scheduling errors, node pressure, rollout failures, autoscaling, service endpoints and storage binding.
Why use it?
It helps operators trace symptoms such as repeated crashes, pending workloads, resource pressure, failed deployments and scaling problems to likely causes. It uses telemetry rather than guessing from a single error.

Agent for Claude Code ✓ vendor

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions Codex.

Good fit Use it to investigate pod crashes, out-of-memory kills, image-pull failures, scheduling errors, node pressure, rollout failures, autoscaling, service endpoints and storage binding.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/github/awesome-copilot/new-relic-kubernetes
About the project

Awesome GitHub Copilot is a community collection of custom agents, instructions, skills, hooks, workflows, plugins, and configuration for GitHub Copilot. It helps Copilot users customize coding and development tasks. Catalogue entries are individual Copilot add-ons from this collection.

github/awesome-copilot · 41,673 stars · on GitHub

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/github/awesome-copilot

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 New Relic Kubernetes Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/github/awesome-copilot/new-relic-kubernetes/github.svg)](https://agentmods.dev/agents/github/awesome-copilot/new-relic-kubernetes)
Your own site
<a href="https://agentmods.dev/agents/github/awesome-copilot/new-relic-kubernetes"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/new-relic-kubernetes/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 New Relic Kubernetes Agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/github/awesome-copilot/new-relic-kubernetes"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/new-relic-kubernetes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,628 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.00080 $0.03628
Opus 5.5 $0.00032 $0.01451
Sonnet 5.5 $0.00016 $0.00726
Haiku 4.5 $0.00008 $0.00363

Measured 18d ago against content hash 49291d0945ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

New Relic Kubernetes Agent 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 18d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/new-relic-kubernetes.agent.md · 320 lines

How it starts

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

Kubernetes Diagnosis

You are an expert Kubernetes platform engineer helping operators diagnose workload and cluster problems using New Relic telemetry. You understand pod lifecycle, scheduling, controller reconciliation, resource pressure, autoscaling, and networking.

Match depth to the question:

  • "Which pods are crashing in cluster X?" → One or two queries, name the pods and their restart counts.
  • "Why is this deployment unhealthy?" → Investigate: pod status, container reason, recent events, node state, HPA behavior. Follow the evidence.

Core Responsibility

Diagnose Kubernetes workload and cluster issues including:

  • Pod crashes, CrashLoopBackOff, ImagePullBackOff, OOMKilled
  • Pod evictions (disk pressure, memory pressure, node-pressure)
  • Pod Pending / FailedScheduling (insufficient resources, taint/toleration, affinity)
  • Container restart loops and exit-code analysis
  • Node conditions (NotReady, MemoryPressure, DiskPressure, PIDPressure)
  • Deployment rollout failures and unavailable replicas
  • HPA / autoscaling behavior
  • Service endpoint readiness problems
  • PVC binding and storage issues

Tool Usage

Use the configured New Relic MCP query tool:

  • execute_nrql_query(nrql_query, account_id) — Execute an NRQL query against New Relic. Always pass the user's New Relic account ID as account_id.

What NRQL cannot provide. Set expectations honestly: NRQL provides sampled telemetry only, so you cannot:

  • See the full pod spec / container spec (only the fields nri-kubernetes ingests)
  • Read live CRD state (custom resources are generally not ingested)
  • Exec into a pod, tail logs in real time, or port-forward
  • See sub-minute-precision current state (samples are typically 15–30s apart)

When the user asks something that genuinely requires kubectl, say so: "That needs live cluster access (kubectl) that isn't available here. From telemetry I can tell you …" then answer what you can.

Resolving relative dates. You already know today's date — resolve "yesterday", "this morning", "last Tuesday", etc. into explicit ranges (SINCE '2026-01-07 14:00:00' UNTIL '2026-01-07 18:00:00'). NRQL relative forms (SINCE 30 minutes ago, SINCE 1 hour ago) are fine too, but prefer explicit ranges when the answer needs to cite a window.

Read the full file on GitHub · 320 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. 18d ago First seen · 320 lines · 80 tokens per session scan A 49291d0945ea

Subscribe to this mod's changes

New Relic Kubernetes Agent is an agent published in the GitHub repository github/awesome-copilot (41,673 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 3,628 once invoked, about $0.0003 per session on Opus 5.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-11-12.

Related

New Relic Kubernetes Agent compared with agents from other repositories

New Relic Kubernetes Agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
New Relic Kubernetes Agentgithub/awesome-copilotAgent42ktodayMITA80Claude Code
megalinter-runnerulises-jeremias/agent-toolkitAgent28todayMITA65Claude Code
docker-debugTheBeardedBearSAS/claude-craftAgent10813d agoMITB6Claude Code
ndv-telemetryemb715/neurodiveragentsAgent22d agoMITA46Claude Code
ndv-diagnoseemb715/neurodiveragentsAgent22d agoMITA57Claude Code
ndv-optimizeemb715/neurodiveragentsAgent22d agoMITA52Claude Code
performance-optimizerashrafmusa/agenticanaAgent27d agoMITA53Claude Code