You are enhanced with the AWS DevOps Agent, an AI-powered operational intelligence system for AWS environments. You access it through the AWS MCP Server using aws___call_aws for standard API operations and aws___run_script for streaming APIs (like SendMessage).
Your superpower: You can combine your local workspace knowledge (files, git, skills, terminal) with the DevOps Agent's cloud knowledge (CloudWatch, X-Ray, IAM, topology) by packing local context into API call parameters. This makes you far more effective than either system alone.
The aws-devops-agent plugin gives Claude Code:
- The AWS MCP Server (
aws___call_aws,aws___run_script, and more) for accessing the AWS DevOps Agent API — investigations, chat, recommendations, AgentSpaces, journal records. - Four skills that auto-route the user's intent:
investigate— incident root cause (deep, 5–8 min, streamed progress)chat— cost / architecture / topology / knowledge (instant)multi-space— coordinate across multiple AgentSpaces in one sessionsetup— first-time configuration of profiles, spaces, and routing
- Four slash commands for explicit control:
/aws-devops-agent:chat,/aws-devops-agent:investigate,/aws-devops-agent:spaces,/aws-devops-agent:cost. - A worked multi-AgentSpace example at
plugins/aws-devops-agent/examples/multi-space-walkthrough.md.
Prerequisite: uv must be on PATH (the AWS MCP Server is fetched via uvx).
# Install uv if not already installed
curl -LsSf https://astral.sh/uv/install.sh | sh
# Verify the MCP proxy works (fetches on first run)
uvx mcp-proxy-for-aws@latest --helpThen in Claude Code:
/plugin marketplace add aws-samples/sample-aws-devops-agent-claude-plugin
/plugin install aws-devops-agent@aws-devops-tools
/reload-plugins
# In your shell, before launching Claude Code:
export AWS_PROFILE=<your-aws-profile>
aws sso login # or: aws configureThen in Claude Code:
aws___call_aws(cli_command="aws devops-agent list-agent-spaces --region us-east-1")— should return your spaces.- "Investigate why my ECS service is returning 503s" — auto-invokes the
investigateskill. - "What runbooks does the agent have?" — auto-invokes
chat. /aws-devops-agent:spaces— list your AgentSpaces explicitly.
If you have more than one AgentSpace (e.g. prod, staging, knowledge), say "set up the devops agent for multiple accounts" and the setup skill walks you through per-space AWS profiles, shell wrappers, and a routing guide. The worked walkthrough at plugins/aws-devops-agent/examples/multi-space-walkthrough.md shows the end-to-end pattern: prod investigation + staging comparison + knowledge-space runbook lookup, all from one Claude Code session.
.
├── .claude-plugin/
│ └── marketplace.json # this catalog
├── plugins/
│ └── aws-devops-agent/ # the plugin
│ ├── .claude-plugin/plugin.json
│ ├── .mcp.json # AWS MCP Server config (uvx mcp-proxy-for-aws)
│ ├── skills/ # auto-invoked workflows
│ │ ├── investigate/
│ │ ├── chat/
│ │ ├── multi-space/
│ │ └── setup/
│ ├── commands/ # user-invoked slash commands
│ └── examples/ # worked walkthroughs
└── README.md # this file
During incident response the plugin can generate 6+ permission prompts per task. To auto-approve read-only AWS calls and chat streaming while still gating mutations, use the PreToolUse hooks in examples/hooks/:
- Copy the hook scripts from the plugin into your project:
mkdir -p .claude/hooks
# After marketplace install, hooks are inside the plugin cache:
cp ~/.claude/plugins/cache/aws-devops-tools/aws-devops-agent/*/examples/hooks/aws-allow-reads.sh .claude/hooks/
cp ~/.claude/plugins/cache/aws-devops-tools/aws-devops-agent/*/examples/hooks/aws-allow-chat.sh .claude/hooks/- Add to
.claude/settings.json:
{
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__plugin_aws-devops-agent_aws-mcp__aws___call_aws",
"hooks": [{"type": "command", "command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/aws-allow-reads.sh"}]
},
{
"matcher": "mcp__plugin_aws-devops-agent_aws-mcp__aws___run_script",
"hooks": [{"type": "command", "command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/aws-allow-chat.sh"}]
}
]
}
}Note: The matcher prefix
mcp__plugin_aws-devops-agent_aws-mcp__is derived from the plugin name (aws-devops-agent) and the MCP server key in.mcp.json(aws-mcp). If the plugin is renamed, these matchers must be updated.
What gets auto-approved: list-*, describe-*, get-* CLI commands, and send_message streaming calls.
What still prompts: create-backlog-task, create-agent-space, update-*, delete-*, and arbitrary run_script code.
Test the plugin without publishing:
git clone <this-repo> claude-aws-devops-agent
claude --plugin-dir ./claude-aws-devops-agent/plugins/aws-devops-agentOr load the whole marketplace:
/plugin marketplace add ./claude-aws-devops-agent
/plugin install aws-devops-agent@aws-devops-tools
After editing skills or commands, run /reload-plugins to pick up changes.
Validate before pushing:
claude plugin validate ./claude-aws-devops-agentPRs welcome. Skills should keep their description frontmatter sharp — that's what the model uses to decide whether to auto-invoke. If you add a skill, also add a one-row entry to plugins/aws-devops-agent/README.md.
MIT-0. See LICENSE.