/investigate
Start a deep root-cause investigation on the AWS DevOps Agent and stream progress
> /plugin marketplace add aws/agent-toolkit-for-awsHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/investigate
Context preview
What this command does when you run it.
Start a deep root-cause investigation on the AWS DevOps Agent and stream progress
Command definition
investigate.mddescription: Start a deep root-cause investigation on the AWS DevOps Agent and stream progress argument-hint: [incident description]
Use the `investigating-incidents-with-aws-devops-agent` skill workflow.
1. Gather local context — `git log --oneline -10`, dependency manifest, relevant IaC, the error/log the user is looking at. 2. Call `aws_devops_agent__investigate(title="$ARGUMENTS — <local context summary>")`. 3. Tell the user investigations take 5–8 minutes and that you'll keep them posted. 4. Poll `aws_devops_agent__get_task(task_id="TASK_ID")` every 30–45s. 5. When `IN_PROGRESS`, fetch findings: `aws_devops_agent__list_journal_records(execution_id="EXEC_ID", order="ASC")`. Summarize each new record using emoji prefixes from the `investigating-incidents-with-aws-devops-agent` skill. 6. On `COMPLETED`: pull final findings, then call `aws_devops_agent__list_recommendations(task_id="TASK_ID")` for mitigations. Show the user the proposed fix — **do not** auto-apply.
If `$ARGUMENTS` is empty, ask the user for a one-line incident description first.
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
Other commands on agent-toolkit-for-aws.
- /chat
Open a chat session with the AWS DevOps Agent and ask a question
Open command - /cost
Ask the AWS DevOps Agent for cost optimization opportunities, scoped to your local IaC
Open command - /release-readiness
Trigger a pre-merge release readiness review on a GitHub PR, GitLab MR, or local branch
Open command - /release-testing
Run automated UAT tests (UI or API) using a test profile on the AWS DevOps Agent
Open command - /setup-devops-agent
Set up the AWS DevOps Agent MCP connection
Open command - /setup-security-agent
Set up the AWS Security Agent workspace
Open command

