From aws-devops-agent
Start a deep root-cause investigation on the AWS DevOps Agent and stream progress
How this command is triggered — by the user, by Claude, or both
Slash command
/aws-devops-agent:investigate incident descriptionThe summary Claude sees in its command listing — used to decide when to auto-load this command
Use the `investigate` skill workflow. 1. If no AgentSpace is yet known in this session, call `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). 2. Gather local context — `git log --oneline -10`, dependency manifest, relevant IaC, the error/log the user is looking at — and pack it into the `--description` parameter. 3. `aws___call_aws(cli_command="aws devops-agent create-backlog-task --agent-space-id SPACE_ID --task-type INVESTIGATION -...
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-results 10), then aws___call_aws(cli_command="aws devops-agent list-recommendations --agent-space-id SPACE_ID --task-id TASK_ID --region us-east-1") → aws___call_aws(cli_command="aws devops-agent get-recommendation --agent-space-id SPACE_ID --recommendation-id REC_ID --region us-east-1") for each. 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.
npx claudepluginhub aws-samples/sample-aws-devops-agent-claude-plugin --plugin aws-devops-agent/investigateInvestigates and debugs Laravel API issues like wrong responses, missing data, queues, auth, performance using data-first workflow checking DB, cache, configs before code.
/investigateInvestigates bugs via structured root cause analysis: scopes to module, collects evidence, forms hypotheses, implements evidence-based fixes.
/investigateValidates a GitHub issue's validity, determines root cause by examining repo files and structure, then posts structured findings as a GitHub comment and updates workflow labels.
/investigatePerforms systematic root-cause investigation on error descriptions, stack traces, or symptoms using git context, producing a debug report.
/investigateOrchestrates bug investigation and fixes: analyzes code with agent, reproduces in background tasks, writes regression tests, implements fixes, verifies test suite.
/investigateReads SERVICE_MAP.yaml, generates a chat-only Mermaid diagram for a proposed architecture change, and proposes YAML edits before any code is written.