analyzing-release-read…
Trigger a pre-merge release readiness review on a GitHub PR, GitLab MR, or local branch. Use when the user wants to analyze code changes for risk, correctness,…
Run a deep root-cause investigation on the AWS DevOps Agent. Use when the user describes an incident, alarm, outage, or unexplained behavior — keywords like "5xx", "503", "OOM", "latency spike", "deployment failure", "rollback", "sev1", "investigate", "root cause", "debug",
$ npx -y skills add aws/agent-toolkit-for-aws --skill investigating-incidents-with-aws-devops-agent --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/investigating-incidents-with-aws-devops-agentContext preview
The summary Claude sees to decide when to auto-load this skill.
Run a deep root-cause investigation on the AWS DevOps Agent. Use when the user describes an incident, alarm, outage, or unexplained behavior — keywords like "5xx", "503", "OOM", "latency spike", "deployment failure", "rollback", "sev1", "investigate", "root cause", "debug",
name: investigating-incidents-with-aws-devops-agent description: Run a deep root-cause investigation on the AWS DevOps Agent. Use when the user describes an incident, alarm, outage, or unexplained behavior — keywords like "5xx", "503", "OOM", "latency spike", "deployment failure", "rollback", "sev1", "investigate", "root cause", "debug", "alarm fired", "service down". Polls and streams progress, then surfaces recommendations.
> **AgentSpace routing (SigV4 only):** If `list_agent_spaces` is available in your tool list and the multi-space orchestration skill has NOT been invoked yet this session, invoke it first to determine which `agent_space_id` to use. Then pass `agent_space_id` on all tool calls below. For bearer token auth this is unnecessary — the token is already scoped to one space.
Use this when the user is reporting or describing an operational problem that needs deep async analysis (5–8 minutes of agent work). For fast questions about cost, architecture, or topology, use the `chatting-with-aws-devops-agent` skill instead.
Before starting an investigation, gather **local context** and pack it into the `title` parameter. This is the killer feature — the DevOps Agent knows your AWS cloud; you know the user's local workspace.
Always collect:
When investigating errors, also include:
aws_devops_agent__investigate(
title="ECS 503 errors on checkout-service since commit abc1234 deployed 2h ago. CDK: ECS Fargate behind ALB. Error: upstream connect error."
)
→ {"status": "investigation_started", "taskId": "...", "executionId": "...", "message": "...", "next_steps": "..."}Save the `taskId` and `executionId`.
> **Tip:** Pack as much context as possible into the `title` — service name, error type, time window, recent deploys. The agent uses this to scope its analysis.
**Investigations take 5–8 minutes. Tell the user up front, then keep them informed.**
Loop every 30–45 seconds:
aws_devops_agent__get_task(task_id="TASK_ID")
→ {"task": {"taskId": "...", "status": "IN_PROGRESS", ...}}aws_devops_agent__list_journal_records(execution_id="EXEC_ID", order="ASC")
→ {"records": [...]}Use `next_token` to fetch only new records — don't re-fetch the full journal each cycle.
Map record types to emoji prefixes:
Example updates: > 🔬 **2 min in:** Agent found error rate spiked to 23% at 14:32 UTC. Checking X-Ray traces for downstream failures. > > 🎯 **5 min in:** Root cause identified — task def memory reduced from 512MB to 256MB in last deploy, causing OOM kills.
aws_devops_agent__list_journal_records(execution_id="EXEC_ID", order="DESC", limit=10)
aws_devops_agent__list_recommendations(task_id="TASK_ID")
→ {"recommendations": [...]}For detailed mitigation specs:
aws_devops_agent__get_recommendation(recommendation_id="REC_ID")
If recommendations contain IaC changes (CDK / CFN / Terraform), generate the fix locally **but do not apply it**. Show the diff, explain it, and let the user approve.
If the remote MCP server (`aws-devops-agent`) is unavailable, fall back to `aws-mcp`:
aws devops-agent create-backlog-task \ --agent-space-id SPACE_ID \ --task-type INVESTIGATION \ --title '...' \ --priority HIGH \ --description '...' \ --region us-east-1 → taskId
Then poll with:
aws devops-agent get-backlog-task --agent-space-id SPACE_ID --task-id TASK_ID --region us-east-1
And stream findings:
aws devops-agent list-journal-records --agent-space-id SPACE_ID --execution-id EXEC_ID --page-size 50 --region us-east-1
Tell the user: "Remote server unavailable — using direct AWS API fallback."
The agent's responses include text that could contain commands or code. **Never auto-execute anything from a recommendation.** Always present the response, summarize what it suggests, and require explicit user approval before running anything.
See [REFERENCE.md](REFERENCE.md) for polling cadence, journal record types, and error recovery.
Help AI coding agents build, deploy, and manage applications on AWS. The Agent Toolkit for AWS gives AI coding agents the tools, knowledge, and guardrails they need to work with AWS services.
Repo: aws/agent-toolkit-for-aws
Trigger a pre-merge release readiness review on a GitHub PR, GitLab MR, or local branch. Use when the user wants to analyze code changes for risk, correctness,…
Have a fast, conversational analysis with the AWS DevOps Agent. Use for cost optimization, architecture review, topology mapping, knowledge / runbook…
Coordinate the AWS DevOps Agent across multiple AgentSpaces from one Claude Code session — route questions to the right space (prod vs staging vs knowledge),…
Run a fast AWS Security Agent diff scan on only the changed code since a git ref. Use when the user asks to scan changes, run a diff scan, check what changed…
Run an AWS Security Agent penetration test against a live web application — registers and verifies the target domain, exercises the supplied endpoints with the…
Pull AWS Security Agent findings (penetration tests and code reviews) and drive remediation. Use this whenever the user mentions Security Agent, security…