cluster-awareness

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

A read-only agent that checks the live state of a GKE production cluster using kubectl, the command-line tool for Kubernetes.

In plain words
What is it for?
Use it to inspect deployments, service connections, port mappings, resource usage, restarts, and differences between live systems and Git manifests.
Why use it?
It shows what is actually running—such as pods, services, versions, resources, and health—instead of relying only on configuration files.

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 deployments, service connections, port mappings, resource usage, restarts, and differences between live systems and Git manifests.

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

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/cluster-awareness/github.svg)](https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team/cluster-awareness)
Your own site
<a href="https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team/cluster-awareness"><img src="https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team/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/cluster-awareness"><img src="https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team/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,154 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.00457 $0.07154
Opus 5 $0.00229 $0.03577
Sonnet 5 $0.00091 $0.01431
Haiku 4.5 $0.00046 $0.00715

Measured 9d ago against content hash 252e95e37dc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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/cluster-awareness.md · 536 lines

How it starts

The opening of the file, as written. The whole thing — 536 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 · 536 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. 9d ago First seen · 536 lines · 457 tokens per session scan A 252e95e37dc8

Subscribe to this mod's changes

cluster-awareness is an agent published in the GitHub repository asiflow/claude-nexus-hyper-agent-team (18 stars, last pushed 3mo ago), licensed MIT. It adds 457 tokens to every session and 7,154 once invoked, about $0.0023 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-30.

Related

Other agents, from other repositories

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

database-admin

Expert database administrator specializing in modern cloud databases, automation, and reliability engineering. Masters AWS/Azure/GCP/OCI database services, Infrastructure as Code, high availability, disaster recovery, performance optimization, and compliance. Handles multi-cloud strategies, container databases, and…

wshobson/agents · 72 tokens

business-analyst

Master modern business analysis with AI-powered analytics, real-time dashboards, and data-driven insights. Build comprehensive KPI frameworks, predictive models, and strategic recommendations. Use PROACTIVELY for business intelligence or strategic analysis.

wshobson/agents · 47 tokens

cicd-automation-cloud-architect

Expert cloud architect specializing in AWS/Azure/GCP/OCI multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization, and modern architectural patterns. Masters serverless, microservices, security, compliance, and disaster recovery. Use PROACTIVELY for cloud architecture, cost…

wshobson/agents · 82 tokens

cicd-automation-terraform-specialist

Expert Terraform/OpenTofu specialist mastering advanced IaC automation, state management, and enterprise infrastructure patterns. Handles complex module design, multi-cloud deployments, GitOps workflows, policy as code, and CI/CD integration. Covers migration strategies, security best practices, and modern IaC…

wshobson/agents · 83 tokens