/cost
Ask the AWS DevOps Agent for cost optimization opportunities, scoped to your local IaC
> /plugin marketplace add aws/agent-toolkit-for-aws
Command definition
cost.mddescription: Ask the AWS DevOps Agent for cost optimization opportunities, scoped to your local IaC argument-hint: [optional focus area, e.g. "ECS only" or "across all spaces"]
Cost optimization is a chat-first workflow.
1. Read whatever local IaC files are present — CDK stacks, CloudFormation templates, Terraform modules. Pick files referenced from `cdk.json`, `template.yaml`, `*.tf`, `serverless.yml`, etc. 2. If `$ARGUMENTS` mentions "all spaces" / "across accounts" and the user has SigV4 auth with multiple spaces, follow the `coordinating-multi-space-devops-agent` skill's parallel-query pattern. 3. Call `aws_devops_agent__chat(message="[Local IaC Context]\n<IaC snippets>\n\nAnalyze cost optimization opportunities. $ARGUMENTS")`. 4. Show the response. Ask if the user wants to drill into any specific recommendation, or escalate to a deep investigation for one of them.
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.
Other commands on agent-toolkit-for-aws.
investigate
CommandStart a deep root-cause investigation on the AWS DevOps Agent and stream progress
release-readiness
CommandTrigger a pre-merge release readiness review on a GitHub PR, GitLab MR, or local branch
release-testing
CommandRun automated UAT tests (UI or API) using a test profile on the AWS DevOps Agent
More commands from other plugins.
bootstrap
CommandBootstrap a repository with Vercel-linked resources by running preflight checks, provisioning integrations, verifying env keys,…
architecture-decision-…
CommandRun wa-builder in **ADR mode** to create or revise an Architecture Decision Record.

