agent-browser-automatiโฆ
Automate browser interactions for development testing using Puppeteer MCP
Comprehensive Talos Kubernetes cluster health monitoring with parallel infrastructure analysis
How it fires
How this command gets triggered: by you, by Claude, or both.
/infra-statusContext preview
What this command does when you run it.
Comprehensive Talos Kubernetes cluster health monitoring with parallel infrastructure analysis
allowed-tools: Task, Bash(kubectl:*), Bash(jq:*), Bash(gdate:*), Bash(echo:*), Bash(curl:*), Bash(top:*), Bash(df:*), Bash(uname:*) name: "Infra Status" description: "Comprehensive Talos Kubernetes cluster health monitoring with parallel infrastructure analysis" author: "wcygan" tags: ["ops","infra"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
STEP 1: Initialize infrastructure health monitoring session
# Initialize infrastructure monitoring session
echo '{
"sessionId": "'$SESSION_ID'",
"timestamp": "'$(gdate -Iseconds 2>/dev/null || date -Iseconds)'",
"checkScope": "'${ARGUMENTS:-all}'",
"clusterStatus": "unknown",
"infrastructureServices": {},
"criticalIssues": [],
"healthScore": 0
}' > /tmp/infra-status-$SESSION_ID.jsonSTEP 2: Adaptive monitoring strategy based on check scope and cluster complexity
TRY:
CASE check_scope: WHEN "nodes":
WHEN "pods":
WHEN "services" OR "infrastructure":
WHEN "storage":
WHEN "network":
WHEN "all" OR empty:
**Focused Component Analysis:**
# Quick node health check
echo "๐ Node Health Analysis:"
kubectl get nodes -o json | jq -r '.items[] | "\(.metadata.name): \(.status.conditions[] | select(.type=="Ready") | .status)"'
# Resource utilization with error handling
echo "๐ Resource Utilization:"
kubectl top nodes --use-protocol-buffers=false 2>/dev/null || echo "โ ๏ธ Metrics server unavailable"
kubectl top pods --all-namespaces --use-protocol-buffers=false 2>/dev/null | head -10 || echo "โ ๏ธ Pod metrics unavailable"
# Critical system pods
echo "๐๏ธ Critical System Pods:"
kubectl get pods -n kube-system -o json | jq -r '.items[] | select(.metadata.name | test("(etcd|api-server|controller|scheduler)")) | "\(.metadata.name): \(.status.phase)"'STEP 3: Parallel infrastructure service monitoring with sub-agent coordination
IF check_scope includes "services" OR "all":
LAUNCH parallel sub-agents for comprehensive infrastructure health analysis:
**Sub-Agent Coordination:**
# Each agent reports findings to session state echo "Launching parallel infrastructure health analysis..." echo "Agents will analyze: Database, Cache, Streaming, NoSQL, and Foundation layers" echo "Results will be aggregated into comprehensive health dashboard"
STEP 4: Health scoring and intelligent issue prioritization
TRY:
**Health Score Calculation:**
# Calculate comprehensive health score (0-100) node_health
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies