aws/agent-toolkit-for-aws/aws-serverless

Claude Code and agent skill by aws/agent-toolkit-for-aws

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Routes serverless requests to a compute form factor and the skill that owns it. Applies to Lambda, API Gateway, EventBridge, Step Functions and event-driven work while the compute, orchestration or integration choice is open — API backends, webhooks, jobs, cron, queue/stream consumers, durable workflows, event routing, Step Functions vs Durable Functions, and Pipes vs native event source mappings for queues and streams. Decides Event Functions on-demand vs Managed Instances, Web Functions, MicroVMs, EventBridge rules/Scheduler/Pipes/bus, HTTP vs REST API. Owns shared Lambda references (cold starts, SnapStart, concurrency, event sources, function URLs, throttling, troubleshooting). Defers to the specialized skill once a request commits to one form factor or service, or describes its defining feature without naming it (durable checkpointing and automatic step retries, Firecracker sandbox, managed instances, Node.js server). Not for EC2, ECS/EKS/Fargate or Amplify hosting.

Install

npx vskill@latest install aws/agent-toolkit-for-aws/aws-serverless

SKILL.md

The same SKILL.md was published earlier as aws/agent-toolkit-for-aws/aws-serverless.

AWS Serverless

Overview

This skill is the router for serverless work on AWS. It makes one opinionated recommendation for each application component and each raised decision dimension (form factor + capacity provider + orchestration + feature choices), then hands off to every specialized skill needed for that composition. Do not force a multi-component application onto one form factor. This skill keeps only the shared Lambda reference material that has no dedicated skill.

Works best with the AWS MCP server — recommended for sandboxed command execution and audit logging. All guidance also works with standard AWS CLI access.

How to use this skill: Step 0 fixes the entry point (new, optimizing, migrating); Step 1 routes components that already name the technology; Step 2 walks the compute decision flow (Tier 1 → 2) for each component until its form factor and capacity provider are locked, with the Tier 3 edge cases detailed in compute-decision-edge-cases.md; Steps 3–5 resolve orchestration, eventing and the HTTP front door only when the request raises them, with the full comparisons in orchestration.md and api-gateway.md. Then hand off to every applicable specialized skill and fall back to the shared references for anything without a dedicated skill.

If a routed skill is not available in your environment, the decision made here still stands.

Rules (apply to every recommendation)

  1. Be opinionated per component and resolved dimension. State "Use X because …". Do not force one service across components with different requirements, and do not present neutral comparison tables as the answer. For a Decided dimension, add one clause naming why the closest alternative does not fit (for example, Event and Web Functions have no OS-level access for eBPF; Durable Functions has no native .sync integration to start and wait on Glue or ECS jobs), and keep the recommendation and its reasons in the final response even after consulting other skills or documentation.
  2. Resolve every raised component and decision dimension independently. Form factor, capacity provider, orchestration and feature constraints are separate decisions; resolving one does not close another. Different components may use different form factors, and one component may pair a compute form factor with an orchestration layer.
  3. Infer facts, not boundaries: classify each raised dimension before answering.
  • Decided — the request states the fact that separates the candidates (runtime, trigger, a stated duration or size, "all steps are Lambda functions", "runs continuously") → commit and ask nothing about that dimension.
  • Leaning — the request gives only a qualitative hint ("bursty", "uneven", "quiet overnight", "large dependencies", "untrusted", "thousands of short tasks", "takes a while") while a candidate still depends on an observable fact it leaves unstated → lead with the provisional choice and why, then put the missing fact to the user as a direct question (ending in "?") and say which answer flips the route. Stating what would change the answer is not a substitute for asking. A hint supports the lean; it never substitutes for the deciding fact.
  • Open — no usable hint → use that tier's narrowing question.
  • Unraised — the request neither asks about a dimension nor gives a signal for it → apply its default without a question (for example, an event-triggered function with no traffic, duration, instance-type or pricing signal is Event Functions · On-Demand).

Do not reopen an unraised or decided dimension, ask no more than 3–4 questions overall, and never reply with questions alone. When a numeric threshold decides the route, name it in the question so the customer can answer from their metrics (for example, a peak-to-mean ratio below 2 within 5–10 minutes for Managed Instances, Tier 2).

  1. Revise. New information → re-run the affected tier and update the recommendation.
  2. Do not guess facts. Ground limits, runtimes, pricing and timeouts in the shared references below and confirm against current AWS documentation when precision matters.
  3. Route, do not duplicate. Once a specialized skill is chosen, follow it rather than re-deriving its content here.

Step 0 — Entry point: what is the user doing?

If unclear, ask once: "Are you starting something new, tuning a workload you already have, or moving an existing workload onto serverless?"

ContextSignalsPath
New application"building", "starting", "new project", "greenfield", no existing compute namedStep 1, then the Step 2 decision flow
Optimizing existing"bill is too high", "cold starts", "too slow", "lag", names a current Lambda setupStep 2 Tier 2–3 (capacity, cold start, throughput), then lambda.md, concurrency.md, troubleshooting.md
Re-platform / migrate"moving off EC2/ECS", "containerize", "get off servers", "modernizing"Step 2 with runtime, duration and packaging as the first constraints, then optimize

Step 1 — Direct routes (the request already names the technology)

Route toWhen the request names or clearly impliesDo not route when
Event Functions — this skill: lambda.md, event-sources.mdA Lambda function invoked by an event source or trigger (SQS, Kinesis, Kafka, S3, DynamoDB Streams, EventBridge, SNS, API Gateway, ALB, IoT, Function URL), an HTTP handler, API or webhook receiver in a stated non-Node.js runtime, a container image, Lambda layersA Node.js HTTP server listening on a port (Web Functions), an HTTP endpoint, API or webhook receiver with no stated runtime (Step 5), a customer-managed environment (MicroVMs), or a compute choice that is still open — Step 2. Tier 2 still decides the capacity provider
aws-lambda-web-functionsLambda Web Functions, aws lambda-web, deploying a Node.js HTTP server (Express, Hono, Fastify) on Lambda, CloudFront-fronted Node.js apps, multi-region HTTP endpoints, active-CPU billing or native HTTP response streaming for a Node.js HTTP serverStated non-Node.js runtimes, container images, event-driven triggers (SQS, Kinesis, S3, DynamoDB Streams) — these are Event Functions
aws-lambda-microvmsLambda MicroVMs, Firecracker microVM images, launch/suspend/resume/terminate, snapshot-resumable environments, VM-level isolation, untrusted/AI-generated code execution, retained files/processes across interactions, OS access (FUSE, eBPF), gRPC or WebSocket servers on custom ports, sessions up to 8 hours"isolation" alone for ordinary request/response or event handlers. Event Functions have per-function isolation by default; use tenant isolation mode when environments must be dedicated to one invoker
aws-lambda-managed-instancesLambda Managed Instances (LMI), capacity providers, CapacityProviderConfig, PerExecutionEnvironmentMaxConcurrency, EC2-backed Lambda, Savings Plans / Reserved Instances for Lambda, GPU or specific instance types for functions, async or ESM executions up to 90 minutesBursty traffic that scales to zero with no instance-type or commitment requirement
aws-lambda-durable-functionsDurable execution, checkpoint-and-replay, context.step / context.wait / context.invoke, withDurableExecution, durable-execution-sdk, saga written as code on Lambda, LocalDurableTestRunnerA visual/ASL workflow, Distributed Map, or broad orchestration of AWS services and non-Lambda compute — see Step 3
aws-step-functionsState machines, Amazon States Language (ASL), JSONata, Distributed Map, .sync / waitForTaskToken, orchestrating ECS/Fargate, Glue, SageMaker, BatchCode-first orchestration owned in Lambda application code — see Step 3
amazon-eventbridge-event-busThe new EventBridge custom event bus (eventsv2), any new workload publishing its own application events (including single-account), pub/sub, independent subscribers, choreography, a central bus shared across teams/accounts, ordered delivery per event group, replay, retention, deduplication, schema registry with open formats (CloudEvents, Avro, Protobuf), or migration from a classic custom bus to those capabilitiesOperating an existing classic custom bus with rules and targets, EventBridge Scheduler, Pipes, Global Endpoints, the Schema Registry on its own, API Destinations or Connections — these stay with this skill (Step 4 and orchestration.md)

Step 2 — Compute decision flow

Run the tiers independently for each application component. Drop to the next tier only when the previous one did not produce a confident match for that component. Lock its form factor first (Tier 1); Tier 2 decides the Event Functions capacity provider and Step 3 decides orchestration. If the prompt is too vague to identify any component, ask: "What are you trying to build?"

Tier 1 — Match the workload to a form factor

Lambda has three form factors: Event Functions, Web Functions and MicroVMs. Scan these signals against the request; the capacity provider (On-Demand vs Managed Instances) is a separate decision in Tier 2.

Form factorLocks when the request hasTypical use cases
Event FunctionsAn event source or trigger (SQS, Kinesis, Kafka, S3, DynamoDB Streams, EventBridge, SNS, API Gateway, ALB, IoT, Function URL), a stated non-Node.js runtime for an HTTP handler, a container image, Lambda layers, event fan-out, retries/DLQ/idempotency semanticsEvent-driven processing, queue/stream consumers, glue between services, API Gateway backends
Web FunctionsA Node.js HTTP server that listens on a port (Express, Hono, Fastify). For such a server, these also point here: I/O-heavy request/response where most time is waiting on network, native response streaming or SSE, long-held/long-polling connections, multi-concurrent requests in one sandbox, CloudFront in front, multi-Region endpoints, "pay only for active CPU"Web apps and REST backends in Node.js, streaming AI responses, Node.js backends that fan out parallel calls to downstream services and assemble the response
MicroVMsCustomer-managed sandbox lifecycle (launch/suspend/resume/terminate), state that must persist across a session (memory, disk, processes), untrusted or LLM-generated code, OS access (FUSE, eBPF), custom ports, per-session or per-tenant VM isolation, sessions up to 8 hoursAI-agent code sandboxes, browser IDEs and notebooks, CI/build runners, security scanners, ephemeral dev environments

Check the runtime and trigger before the billing words. A stated non-Node.js runtime is Event Functions, and an event-driven function or a queue/stream trigger locks Event Functions, whatever the request says about paying for idle wait, I/O-bound work or multi-concurrency. When the runtime or trigger decides the form factor, state it in the answer as the reason Web Functions does not apply. For an Event Function those wants are Managed Instances signals in Tier 2, because Managed Instances runs several invocations at once in one execution environment. An HTTP endpoint, API or webhook receiver whose runtime is not stated is neither: do not assume a runtime; use the Step 5 lean-and-ask rule.

More than one row may match when the request describes several components. Route each component separately—for example, a Web Function control-plane API plus MicroVM session workers—rather than treating the rows as mutually exclusive for the whole application.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,206
Repository forks
214
7-day trend score
38

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aws/agent-toolkit-for-aws/aws-serverless/badge)](https://verified-skill.com/skills/aws/agent-toolkit-for-aws/aws-serverless)

Something wrong with this skill or its page? Tell us.