aws-lambda-microvms

aws-lambda-microvms is a skill for Claude Code from awslabs/agent-plugins. It costs 164 tokens per session (3,605 once invoked), scanned A, a copy of aws-lambda-microvms, Apache-2.0.

A guide for building and operating applications in AWS Lambda MicroVMs, isolated serverless environments that use Firecracker virtual machines. These environments can start from saved snapshots, pause and resume with their state, and run for up to eight hours.

In plain words
What is it for?
It is for creating MicroVM images, running instances, debugging applications, and choosing setups for workloads such as isolated analytics.
Why use it?
It helps when ordinary serverless functions do not provide enough isolation, resumable state, or control over the runtime environment.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter.

Part of the aws-serverless plugin — 7 skills, 1 hook shipped together

Good fit It is for creating MicroVM images, running instances, debugging applications, and choosing setups for workloads such as isolated analytics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/awslabs/agent-plugins/aws-lambda-microvms
About the project

awslabs/agent-plugins is a collection of plugins, skills, instructions, an MCP server, a hook, and a setting that guide AI coding agents in architecting, deploying, and operating software on Amazon Web Services. It is for developers using coding agents such as Claude Code, Codex, and Cursor with AWS projects. The catalogue entries are the repository's own agent workflows and supporting components.

awslabs/agent-plugins · 955 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 awslabs/agent-plugins --skill aws-lambda-microvms
Clone the repo
git clone --depth 1 https://github.com/awslabs/agent-plugins

Made for: Claude Code.

Or install aws-serverless, the plugin that ships this one along with the rest of its 7 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-lambda-microvms

README.md
[![agentmods](https://agentmods.dev/badge/skills/awslabs/agent-plugins/aws-lambda-microvms/github.svg)](https://agentmods.dev/skills/awslabs/agent-plugins/aws-lambda-microvms)
Your own site
<a href="https://agentmods.dev/skills/awslabs/agent-plugins/aws-lambda-microvms"><img src="https://agentmods.dev/badge/skills/awslabs/agent-plugins/aws-lambda-microvms/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-lambda-microvms

Your own site · 80×15
<a href="https://agentmods.dev/skills/awslabs/agent-plugins/aws-lambda-microvms"><img src="https://agentmods.dev/badge/skills/awslabs/agent-plugins/aws-lambda-microvms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,605 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod 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.00164 $0.03605
Opus 5.5 $0.00066 $0.01442
Sonnet 5.5 $0.00033 $0.00721
Haiku 4.5 $0.00016 $0.00361

Measured 3mo ago against content hash 8b90386e379e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-lambda-microvms scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl "<endpoint>/" -H "X-aws-proxy-auth: $TOKEN"
Origin

This is a copy

86% identical to aws-lambda-microvms — 77 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/aws-serverless/skills/aws-lambda-microvms/SKILL.md · 226 lines

How it starts

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

AWS Lambda MicroVMs

The AWS MCP server is recommended for sandboxed execution and audit logging.

AWS Lambda MicroVMs are serverless compute environments that combine Firecracker VM isolation with container-like efficiency. Each MicroVM:

  • Runs your application as a container inside a Firecracker microVM — you can reproduce the environment locally.
  • Runs Amazon Linux 2023 as the base OS inside the MicroVM.
  • Boots from a memory + disk snapshot captured at image build time, so application init is skipped on run.
  • Has a dedicated, TLS-terminated HTTPS endpoint reachable with an auth token.
  • Can be suspended and resumed with state preserved; lives up to 8 hours.

Two-resource model:

  • MicrovmImage — a versioned artifact built from {S3 zip with Dockerfile} + baseImageArn. Each version has per-architecture/chipset Builds.
  • Microvm — a running instance created (RunMicrovm) from an image version.

Two roles:

  • buildRoleArn — used during image build (S3 read, CloudWatch logs, optional ECR).
  • executionRoleArn — assumed at runtime by the running MicroVM.

When to use

Choose Lambda MicroVMs when

  • Analytics workloads — isolated compute for data processing, ETL jobs, or query execution with strong tenant separation.
  • AI / agent code execution sandboxes — fresh, isolated environment per session, fast resume between turns.
  • Interactive code playgrounds & notebooks — Jupyter, REPLs, dev environments executing user code.
  • Reinforcement-learning environments — clean per-episode envs with tool access.
  • Multi-tenant CI executors / build runners — strong tenant isolation.
  • Game / simulation servers — sessionful, long-lived (up to 8 hr) workloads.
  • Security scanning — running untrusted analyzers in isolation.

In general, Lambda MicroVMs are suited for long-lived sessions, real port-listening servers (gRPC, WebSocket, custom TCP protocols), state preserved across periods of inactivity (suspend/resume), container-level access (FUSE, eBPF, custom syscalls), or session-affine routing to a specific compute environment.

Read the full file on GitHub · 226 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. 3mo ago First seen · 226 lines · 164 tokens per session scan A 8b90386e379e

Subscribe to this mod's changes

aws-lambda-microvms is a skill published in the GitHub repository awslabs/agent-plugins (955 stars, last pushed today), licensed Apache-2.0. It adds 164 tokens to every session and 3,605 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 86% identical to aws-lambda-microvms, differing in 77 lines, and is treated as a copy.

Related

aws-lambda-microvms compared with skills from other repositories

aws-lambda-microvms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-lambda-microvmsawslabs/agent-pluginsSkill955todayApache-2.0A164Claude Code
eos-cost-analysisaws/tools-for-devops-agentSkill1532d agoApache-2.0A215Claude Code, Codex
msk-operationsaws/tools-for-devops-agentSkill1532d agoApache-2.0A226Claude Code, Codex
eks-upgrade-readinessaws/tools-for-devops-agentSkill1532d agoApache-2.0A226Claude Code, Codex
bedrock-operation-reviewaws/tools-for-devops-agentSkill1532d agoApache-2.0A116Claude Code, Codex
ecs-operation-reviewaws/tools-for-devops-agentSkill1532d agoApache-2.0A134Claude Code, Codex
aiml-gpu-training-cluster-investigationaws/tools-for-devops-agentSkill1532d agoApache-2.0A236Claude Code, Codex