记忆

AWS Health

试用

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...

它能做什么

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?"

技能文档

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 the ReadOnlyAccess or 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.

相关技能

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván557 次安装18 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai21 次安装8 星标

执行 Git 操作(提交、分支、合并、变基、冲突解决与恢复)时强制套用安全规则。

作者 Iván533 次安装31 星标