aws avatar

Troubleshooting Application Failures

When your app is breaking and you need to figure out why, this skill digs through CloudWatch logs to find the problem. It discovers relevant log groups, searches for error patterns and stack traces, then does root cause analysis to give you prioritized fixes. The workflow is structured, which is helpful when you're under pressure and need a systematic approach rather than grep-ing blindly through logs. You'll need the right IAM permissions for CloudWatch Logs queries, and it handles the common gotchas like query timeouts on massive log groups by breaking things into smaller chunks.

skills.sh installs
6.9K
GitHub stars
3.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add aws/agent-toolkit-for-aws --skill troubleshooting-application-failures --agent claude-code

Installs into .claude/skills of the current project.

Files

Application Failure Troubleshooting

Overview

Domain expertise for diagnosing application failures through CloudWatch log analysis. Discovers relevant log groups, searches for error patterns and stack traces, performs root cause analysis, and generates prioritized remediation recommendations.

Logs are where the investigation starts, not its boundary. When the logs point at a timeout, throttle, retry or permission problem, read the configuration that sets it, for example the API Gateway integration timeout, the queue's visibility timeout, or the function timeout and event source mapping. Read-only access normally includes these Describe and Get calls.

Troubleshoot a failing application

To diagnose and resolve application failures using CloudWatch logs, follow the procedure exactly. See Application failure troubleshooting procedure.

Troubleshooting

No log groups found

Ask the user for specific log group names. Common patterns: /aws/lambda/function-name, /aws/apigateway/api-name, or custom application log groups.

Access denied errors

Sponsors

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
AI & Agent Building, Debugging, Cloud & Infrastructure
First seen
May 16, 2026

More from aws/agent-toolkit-for-aws

All 56
1github avatarimport-infrastructure-as-codegithub/awesome-copilotImport existing Azure resources into Terraform using Azure CLI discovery and Azure Verified Modules (AVM). Use when asked to reverse-engineer live Azure infrast6.9Kskills.sh installs
2aws avatarconfiguring-vpc-endpoints-for-private-aws-service-accessaws/agent-toolkit-for-awsConfigures VPC endpoints (interface and gateway) for private AWS service access using AWS PrivateLink. Use when setting up secure private connectivity to S3, Dy6.8Kskills.sh installs
3aws avatardebugging-lambda-timeoutsaws/agent-toolkit-for-awsDebugs AWS Lambda function timeout failures by systematically analyzing function configuration, CloudWatch logs and metrics, VPC/networking, cold starts, memory6.8Kskills.sh installs
4aws avatarsetting-up-cloudwatch-alarm-notificationsaws/agent-toolkit-for-awsSets up notification channels for CloudWatch alarms using SNS topics and subscriptions. Always use this skill when configuring alarm notifications — it creates 6.8Kskills.sh installs
5clickhouse avatarclickhouse-managed-postgres-rcaclickhouse/agent-skillsMUST USE when investigating performance issues on a ClickHouse-managed Postgres instance. Provides an evidence-based RCA workflow that scrapes the Prometheus en6.8Kskills.sh installs
6aws avatarlaunching-ec2-instance-with-best-practicesaws/agent-toolkit-for-awsLaunches an EC2 instance with secure, cost-efficient defaults including AMI selection, burstable instance sizing, least-privilege IAM roles, hardened security g6.8Kskills.sh installs