aws-serverless

aws-serverless is a skill for Claude Code, Codex from hoangatg/ai-agent-toolkit. It costs 35 tokens per session (1,028 once invoked), scanned A, original, MIT.

Guidance for designing serverless applications on Amazon Web Services. Serverless means running application code and managed services without managing the underlying servers directly.

In plain words
What is it for?
Use it when building event-driven systems with services such as Lambda, API Gateway, DynamoDB, S3, queues, notifications, event routing, or workflow orchestration.
Why use it?
It helps choose how AWS services should work together and how to design functions that handle retries, scaling, startup time, and stored data.

Skill for Claude CodeCodex

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/hoangatg/ai-agent-toolkit/aws-serverless
Any agent
npx skills add hoangatg/ai-agent-toolkit --skill aws-serverless
Clone the repo
git clone --depth 1 https://github.com/hoangatg/ai-agent-toolkit

Made for: Claude Code, Codex.

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-serverless

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/aws-serverless.svg)](https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/aws-serverless)
Your own site
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/aws-serverless"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/aws-serverless.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,028 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 $0.00035 $0.01028
Opus 5 $0.00017 $0.00514
Sonnet 5 $0.00007 $0.00206
Haiku 4.5 $0.00003 $0.00103

Measured 5d ago against content hash 3098114fbda7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

aws-serverless 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 5d 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.

.agent/skills/aws-serverless/SKILL.md · 159 lines

How it starts

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

AWS Serverless

Pay for what you use. Scale to zero. Ship faster.


1. Serverless Architecture

Core Services

Service Purpose Use When
Lambda Compute Event-driven functions
API Gateway HTTP endpoints REST/WebSocket APIs
DynamoDB Database Key-value, high throughput
S3 Storage Files, static assets
SQS Queue Async processing
SNS Pub/Sub Fan-out notifications
EventBridge Event bus Cross-service events
Step Functions Orchestration Complex workflows

2. Lambda Design Principles

Function Design

Principle Application
Single responsibility One function, one purpose
Stateless No local state between invocations
Idempotent Safe to retry
Fast startup Minimize cold start impact
Small package Only include what's needed

Cold Start Optimization

Strategy Impact
Smaller runtime (Node.js, Python) Lower cold start
Minimize dependencies Faster init
Provisioned concurrency Eliminate cold starts
SnapStart (Java) 10x faster Java cold starts
ARM (Graviton2) 20% cheaper, similar performance

Memory & Timeout

Memory Decision:
├── CPU-bound → More memory = more CPU = faster
├── IO-bound → Minimum memory needed
└── Sweet spot: Profile and benchmark

Timeout Decision:
├── API response → 3-10 seconds max
├── Background processing → up to 15 minutes
└── Always set explicit timeout (never default)

3. API Gateway Patterns

API Design

Pattern Use Case
REST API Standard CRUD, caching
HTTP API Simple proxy, lower cost
WebSocket Real-time, chat, notifications

Best Practices

  • Use request validation (models/schemas)
  • Enable throttling and usage plans
  • Implement API keys for external clients
  • Use stages for dev/staging/prod
  • Enable access logging

Read the full file on GitHub · 159 lines

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. 5d ago First seen · 159 lines · 35 tokens per session scan A 3098114fbda7

Subscribe to this mod's changes

aws-serverless is a skill published in the GitHub repository hoangatg/ai-agent-toolkit (1 stars, last pushed 5mo ago), licensed MIT. It adds 35 tokens to every session and 1,028 once invoked, about $0.0002 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-31.