New Relic Kubernetes Agent

New Relic Kubernetes Agent is an agent for Claude Code from archubbuck/workspace-architect. It costs 80 tokens per session (3,628 once invoked), scanned A, a copy of New Relic Kubernetes Agent, ISC.

A Kubernetes diagnosis agent using New Relic telemetry. Kubernetes runs containerized applications and manages their scheduling, scaling, networking, and storage.

In plain words
What is it for?
Use it to investigate pod crashes, memory kills, scheduling failures, node pressure, rollout problems, autoscaling, service endpoints, and storage binding.
Why use it?
It helps explain why workloads are crashing, stuck, restarting, under-resourced, or unavailable by examining pods, nodes, events, and controllers.

Agent for Claude Code

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, memory kills, scheduling failures, node pressure, rollout problems, autoscaling, service endpoints, and storage binding.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/new-relic-kubernetes
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/archubbuck/workspace-architect

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/archubbuck/workspace-architect/new-relic-kubernetes/github.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/new-relic-kubernetes)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/new-relic-kubernetes"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/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/archubbuck/workspace-architect/new-relic-kubernetes"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/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 100% copy Near-identical to another mod 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

This is a copy

100% identical to New Relic Kubernetes Agent — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/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 archubbuck/workspace-architect (19 stars, last pushed today), licensed ISC. 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. It is 100% identical to New Relic Kubernetes Agent, differing in 0 lines, and is treated as a copy.

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 Agentarchubbuck/workspace-architectAgent19todayISCA80Claude Code
AWS Incident Triagegithub/awesome-copilotAgent42ktodayMITA26Claude Code
Cloud and SaaS Outage Triagegithub/awesome-copilotAgent42ktodayMITA34Claude Code
AL Debugging Specialistjaviarmesto/ALDC-AL-Development-CollectionAgent115yesterdayMITA32Claude Code
al-triagejaviarmesto/ALDC-AL-Development-CollectionAgent115yesterdayMITA94Claude Code
09-Diagnosejonathan-vella/apex-acceleratorAgent513d agoMITA40Claude Code
systematic-debuggingfabioc-aloha/Alex_Skill_MallAgent64d agoMITA28Claude Code