Skip to content
Development
Command

/investigate

Start a deep root-cause investigation on the AWS DevOps Agent and stream progress

From plugin
agent-toolkit-for-aws
2.3k9 skills9 commands3 MCP
Install
> /plugin marketplace add aws/agent-toolkit-for-aws

How 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.md
description: 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.

Ships withagent-toolkit-for-aws

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.

Get the whole plugin