Cost Optimization Reference

SkillCloud & infra

References Serverless OpenClaw cost optimization guidelines. Validates that no resources exceeding the cost target ($1/month) are created during implementation. Use when writing CDK stacks or making infrastructure changes.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Cost Optimization Reference skill

What this skill tells your AI

The instructions your AI receives, as published by serithemage/serverless-openclaw in .agents/skills/cost/SKILL.md and read by ahel’s review.

Detailed Cost Analysis

Per-service cost breakdown, before/after optimization comparison, checklist:

Cost Validation (Required for Infrastructure Changes)

Verify the following resources are NOT created:

Prohibited ResourceMonthly CostAlternative
NAT Gateway~$33Fargate Public IP
ALB/ELB~$18-25API Gateway
Interface Endpoint~$7/eachPublic IP for public endpoint access
DynamoDB ProvisionedVariablePAY_PER_REQUEST
Lambda in VPCRequires NATDeploy outside VPC

Cost Targets

CategoryTarget
Within Free Tier~$0.23/month
After Free Tier~$1.07/month
Maximum allowedUnder $10/month

Lambda Agent Cost (Phase 2)

See cost-optimization.md §9 for full Lambda cost analysis.

ResourceCost ModelNotes
Lambda invocationsPer-request1M requests/month free tier
Lambda durationPer GB-second400K GB-seconds/month free tier
Lambda container imageECR storage~$0.10/GB/month after 500MB free
No Fargate idle costLambda scales to zero automatically

Key advantage: Lambda charges only for actual execution time — no idle Fargate cost when no users are active. For low-traffic usage, Lambda runtime cost approaches $0/month within free tier.

Signals

GitHub stars
195
Forks
40
Last commit
Mar 2026
Advanced
Catalog kind
skill
Gateway key
cost-serithemage
Source
github.com/serithemage/serverless-openclaw