Skip to content
Cloud & Infrastructure
Command

/cost

Ask the AWS DevOps Agent for cost optimization opportunities, scoped to your local IaC

From plugin
agent-toolkit-for-aws
3.4k10 skills7 agents10 commands3 MCP
> /plugin marketplace add aws/agent-toolkit-for-aws

Command definition

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

@aws
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.

3.4k153 skills7 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
3.4k
Star history of aws/agent-toolkit-for-aws on GitHub, a chart by star-history.com

Other commands on agent-toolkit-for-aws.

More commands from other plugins.

bootstrap

bootstrap

Command

Bootstrap a repository with Vercel-linked resources by running preflight checks, provisioning integrations, verifying env keys,…

@vercel-labs-2@vercel-labs-2Install Command
bootstrap
Auto-invoked

bootstrap

Command

Bootstrap a repository with Vercel-linked resources by running preflight checks, provisioning integrations, verifying env keys,…

vercel-312d321
@vercel@vercelInstall Command