Cloud Native Serverless Cold Starts

Use when the user asks to reduce Lambda cold start latency, Init Duration, provisioned concurrency, SnapStart, GraalVM native Lambdas, Azure Functions or Cloud Run cold starts, or min instances. Produces a measured cold-start diagnosis and fixes for init code, packaging and runtime. Not for Lambda concurrency and event sources (use cloud-native-aws-serverless).

45 stars 6 forksDevOps & Cloud

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add j4flmao/agent-skills --skill cloud-native-serverless-cold-starts
Manual install
git clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/cloud-native/serverless-cold-starts ~/.claude/skills/cloud-native-serverless-cold-starts

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Serverless Cold Starts

## Purpose
A cold start happens when a request needs a new execution environment. Its cost is environment creation + runtime start + your init code. Measure which part dominates, then apply the cheapest fix: smaller init, faster runtime packaging, snapshotting, or paying for pre-warmed capacity.

## Agent Protocol

### Trigger
"cold start", "init duration", "provisioned concurrency", "SnapStart", "optimize serverless startup", "GraalVM native", "min instances", "Azure Functions cold start", "Cloud Run cold start".

### Input Context
- Platform/runtime, package size, memory setting, VPC attachment.
- Latency SLO (p99) and traffic pattern (steady vs spiky vs idle for long periods).
- Current `Init Duration` distribution and cold-start rate.

### Output Artifact
Diagnosis + prioritized changes (code/IaC). No file unless requested.

### Response Format
```
Cold-start rate: {%} | p99 Init Duration: {ms}
Dominant cost: {runtime boot|dependency loading|network setup|package size}
Fixes (ordered by cost/impact): 1) ... 2) ...
Pre-warmed capacity: {none|SnapStart|provisioned N|min instances N} (cost note)
```

### Completion Criteria
- [ ] Measured before and after (Init Duration from REPORT logs / X-Ray / OTel).
- [ ] Code-level fixes attempted before paying for provisioned capacity.

## Anatomy (AWS Lambda)
1. **Environment creation** — Firecracker microVM, code download (ZIP from S3 or container image chunks lazily loaded and cached).
Read the full skill on GitHub

Details

Skill name
cloud-native-serverless-cold-starts
Path
skills/cloud-native/serverless-cold-starts/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Cloud Native Serverless Cold Starts skill do?

Use when the user asks to reduce Lambda cold start latency, Init Duration, provisioned concurrency, SnapStart, GraalVM native Lambdas, Azure Functions or Cloud Run cold starts, or min instances. Produces a measured cold-start diagnosis and fixes for init code, packaging and runtime. Not for Lambda concurrency and event sources (use cloud-native-aws-serverless).

How do I install the Cloud Native Serverless Cold Starts skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill cloud-native-serverless-cold-starts. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cloud Native Serverless Cold Starts popular?

It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.

Related skills

Agent Observability

45

j4flmao/agent-skills

Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).

DevOps & Cloud

AI Agent Architectures

45

j4flmao/agent-skills

Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).

AI, LLMs & Agents

AI Agent Core Loop

45

j4flmao/agent-skills

Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).

AI, LLMs & Agents

Cloud Native Serverless Orchestration

45

j4flmao/agent-skills

Use when the user asks about AWS Step Functions, Amazon States Language (ASL) state machines, orchestrating Lambdas, Standard vs Express workflows, Distributed Map, Retry/Catch, or a saga with Step Functions. Produces valid ASL with error handling and direct service integrations. Not for Azure Durable Functions (use cloud-native-azure-functions) or Airflow (use data-airflow-dbt-orchestration).

DevOps & Cloud

Cloud Native Kubernetes Patterns

45

j4flmao/agent-skills

Use when the user asks about sidecar or native sidecar containers, ambassador/adapter/init patterns, PodDisruptionBudget, topology spread, pod anti-affinity, taints and tolerations, graceful shutdown, or ValidatingAdmissionPolicy. Produces current-API workload YAML. Not for control-plane internals (use kubernetes-internals) or autoscaling (use devops-kubernetes-autoscaling).

DevOps & Cloud

Consul

45

j4flmao/agent-skills

Use when the user asks about HashiCorp Consul, service discovery, Consul DNS, health checks, Consul KV, ACLs, service mesh intentions, mesh gateways, WAN federation, admin partitions, or consul-template. Produces Consul configs and operations runbooks. Not for Istio or Linkerd (use devops-service-mesh) or Nomad scheduling (use nomad).

DevOps & Cloud

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.