aws-cdk-blocks

aws-cdk-blocks is a skill for Claude Code from aws/agent-toolkit-for-aws. It costs 185 tokens per session (2,273 once invoked), scanned A, original, Apache-2.0.

A guide to AWS CDK Blocks, a TypeScript framework that packages application code with the AWS infrastructure it needs. It supports local development and deployment to the developer's own AWS account through AWS CDK and CloudFormation.

In plain words
What is it for?
Use it to start a TypeScript web app, API, or mobile backend with packaged services such as data storage, sign-in, file storage, scheduled jobs, email, or AI agents.
Why use it?
It keeps infrastructure and application code together and lets developers use local implementations before needing AWS credentials for deployment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions AGENTS.md.

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

Good fit Use it to start a TypeScript web app, API, or mobile backend with packaged services such as data storage, sign-in, file storage, scheduled jobs, email, or AI agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/agent-toolkit-for-aws/aws-cdk-blocks
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 · 3,645 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.

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

Made for: Claude Code.

Or install aws-core, the plugin that ships this one along with the rest of its 30 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-cdk-blocks

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-cdk-blocks/github.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-cdk-blocks)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-cdk-blocks"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-cdk-blocks/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aws-cdk-blocks

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-cdk-blocks"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-cdk-blocks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,273 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00185 $0.02273
Opus 5.5 $0.00074 $0.00909
Sonnet 5.5 $0.00037 $0.00455
Haiku 4.5 $0.00018 $0.00227

Measured 7d ago against content hash 4fc359b231ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-cdk-blocks 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 7d 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.

plugins/aws-core/skills/aws-cdk-blocks/SKILL.md · 123 lines

How it starts

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

AWS CDK Blocks

Overview

AWS CDK Blocks (formerly AWS Blocks) is an open-source TypeScript framework that extends the AWS CDK. A Block is an npm package for one application capability, such as a data store, sign-in, file storage, realtime channels, background and scheduled jobs, email or an AI agent. It holds the CDK construct for the infrastructure, the code the app calls, and a local implementation. An app's backend is one cdk-blocks/ folder. It runs on the developer's machine without an AWS account, and the same code deploys to the developer's own AWS account as CloudFormation stacks.

CDK Blocks fits a TypeScript web app, API or mobile backend whose infrastructure should be CDK code in the developer's account. This skill covers the start of a project. Inside an app that already uses CDK Blocks, the app's own AGENTS.md and docs task describe the installed version and take precedence over this skill.

Local development needs no AWS credentials. Deploying does: the AWS MCP server is recommended for AWS API calls (sandboxed execution and audit logging) but is not required; every step here runs with npm and the AWS CLI.

Guardrail — where this skill's own files live (MCP vs local install)

This skill ships only documents (references/*.md), no scripts. It can be loaded two ways, and they resolve those files from different places:

  • Loaded through the AWS MCP retrieve_skill tool: The skill is not installed on the local filesystem. You MUST fetch each reference via retrieve_skill with the file parameter (for example file="references/existing-project.md"). Do NOT file_read these paths locally: they do not exist on disk.
  • Installed locally (for example .kiro/skills/aws-cdk-blocks/ or ~/.claude/skills/aws-cdk-blocks/): Read the references from the local skill directory using relative paths.

This distinction applies only to the skill's own packaged files. User data and session artifacts are always read from and written to the user's working directory. Never fetch or write customer data through retrieve_skill.

Read the full file on GitHub · 123 lines

Files

What ships with it

7 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. 7d ago First seen · 123 lines · 185 tokens per session scan A 4fc359b231ec

Subscribe to this mod's changes

aws-cdk-blocks is a skill published in the GitHub repository aws/agent-toolkit-for-aws (3,645 stars, last pushed today), licensed Apache-2.0. It adds 185 tokens to every session and 2,273 once invoked, about $0.0007 per session on Opus 5.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-11-24.

Related

aws-cdk-blocks compared with skills from other repositories

aws-cdk-blocks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-cdk-blocksaws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0A185Claude Code
alchemy-providerpingdotgg/t3codeSkill85ktodayMITA153Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
django-storages-s3Jeffallan/claude-skillsSkill13ktodayMITA138Claude Code
websocket-engineerJeffallan/claude-skillsSkill13ktodayMITA36Claude Code
azure-eventhub-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA94Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code