agentleFS
dmzoneilldmzoneill/skills/environment-overview/SKILL.md

environment-overview

Skill2 starsChanged 19 days agoApache-2.0View on GitHub

Environment health check showing namespace health, services, ingress, pods, resource usage, and warning events. Use when user says "how's stage?", "environment overview", "status of namespace X", or "check prod".

The file

Files
SKILL.md

Environment Overview

Comprehensive environment health check for stage, production, or ephemeral.

Inputs

InputTypeDefaultPurpose
namespacestringrequiredKubernetes namespace
environmentstringstagestage, production, ephemeral

Workflow

1. Load Persona

  • persona_load("devops")

2. K8s Queries

  • k8s_environment_summary(environment="{{ environment }}")
  • k8s_namespace_health(namespace="{{ namespace }}", environment="{{ environment }}")
  • kubectl_get_services(namespace="{{ namespace }}", environment="{{ environment }}")
  • kubectl_get_ingress(namespace="{{ namespace }}", environment="{{ environment }}")
  • kubectl_get_pods(namespace="{{ namespace }}", environment="{{ environment }}")
  • kubectl_top_pods(namespace="{{ namespace }}", environment="{{ environment }}") — resource usage
  • kubectl_get_events(namespace="{{ namespace }}", environment="{{ environment }}") — warning events

3. Prometheus (optional)

  • prometheus_check_health(namespace="{{ namespace }}", environment="{{ environment }}")

4. Parse & Analyze

  • Pod counts: Running, Pending, Failed
  • High CPU/memory pods
  • Warning events (error, failed, backoff, unhealthy)

5. Error Recovery

  • "unauthorized" → kube_login(cluster="stage" or "prod")
  • "no route to host" → vpn_connect()

6. Memory

  • memory_session_log("Checked environment overview", "namespace={{ namespace }}, healthy={{ healthy }}")

Output

Report: namespace health, services table, ingress hosts, pod counts (Running/Pending/Failed), resource usage, warning events, and quick commands for logs/deployments.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.