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.
npx skills add j4flmao/agent-skills --skill serverless-cold-startsgit clone --depth 1 https://github.com/j4flmao/agent-skillsWrote 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.
[](https://agentmods.dev/skills/j4flmao/agent-skills/serverless-cold-starts)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/serverless-cold-starts"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/serverless-cold-starts/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.
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/serverless-cold-starts"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/serverless-cold-starts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00368 |
| Opus 5 | $0.00000 | $0.00184 |
| Sonnet 5 | $0.00000 | $0.00074 |
| Haiku 4.5 | $0.00000 | $0.00037 |
Grade A, and why
serverless-cold-starts 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 8d 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.
What it actually says
Serverless Cold Starts & Optimization
1. Skill Context
Focus: Execution environment lifecycle, AWS Lambda/Azure Functions, provisioned concurrency, and runtime optimization. Triggers: lambda cold start, optimize serverless, provisioned concurrency, aws lambda performance
2. Deep Optimization Mechanics
The agent must understand the micro-vm (Firecracker) initialization sequence and runtime constraints.
The Cold Start Anatomy
- Infrastructure Phase: Cloud provider allocates a micro-VM, downloads the code package, and bootstraps the runtime.
- Init Phase: The runtime loads the user code and executes code outside the main handler function.
- Invoke Phase: The actual handler function processes the event.
Mitigation Strategies
- Provisioned Concurrency: Keeping a specific number of execution environments pre-warmed. Explain the cost implications versus latency requirements.
- Init Phase Optimization:
- Lazy loading dependencies (importing modules inside the handler if they are rarely used).
- Establishing database connections outside the handler so they are preserved across warm invocations.
- Language & Runtime Selection: Transitioning from heavy runtimes (Java/Spring, C#) to fast-booting compiled languages (Go, Rust) or leveraging AOT (Ahead-of-Time) compilation like GraalVM native images.
- VPC Cold Starts: Explaining how modern AWS Lambda Hyperplane ENIs solved the historic VPC cold start issue, but why IP address exhaustion is still a concern.
3. Output Format
- Provide architecture strategies for multi-tier serverless apps.
- Detail code-level refactoring to shift heavy initialization out of the critical path.
- Provide Terraform snippets for configuring Provisioned Concurrency and Auto Scaling.
What ships with it
3 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.
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.
- 8d ago First seen · 27 lines · 0 tokens per session scan A 44c398d02610
serverless-cold-starts is a skill published in the GitHub repository j4flmao/agent-skills (23 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 368 tokens. 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-09-03.
Other skills, from other repositories
stripe-projects
Provision SaaS services + sync creds via Stripe Projects.
azure-eventhub-dotnet
Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…
azure-mgmt-botservice-dotnet
Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".
wikipedia
Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.
cve
Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.
django-storages-s3
Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…