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 soulcodex/agentic --skill serverless-architecturegit clone --depth 1 https://github.com/soulcodex/agenticWrote 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/soulcodex/agentic/serverless-architecture)<a href="https://agentmods.dev/skills/soulcodex/agentic/serverless-architecture"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/serverless-architecture/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/soulcodex/agentic/serverless-architecture"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/serverless-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00062 | $0.01177 |
| Opus 5.5 | $0.00025 | $0.00471 |
| Sonnet 5.5 | $0.00012 | $0.00235 |
| Haiku 4.5 | $0.00006 | $0.00118 |
Grade A, and why
serverless-architecture 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Serverless Architecture Skill
Step 1 — Function Boundary Design
A Lambda function (or equivalent) should do exactly one thing. Design boundaries by:
- Event source: each distinct trigger gets its own function.
- Single responsibility: one function = one business operation.
- Avoid chaining: do not call one Lambda synchronously from another — use queues.
Bad: process-order Lambda → calls fulfillment Lambda → calls notification Lambda
Good: process-order Lambda → SQS → fulfillment Lambda → SQS → notification Lambda
Step 2 — Runtime and Cold-Start
| Runtime | Cold-start | Notes |
|---|---|---|
| Go / Rust | Very fast (~10 ms) | Best for latency-sensitive workloads |
| Node.js (ESM) | Fast (~100–200 ms) | Keep bundle small; avoid large deps |
| Python | Medium (~200–500 ms) | Use Lambda layers for heavy deps |
| JVM (Java/Kotlin) | Slow (1–5 s) | Use GraalVM native image or SnapStart |
Mitigate cold starts for latency-critical functions:
# serverless.yml or SAM template
Properties:
ProvisionedConcurrencyConfig:
ProvisionedConcurrentExecutions: 2 # keeps N instances warm
Use provisioned concurrency only where latency SLAs justify the cost.
Step 3 — Event Sources
| Trigger | Pattern | Notes |
|---|---|---|
| API Gateway / ALB | Synchronous HTTP | Return response within 29 s |
| SQS | Async batch processing | Set visibility timeout > max duration |
| EventBridge | Event-driven, fan-out | Ideal for domain events |
| S3 | File processing | Trigger on ObjectCreated, filter by prefix |
| DynamoDB Streams | Change data capture | Process in order per partition key |
| Scheduled (EventBridge) | Cron jobs | Use for periodic maintenance tasks |
Step 4 — IAM Least Privilege
Every function gets its own IAM execution role. Grant only what the function needs:
{
"Statement": [
{
"Effect": "Allow",
"Action": ["dynamodb:GetItem", "dynamodb:PutItem"],
"Resource": "arn:aws:dynamodb:us-east-1:123456789:table/orders"
},
{
"Effect": "Allow",
"Action": ["sqs:SendMessage"],
"Resource": "arn:aws:sqs:us-east-1:123456789:fulfillment-queue"
}
]
}
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.
- 3mo ago First seen · 135 lines · 62 tokens per session scan A 059df60bcd89
serverless-architecture is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 1,177 once invoked, about $0.0002 per session on Opus 5.5. 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-08-31.
serverless-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| serverless-architecturesoulcodex/agentic | Skill | 10 | today | MIT | A | 62 | Claude Code, Codex |
| architecture-paradigm-serverlessathola/claude-night-market | Skill | 358 | today | MIT | A | 31 | Claude Code |
| cloud-native-aws-serverlessj4flmao/agent-skills | Skill | 47 | 17d ago | MIT | A | 84 | Claude Code, Codex |
| cloud-native-serverless-orchestrationj4flmao/agent-skills | Skill | 47 | 17d ago | MIT | A | 92 | Claude Code, Codex |
| hatch3r-scalability-verifyhatch3r/hatch3r | Skill | 26 | 2mo ago | MIT | A | 51 | Claude Code |
| aws-clielasticdotventures/_b00t_ | Skill | 15 | 3d ago | none | A | 31 | Claude Code |
| aws-cloud-architecturemanutej/luxor-claude-marketplace | Skill | 64 | 5mo ago | none | B | 33 | Claude Code |