AgentSkillsCN

status

当用户询问“EB状态”“环境状态”“正在运行什么”“是否已部署”“检查我的Beanstalk”“检查环境”“列出环境”“显示我的AWS环境”“EB健康”“EB列表”“EB开放”“EB控制台”“是否健康”“我的Beanstalk如何”或关于当前部署状态与环境健康时,应使用此技能。若要进行详细故障排除,请使用故障排除技能;若要获取日志,请使用日志技能。

SKILL.md
--- frontmatter
name: status
description: This skill should be used when the user asks "eb status", "environment status", "what's running", "is it deployed", "check my beanstalk", "check environments", "list environments", "show my aws environments", "eb health", "eb list", "eb open", "eb console", "is it healthy", "how is my beanstalk", or about current deployment state and environment health. For detailed troubleshooting use troubleshoot skill. For log retrieval use logs skill.

Environment Status & Health

Check current deployment state, environment health, and list Elastic Beanstalk environments using the EB CLI.

When to Use

  • Check environment status or deployment state
  • List all environments
  • View health overview
  • Open environment in browser or AWS Console
  • Check provisioned resources

When NOT to Use

  • Viewing logs → use logs skill
  • Diagnosing problems → use troubleshoot skill
  • Changing configuration → use config skill
  • Deploying code → use deploy skill

Quick Status

bash
eb status
eb status <env-name>

List All Environments

bash
eb list
eb list --verbose

Set Default Environment

bash
eb use <env-name>

Open in Browser

bash
eb open
eb open <env-name>

Open AWS Console

bash
eb console
eb console <env-name>

Detailed Health

bash
eb health
eb health <env-name>
eb health --refresh    # Live-updating dashboard

Health colors: Green (OK), Yellow (Warning), Red (Degraded/Severe), Grey (Unknown)

Environment Health (AWS CLI)

Detailed health via AWS CLI (requires enhanced health reporting):

bash
aws elasticbeanstalk describe-environment-health \
  --environment-name <env-name> \
  --attribute-names All --output json

Per-instance health:

bash
aws elasticbeanstalk describe-instances-health \
  --environment-name <env-name> \
  --attribute-names All --output json

Provisioned Resources

bash
aws elasticbeanstalk describe-environment-resources \
  --environment-name <env-name> \
  --output json

Shows EC2 instances, load balancers, auto scaling groups, and triggers.


Composability

  • View logs: Use logs skill
  • Diagnose issues: Use troubleshoot skill
  • Deploy code: Use deploy skill
  • Change configuration: Use config skill

Additional Resources