Architects, debugs, and cost-optimizes AWS infrastructure across core services, with monthly cost and blast radius stated up front.
Memory
AWS Health
Try itCheck health of AWS EC2 instances and ECS clusters/services. Reports running/stopped counts, CPU/memory metrics, and unhealthy tasks. Use when the user asks...
What it does
Check health of AWS EC2 instances and ECS clusters/services. Reports running/stopped counts, CPU/memory metrics, and unhealthy tasks. Use when the user asks about AWS instance health, ECS status, or infra monitoring.
The skill document
AWS Health Skill
Use this skill when the user asks any of the following:
- "What's the health of my AWS instances?"
- "How are my ECS services doing?"
- "Are all my EC2 instances running?"
- "Show me AWS status" / "Check my infra"
- "Any unhealthy tasks in ECS?"
- "What's the CPU on my instances?"
How to invoke
Run the health check script using the exec tool:
cd {baseDir} && npx tsx scripts/aws-health.ts
To check only EC2:
cd {baseDir} && npx tsx scripts/aws-health.ts --only ec2
To check only ECS:
cd {baseDir} && npx tsx scripts/aws-health.ts --only ecs
To check a specific ECS cluster:
cd {baseDir} && npx tsx scripts/aws-health.ts --only ecs --cluster my-cluster-name
Output format
The script prints a structured health report. Present it to the user as-is — it is already formatted for chat readability. If any service is UNHEALTHY or STOPPED unexpectedly, highlight that clearly to the user and suggest next steps (check logs, restart task, etc).
Error handling
CredentialsProviderError: env vars are missing or wrong — tell user to check AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.AccessDeniedException: the IAM user lacks permissions — tell user to attach theReadOnlyAccessor custom policy (see README.md).ResourceNotFoundException: the cluster name doesn't exist — ask user to confirm cluster name.- Network timeout: likely a VPC/firewall issue if running self-hosted — suggest checking connectivity.
Related skills
AWS基础设施基础查询工具(免费版)。通过AWS CLI执行read-only查询,帮助开发者快速了解云资源状态. 覆盖两大基础场景:EC2/S3/RDS资源清单查询、实例健康检查与CloudWatch告警查看. 默认只读模式,不执行任何变更操作。适用于日常运维巡检和资源盘点. 如需安全审计、成本分析、变更追踪等高级功能,请升级至aws-infra付费版.
Read-only health-check diagnostics for Alibaba Cloud load balancers (CLB/ALB/NLB). Collects listener health-check configuration, forwarding rules, server groups and backend server probe status, and produces a structured diagnosis report; never changes any configuration. Use when health checks fail, backend servers are marked unhealthy, or the customer asks about load balancer health-check configuration. Triggers: "health check failed", "unhealthy backend server", "backend probe abnormal", "backend server unhealthy", "SLB health check diagnosis", "CLB health check diagnosis", "ALB health check diagnosis", "NLB health check diagnosis", "listener health check configuration query", "server group probe status".
Systematic two-level diagnostics for Alibaba Cloud ECS instances covering connectivity, performance, disk, and status issues.
Health inspection for Alibaba Cloud Redis (ApsaraDB for Redis / Tair) instances. Generates HTML reports across 7 dimensions: instance basic info, current ses...
AWS S3 (aws.amazon.com). Use this skill for ANY AWS S3 request — reading, creating, updating, and deleting data. Whenever a task involves AWS S3, use this skill instead of calling the API directly.