/aws-devops-agent:investigate incident descriptionfrom aws-devops-agent
Initiates an AWS DevOps Agent investigation for a given incident, gathers local context, polls for progress, then retrieves the mitigation plan when completed.
Ships in aws-devops-agent. Installing the plugin adds it to Claude Code.
Use the investigate skill workflow.
aws___call_aws(cli_command="aws devops-agent list-agent-spaces --region us-east-1") and pick the right one (consult .claude/aws-devops-agent.md if present; ask the user if multiple plausible candidates).git log --oneline -10, dependency manifest, relevant IaC, the error/log the user is looking at — and pack it into the --description parameter.aws___call_aws(cli_command="aws devops-agent create-backlog-task --agent-space-id SPACE_ID --task-type INVESTIGATION --title '$ARGUMENTS' --priority HIGH --description '<local context + question>' --region us-east-1").aws___call_aws(cli_command="aws devops-agent get-backlog-task --agent-space-id SPACE_ID --task-id TASK_ID --region us-east-1") every 30–45s; when IN_PROGRESS and executionId is available, paginate aws___call_aws(cli_command="aws devops-agent list-journal-records --agent-space-id SPACE_ID --execution-id EXEC_ID --order ASC --next-token TOKEN --region us-east-1"); summarize each new record to the user using the emoji prefixes from the investigate skill.COMPLETED: pull the consolidated summary (--order DESC --max-items 10), then trigger mitigation (2-5 min): aws___call_aws(cli_command="aws devops-agent update-backlog-task --agent-space-id SPACE_ID --task-id TASK_ID --task-status PENDING_START --region us-east-1"). Poll get-backlog-task until COMPLETED again. Then call aws___call_aws(cli_command="aws devops-agent list-executions --agent-space-id SPACE_ID --task-id TASK_ID --region us-east-1") to find the newest execution_id, and aws___call_aws(cli_command="aws devops-agent list-journal-records --agent-space-id SPACE_ID --execution-id EXEC_ID --record-type mitigation_summary_md --region us-east-1") to get the mitigation plan. Show the user the proposed fix; do not auto-apply IaC or commands.If $ARGUMENTS is empty, ask the user for a one-line incident description first.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
4 commands in this plugin
npx claudepluginhub aws-samples/sample-aws-devops-agent-claude-plugin --plugin aws-devops-agentOther plugins' commands for the same job