cluster-awareness

cluster-awareness is an agent for Claude Code from asiflow/claude-nexus-hyper-agent-team-light. It costs 457 tokens per session (7,131 once invoked), scanned A, a copy of cluster-awareness, MIT.

A read-only agent that reports the live state of a Google Kubernetes Engine (GKE) production cluster by querying kubectl, the command-line tool for Kubernetes.

In plain words
What is it for?
Use it to inspect pods, services, ports, deployed versions, resource usage, health, and differences between production and Git-managed configuration.
Why use it?
It shows what is actually running rather than what configuration files say should be running. It also highlights health, version differences, resource use, and drift between the cluster and source-controlled manifests.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PROJECT_DIR} variable. Also seen: model in frontmatter; reads .claude/ paths; positional $N argument.

Good fit Use it to inspect pods, services, ports, deployed versions, resource usage, health, and differences between production and Git-managed configuration.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/asiflow/claude-nexus-hyper-agent-team-light/cluster-awareness
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/asiflow/claude-nexus-hyper-agent-team-light

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 cluster-awareness

README.md
[![agentmods](https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team-light/cluster-awareness/github.svg)](https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team-light/cluster-awareness)
Your own site
<a href="https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team-light/cluster-awareness"><img src="https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team-light/cluster-awareness/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 cluster-awareness

Your own site · 80×15
<a href="https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team-light/cluster-awareness"><img src="https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team-light/cluster-awareness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 457 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,131 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 98% 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.00457 $0.07131
Opus 5 $0.00229 $0.03565
Sonnet 5 $0.00091 $0.01426
Haiku 4.5 $0.00046 $0.00713

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

Security

Grade A, and why

cluster-awareness 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 10d 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

98% identical to cluster-awareness — 7 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.

agents/cluster-awareness.md · 535 lines

How it starts

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

You are Cluster Awareness — the Live GKE Cluster Intelligence Agent. You are the single source of truth for "what is actually running in production right now." Not what the manifests say. Not what the last deployment was supposed to do. What kubectl says IS running, at this moment.

You are the team's eyes into the production cluster. When any agent needs to know the real state of the world, they come to you.


CORE AXIOMS (Non-Negotiable)

Axiom Meaning
Live state is truth Manifests are intent. Kubectl output is reality. When they disagree, reality wins.
Observe, don't modify You READ cluster state. You NEVER apply changes, scale deployments, or delete resources. That's for builders + infra-expert.
Freshness is everything Cluster state is a snapshot. Always include the timestamp of your observation. State from 5 minutes ago may be stale.
Context over data Don't dump raw kubectl output. Interpret it: " has 3/3 pods Ready, running image v1.4.2, no restarts in 24h, HPA at 60% target."
Drift is signal When live state doesn't match git manifests, that's important information. Flag it explicitly.

CRITICAL PROJECT CONTEXT

GKE Cluster

  • Cluster: GKE on Google Cloud with Dataplane V2 (Cilium)
  • Service Mesh: Istio with mTLS
  • Namespaces: Production workloads, sandbox namespace for agent-executed code

Primary Services to Monitor

Service Expected Port Protocol Critical For
8010 HTTP + SSE AG-UI streaming, session management
8009 HTTP + WS Code execution, sandbox orchestration
graphql-gateway 4000 HTTP/2 + WS Apollo Federation, API gateway
llm-gateway 8000 HTTP Model routing, inference
3001 HTTP Next.js, user-facing UI
PostgreSQL (Cloud SQL) 5432 TCP Primary data store
Redis (Memorystore) 6379 TCP Caching, streams, sessions

Read the full file on GitHub · 535 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. 10d ago First seen · 535 lines · 457 tokens per session scan A 2e998ede7862

Subscribe to this mod's changes

cluster-awareness is an agent published in the GitHub repository asiflow/claude-nexus-hyper-agent-team-light (12 stars, last pushed 4mo ago), licensed MIT. It adds 457 tokens to every session and 7,131 once invoked, about $0.0023 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to cluster-awareness, differing in 7 lines, and is treated as a copy.

Related

Other agents, from other repositories

infra-expert

Use this agent as a distinguished Infrastructure/K8s/SRE authority for peer-review-level infrastructure review, incident response, and GKE/GCP platform expertise. Covers Kubernetes deep internals, GKE-specific features, Istio service mesh, Terraform/IaC, GCP platform services, networking, cost engineering, and…

asiflow/claude-nexus-hyper-agent-team · 421 tokens

cicd-automation-devops-troubleshooter

Expert DevOps troubleshooter specializing in rapid incident response, advanced debugging, and modern observability. Masters log analysis, distributed tracing, Kubernetes debugging, performance optimization, and root cause analysis. Handles production outages, system reliability, and preventive monitoring. Use…

wshobson/agents · 74 tokens

cicd-automation-kubernetes-architect

Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration. Masters EKS/AKS/GKE/OKE, service mesh (Istio/Linkerd), progressive delivery, multi-tenancy, and platform engineering. Handles security, observability, cost…

wshobson/agents · 101 tokens

hybrid-cloud-architect

Expert hybrid cloud architect specializing in complex multi-cloud solutions across AWS/Azure/GCP/OCI and private clouds (OpenStack/VMware). Masters hybrid connectivity, workload placement optimization, edge computing, and cross-cloud automation. Handles compliance, cost optimization, disaster recovery, and migration…

wshobson/agents · 81 tokens

cloud-infrastructure-network-engineer

Expert network engineer specializing in modern cloud networking, security architectures, and performance optimization. Masters multi-cloud connectivity, service mesh, zero-trust networking, SSL/TLS, global load balancing, and advanced troubleshooting. Handles CDN optimization, network automation, and compliance. Use…

wshobson/agents · 74 tokens

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms. Use PROACTIVELY for data pipeline design, analytics infrastructure, or modern data stack implementation.

wshobson/agents · 54 tokens