navveenb/lean-agentic-ai-skills/vm-to-serverless-advisor

Claude Code and agent skill by navveenb/lean-agentic-ai-skills

Trust tier 3
  • community
Source check pending

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

Analyze whether always-on VMs or containers should become serverless (Lambda/Cloud Functions/Cloud Run/Azure Functions) based on duty cycle, and design the migration honestly including where serverless would be WORSE. Use this skill when the user asks about serverless migration, mentions VMs running cron jobs or low-traffic services, asks "should this be a Lambda", or shares workload schedules/traffic patterns. Part of Lean Agentic AI Skills; emits lean-findings.json.

Install

npx vskill@latest install navveenb/lean-agentic-ai-skills/vm-to-serverless-advisor

SKILL.md

The same SKILL.md was published earlier as navveenb/lean-agentic-ai-skills/vm-to-serverless-advisor.

VM-to-Serverless Advisor

Producer/advisor skill. Input: workload descriptions, traffic patterns, cron schedules, utilization data. Output: lean-findings.json where each finding is a migration recommendation (or a documented decision NOT to migrate).

A VM at 4% duty cycle running a nightly job is a Lambda wearing a costume: 96% of its energy and 100% of its embodied hardware share buy nothing. Serverless collapses idle to zero (E↓) and shares hardware across tenants (M↓). But serverless is not universally greener — this skill's credibility comes from saying when it isn't.

Subject type: emit subject.type: "compute-fleet" in findings.

Duty-cycle triage

  • < 5% active time (crons, webhooks, batch triggers) → strong serverless candidate. High-severity finding if always-on today.
  • 5–30%, spiky → serverless or scale-to-zero containers (Cloud Run, Container Apps, Knative). Medium.
  • > 50% sustained, steady → serverless likely WORSE: per-invocation overhead, cold starts, and premium pricing exceed a right-sized always-on instance. Emit as passed ("correctly always-on") — this negative result is a real finding.
  • Long-running (> platform timeout), stateful, or needs GPUs/local disk → not a candidate; document why.

Migration design (per candidate)

State: trigger mapping (cron→scheduler, HTTP→API gateway), memory sizing (right-size here too — the same discipline applies per-function), cold-start tolerance vs latency SLO, state externalization needed, and concurrency limits. Fix field = concrete first migration step.

Trade-offs to always name

Cold-start latency; vendor lock-in; per-invocation cost curve crossing over at sustained load; observability changes; the embodied-carbon accounting subtlety (M shifts to shared provider hardware — better utilization, but not zero).

Cost signal (countable)

Cost driver: billed hours vs invocations. For a candidate migration, cost_signal names both units ("24 always-on instance-hours/day → invocations sized to actual duty cycle") and states direction qualitatively. Cross-over economics (steady-state serverless can cost more) belong in the trade-off text, not in fabricated numbers.

Not this skill's job

Pure idle detection (cloud-waste-audit), sizing of workloads that stay on VMs (right-size-compute).

Security

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

Quality evaluation

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

Source

Popularity

7-day trend score
5

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/navveenb/lean-agentic-ai-skills/vm-to-serverless-advisor/badge)](https://verified-skill.com/skills/navveenb/lean-agentic-ai-skills/vm-to-serverless-advisor)

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