Back to Blog

automation

AWS Health Events Skill: First Stop for Incident RCA

Learn how the aws-health-events skill helps agents check AWS-side issues first during incident investigations.

OpenAgentSkillPublished:

Where this fits

You're on call. Your pager fires at 3 AM: error rates spiked, latency is climbing. You spin up an agent to investigate, but before digging into your own logs, you need to know one thing: is this an AWS issue? The aws-health-events skill gives your agent a direct line to AWS Health events—service disruptions, scheduled maintenance, and account-specific notifications—so it can rule out or confirm AWS-side causes in seconds, not minutes.

Why agents benefit

  • Instant health check: The skill queries AWS Health API and returns active or recent events filtered by service, region, time window, and status—no manual console digging.

  • Correlation with incidents: It surfaces events that match your observed symptoms (degradation, throttling, connection failures) so the agent can hypothesize a causal link.

  • Scheduled maintenance awareness: It identifies upcoming or in-progress maintenance windows that might explain deployment failures or capacity issues.

  • Account-specific notifications: It retrieves account-level notices like throttling limits or service quota changes that could be the root cause.

  • Summary generation: It can produce a concise health event summary for a given time period—perfect for RCA reports or status updates.

Practical scenarios

Sudden latency spike in a production service

Your agent notices elevated p95 latency in an API. Instead of tracing every request, it calls the skill and finds an ongoing AWS service disruption in the same region. It immediately informs you and suggests waiting for AWS resolution rather than wasting hours on internal debugging.

Deployment failure during a maintenance window

You push a new version and see immediate connection errors. The skill reveals a scheduled EC2 maintenance event that started minutes ago. Your agent can roll back, notify the team, and reschedule the deployment—all with evidence from AWS Health.

Throttling errors with no code changes

Your Lambda invocations start getting 429s. The skill uncovers an account-level notification about a new concurrency limit. The agent adjusts retry logic or alerts you to request a quota increase, turning a mystery into a fix.

Add it to your agent workflow

Install the skill with:

npx skills add aws/tools-for-devops-agent --skill aws-health-events

Then in your agent prompt, instruct it to always start incident investigations by checking AWS Health. For example:

When you receive an alert, first run aws-health-events for the affected service and region in the last hour. If you find a relevant event, include it in your response before analyzing application logs.

The skill handles the API calls and returns structured event data your agent can reason over.

Compare before adopting

Before adding this skill, evaluate:

  • Quality signals: It's authored by AWS, has 42 stars, and is part of the official tools-for-devops-agent repo—a strong sign of maintenance and correctness.

  • Maintenance freshness: Check the repo's last commit date and issue activity. AWS official projects tend to stay updated with API changes.

  • Alternatives: You could write your own AWS Health API wrapper, but that's extra code and maintenance. This skill is purpose-built for agent use.

  • Workflow fit: Does your agent already have AWS credentials and permissions for health:DescribeEvents? If not, you'll need to configure those.

Why it is worth tracking

This skill is a prime example of how AWS is embracing agent-native tooling. With official backing and a focused scope, it solves a real pain point—the first 10 minutes of any incident. As the repo gains traction, expect more skills for other AWS services. If you're building ops or support agents, evaluate this now; it's a low-risk, high-value addition to your toolkit. For more context, see the skill listing on OpenAgentSkill.

Featured Skill

aws-health-events

Skill by aws