serverless

serverless is a skill for Claude Code, Codex from williamzujkowski/standards. It costs 5 tokens per session (3,446 once invoked), scanned A, a copy of graphql-api-design, MIT.

A guide to serverless computing, where cloud providers run application code without requiring you to manage servers. It explains event-triggered functions, API backends, scaling, storage, and common trade-offs such as startup delays and vendor dependence.

In plain words
What is it for?
Use it to design HTTP APIs, event-driven file processing, queue consumers, and function-based backends. It covers authentication at an API gateway, retries, caching, throttling, and external state storage.
Why use it?
It helps you decide when serverless fits and avoid surprises around execution limits, delayed first requests, stateless code, and distributed debugging. It also outlines common ways to connect functions to APIs, queues, and storage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to design HTTP APIs, event-driven file processing, queue consumers, and function-based backends. It covers authentication at an API gateway, retries, caching, throttling, and external state storage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/williamzujkowski/standards/serverless
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 williamzujkowski/standards --skill serverless
Clone the repo
git clone --depth 1 https://github.com/williamzujkowski/standards

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 serverless

README.md
[![agentmods](https://agentmods.dev/badge/skills/williamzujkowski/standards/serverless/github.svg)](https://agentmods.dev/skills/williamzujkowski/standards/serverless)
Your own site
<a href="https://agentmods.dev/skills/williamzujkowski/standards/serverless"><img src="https://agentmods.dev/badge/skills/williamzujkowski/standards/serverless/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 serverless

Your own site · 80×15
<a href="https://agentmods.dev/skills/williamzujkowski/standards/serverless"><img src="https://agentmods.dev/badge/skills/williamzujkowski/standards/serverless.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,446 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 89% 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.00005 $0.03446
Opus 5.5 $0.00002 $0.01378
Sonnet 5.5 $0.00001 $0.00689
Haiku 4.5 $0.00001 $0.00345

Measured yesterday against content hash 510d04de60d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-30, from the pricing page.

Security

Grade A, and why

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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/deploy-lambda.sh, templates/lambda-function.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

This is a copy

89% identical to graphql-api-design — 551 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.

skills/cloud-native/serverless/SKILL.md · 570 lines

How it starts

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

Serverless Computing

Level 1: Quick Reference

Serverless Benefits and Tradeoffs

Benefits:

  • Zero Server Management: No OS patching, scaling, or capacity planning
  • Automatic Scaling: Scales from zero to thousands of concurrent executions
  • Pay-Per-Use: Only charged for actual execution time (100ms granularity)
  • Built-in HA: Multi-AZ deployment by default
  • Fast Time-to-Market: Focus on code, not infrastructure

Tradeoffs:

  • Cold Starts: 100ms-5s latency for new container initialization
  • Execution Limits: 15 min max (Lambda), 60 min (Cloud Functions)
  • Vendor Lock-in: Platform-specific APIs and deployment models
  • Debugging Complexity: Distributed tracing across ephemeral environments
  • State Management: Stateless by design, requires external persistence

Common Serverless Patterns

1. API Backend (HTTP Trigger)

Client → API Gateway → Lambda → Database
- RESTful APIs, GraphQL endpoints
- Authentication/authorization at gateway
- Response caching, throttling, API keys

2. Event-Driven Processing (Event Trigger)

S3 Upload → Lambda → Process File → Store Result
SQS Queue → Lambda → Transform Data → Publish Event
DynamoDB Stream → Lambda → Aggregate Metrics

3. Scheduled Tasks (Cron Trigger)

EventBridge Rule (cron) → Lambda → Cleanup/Report/Backup
- Data aggregation (hourly, daily)
- Automated backups and archival
- Health checks and monitoring

4. Stream Processing

Kinesis/Kafka → Lambda → Real-time Analytics → Dashboard
- Log processing and filtering
- Clickstream analysis
- IoT data ingestion

Essential Serverless Checklist

Architecture:

  • Function size < 50 MB (Lambda), memory 128-10240 MB
  • Single responsibility per function
  • Async patterns for long-running tasks (SQS, Step Functions)
  • Idempotent handlers (retry-safe)

Cold Start Optimization:

  • Provisioned concurrency for latency-sensitive APIs
  • Minimize dependencies (slim packages)
  • Initialize SDK clients outside handler
  • Use compiled languages (Go, Rust) for sub-100ms starts

Read the full file on GitHub · 570 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. yesterday First seen · 570 lines · 5 tokens per session scan A 510d04de60d3

Subscribe to this mod's changes

serverless is a skill published in the GitHub repository williamzujkowski/standards (18 stars, last pushed 1mo ago), licensed MIT. It adds 5 tokens to every session and 3,446 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to graphql-api-design, differing in 551 lines, and is treated as a copy.

Related

Other skills, from other repositories

serverless-expert

Design and implement production-grade serverless applications with optimal performance, cost efficiency, and scalability. Use when the user mentions serverless or FaaS, AWS Lambda, Azure Functions, Cloud Functions, cold starts, event-driven architecture, or API Gateway-fronted workloads.

personamanagmentlayer/pcl · 58 tokens

architecture-paradigm-serverless

Applies serverless FaaS patterns for event-driven workloads. Use when designing bursty workloads with minimal infrastructure and pay-per-execution cost model.

athola/claude-night-market · 37 tokens

gcp-essentials

Use when running a small product on core Google Cloud via the gcloud CLI: a project, Cloud Run deploys, a locked-down Cloud Storage bucket, managed Cloud SQL, and least-privilege IAM wiring them together. NOT AWS (that is aws-essentials), NOT the CI pipeline that ships the image (that is deployment), NOT Postgres…

ericrisco/rsc-harness · 91 tokens

architecture-patterns

Software architecture patterns and best practices.

aAAaqwq/AGI-Super-Team · 10 tokens

hookdeck-event-gateway

Hookdeck Event Gateway — webhook infrastructure that replaces your queue. Use when receiving webhooks and need guaranteed delivery, automatic retries, replay, rate limiting, filtering, or observability. Eliminates the need for your own message queue for webhook processing.

hookdeck/webhook-skills · 55 tokens

vercel-log-drains-webhooks

Receive and verify Vercel Log Drains deliveries. Use when setting up a Vercel log drain HTTP endpoint, debugging x-vercel-signature verification, handling the x-vercel-verify endpoint handshake, or processing batched log entries from sources like lambda, edge, build, static, external, firewall, and redirect.

hookdeck/webhook-skills · 74 tokens