aws-deployment

aws-deployment is a skill for Claude Code, Codex from aws/agent-toolkit-for-aws. It costs 189 tokens per session (1,607 once invoked), scanned A, original, Apache-2.0.

A guide for setting up continuous integration and delivery on Amazon Web Services, where code can be built and deployed automatically. It covers services for pipelines, builds, deployments, connections, and private packages.

In plain words
What is it for?
Configuring AWS CodePipeline, CodeBuild, CodeDeploy, CodeConnections, and CodeArtifact, including caching, Docker builds, VPC builds, and deployment strategies.
Why use it?
It documents configuration requirements and common failure points that can otherwise leave builds, network access, or deployments stuck or denied.

Skill for Claude CodeCodex

Part of the aws-core plugin — 24 skills, 1 hook shipped together

About the project

Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.

aws/agent-toolkit-for-aws · 2,533 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/aws/agent-toolkit-for-aws/aws-deployment
Any agent
npx skills add aws/agent-toolkit-for-aws --skill aws-deployment
Clone the repo
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws

Made for: Claude Code, Codex.

Or install aws-core, the plugin that ships this one along with the rest of its 24 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aws-deployment

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-deployment.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-deployment)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-deployment"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-deployment.svg" alt="Measured on agentmods" height="20"></a>
Per session 189 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00189 $0.01607
Opus 5 $0.00095 $0.00804
Sonnet 5 $0.00038 $0.00321
Haiku 4.5 $0.00019 $0.00161

Measured 6d ago against content hash 853a61df0e35, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

aws-deployment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/aws-core/skills/aws-deployment/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AWS Deploy (CI/CD)

Works best with the AWS MCP server for running CLI commands and validating configurations directly. All guidance also works with standard AWS CLI.

Critical Warnings

CodeConnections PENDING trap: Connections created via CLI/CloudFormation remain PENDING indefinitely — MUST complete OAuth in the AWS Console. No API-only path exists.

Cross-account triple requirement: Cross-account deploys need ALL THREE: (1) KMS key policy granting target account (use key ID, not alias), (2) S3 bucket policy for target account, (3) cross-account IAM role with trust policy. Missing any one = cryptic Access Denied.

CodeDeploy ApplicationStop uses PREVIOUS revision: Broken stop scripts in a prior deployment block ALL future deploys. Make stop scripts idempotent (exit 0 if service absent). Unblock with --ignore-application-stop-failures.

CodeBuild VPC without NAT: Builds in VPC subnets without NAT gateway hang at DOWNLOAD_SOURCE silently. Private subnets MUST have NAT gateway or VPC endpoints.

CodeConnections IAM: Use codeconnections: prefix for API calls and IAM policy Actions. Resource ARNs must match exactly — new resources use codeconnections prefix, existing resources may use codestar-connections prefix. Specify both in Resource if you have mixed-age resources.

UseConnection is over-permissive: codeconnections:UseConnection grants access to ALL repositories the connection can reach. MUST specify condition keys (codeconnections:FullRepositoryId, codeconnections:ProviderAction, codeconnections:BranchName) to limit CodeBuild to only the required repository.

How These Services Compose

CodeConnections → CodeBuild → CodeDeploy, orchestrated by CodePipeline.

Layer Service Role
Source CodeConnections Authenticates to GitHub/GitLab/Bitbucket, delivers code
Packages CodeArtifact Private package registry, dependency caching from public registries
Build/Test CodeBuild Compiles, tests, packages artifacts
Deploy CodeDeploy Deploys to EC2/ECS/Lambda with traffic shifting strategies
Orchestrator CodePipeline Chains stages, manages transitions, approval gates

Read the full file on GitHub · 92 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 92 lines · 189 tokens per session scan A 853a61df0e35

Subscribe to this mod's changes

aws-deployment is a skill published in the GitHub repository aws/agent-toolkit-for-aws (2,533 stars, last pushed today), licensed Apache-2.0. It adds 189 tokens to every session and 1,607 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.