cloud-infrastructure

A guide to designing cloud systems and writing infrastructure-as-code, which means files that create and manage cloud resources automatically.

In plain words
What is it for?
Use it for Terraform or AWS CDK modules, AWS architecture, networks, databases, serverless systems, disaster recovery, and cloud cost reviews.
Why use it?
It helps plan reliable cloud setups, control infrastructure costs, and avoid unsafe or overly broad access permissions.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/viktorbezdek/skillstack/cloud-infrastructure
Any agent
npx skills add viktorbezdek/skillstack --skill cloud-infrastructure
Clone the repo
git clone --depth 1 https://github.com/viktorbezdek/skillstack

Made for: Claude Code, Codex.

Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 549 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00163 $0.00549
Opus 5 $0.00081 $0.00275
Sonnet 5 $0.00033 $0.00110
Haiku 4.5 $0.00016 $0.00055

Measured 2d ago against content hash e0fa61e42c59, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cloud-infrastructure 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 2d 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.

cloud-infrastructure/skills/cloud-infrastructure/SKILL.md · 40 lines

What it actually says

cloud-infrastructure

Infrastructure-as-code with Terraform and AWS CDK, cloud architecture patterns, cost optimisation, and multi-region deployment design.

When to use

  • Write Terraform to provision an RDS PostgreSQL instance with a read replica
  • Design a multi-AZ VPC with public and private subnets for a 3-tier app
  • Convert our Terraform S3 + CloudFront setup to AWS CDK TypeScript
  • Our AWS bill doubled last month — what should we look at?
  • Design a disaster-recovery architecture with RPO < 1 hour across two regions
  • Write a Terraform module for an EKS cluster with managed node groups
  • Set up an IAM role with least-privilege access for a Lambda reading from S3
  • Architect a serverless API: API Gateway + Lambda + DynamoDB

When NOT to use

  • Write a Kubernetes Deployment and Service for our FastAPI app — K8s application manifests — not infrastructure provisioning
  • Set up a GitHub Actions workflow for blue-green deploys — CI/CD pipeline — separate concern
  • Debug why our Docker container crashes on startup — App-layer debugging — not infra
  • Write the FastAPI code for our API endpoint — Application code — not infrastructure

Anti-patterns

Symptom

Invoking this skill for tasks outside its scope — e.g., infrastructure concerns when the request is about application code, or vice versa.

Problem

Scope mismatch wastes context and produces advice tuned for the wrong domain. A database schema skill answering a connection-pooling question gives schema advice when the real problem is operational configuration.

Solution

Read the NOT for clauses carefully. If the request matches an exclusion, identify the correct skill (check SkillStack for the right domain) rather than stretching this skill to cover adjacent ground.

Files

What ships with it

2 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.

Changes

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.

  1. 2d ago First seen · 40 lines · 163 tokens per session scan A e0fa61e42c59

Subscribe to this mod's changes

cloud-infrastructure is a skill published in the GitHub repository viktorbezdek/skillstack (11 stars, last pushed 2mo ago), licensed MIT. It adds 163 tokens to every session and 549 once invoked, about $0.0008 per session on Opus 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-30.

Related

Other skills, from other repositories

gossipcat

Use when installing or setting up gossipcat multi-agent orchestration (parallel review, consensus, adaptive dispatch) in Claude Code or Cursor. Installs the gossipcat MCP server and hands off to gossipstatus() for all live rules.

gossipcat-ai/gossipcat-ai · 50 tokens

Elephant Agent

Complete guide to what Elephant Agent is, how to use it from the CLI, how herd, wake, Personal Model, proactive curiosity, skills, and tools fit together, and how to explain Elephant Agent clearly to users, contributors, or evaluators.

agentic-in/elephant-agent · 54 tokens

libretranslate-markdown-i18n

Machine-translate Markdown / Obsidian / Quartz content into other languages using a self-hosted LibreTranslate instance, preserving frontmatter, headings, emojis, bold/italic, wikilinks (![[...]]/[[...]]) and internal links. Use whenever a user wants to auto-translate a Markdown vault, Obsidian notes, or a…

pedroiff0/awesome-skills · 127 tokens

awesome-skills-master

Master catalog orchestrator and autonomous installer for AI agents. Use when exploring, cloning, discovering, or installing skills, plugins, or MCP servers from awesome-skills without using interactive CLI tools. Guides environment detection, rule adaptation (.mdc/CLAUDE.md), MCP configuration, and strict author…

pedroiff0/awesome-skills · 66 tokens

readme-template

Standard README template for repos — professional structure with badges, overview, table of contents, features/modules, stack, installation, configuration, tests, security, structure, docs, roadmap, contribute, license, author + RepoActivity sections (Star History, repo stats) + profile GIF footer. Use when creating…

pedroiff0/awesome-skills · 72 tokens

docker-single-port-multi-instance

Consolidate multiple Docker Compose app instances (production / test / demo) behind ONE host port using an nginx reverse proxy that routes by URL path prefix (e.g. /demo). Use when a user wants 'one port, several apps/banks' or a demo reachable simultaneously from the main landing page with its own database.

pedroiff0/awesome-skills · 73 tokens