cloud-architecture

cloud-architecture is a skill for Claude Code, Codex from cosmicstack-labs/mercury-agent-skills. It costs 20 tokens per session (553 once invoked), scanned A, original, MIT.

A guide to designing cloud systems that remain available, recover from failures, and control costs. It covers networks, multiple availability zones, disaster recovery, security boundaries, scaling, and cloud-provider services.

In plain words
What is it for?
Use it to design VPCs and network tiers, plan high-availability systems, prepare disaster recovery, and optimize cloud resources.
Why use it?
It helps avoid architectures that fail when one machine, zone, or service goes down. It also provides ways to balance resilience, performance, security, and spending.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design VPCs and network tiers, plan high-availability systems, prepare disaster recovery, and optimize cloud resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cosmicstack-labs/mercury-agent-skills/cloud-architecture
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.

Any agent
npx skills add cosmicstack-labs/mercury-agent-skills --skill cloud-architecture
Clone the repo
git clone --depth 1 https://github.com/cosmicstack-labs/mercury-agent-skills

Made for: Claude Code, Codex.

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

agentmods badge for cloud-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/cloud-architecture/github.svg)](https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/cloud-architecture)
Your own site
<a href="https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/cloud-architecture"><img src="https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/cloud-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.

agentmods 80×15 button for cloud-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/cloud-architecture"><img src="https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/cloud-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 553 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00020 $0.00553
Opus 5 $0.00010 $0.00277
Sonnet 5 $0.00004 $0.00111
Haiku 4.5 $0.00002 $0.00055

Measured 8d ago against content hash 10c681136dec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

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

categories/devops/cloud-architecture/SKILL.md · 71 lines

What it actually says

Cloud Architecture

Design resilient, cost-effective cloud architectures.

Design Pillars

Pillar Focus Pattern
Reliability Fault tolerance, recovery Multi-AZ, redundancy, auto-healing
Security Defense in depth IAM, encryption, network segmentation
Cost Efficiency, waste reduction Right-sizing, reserved instances, autoscaling
Performance Speed, scalability CDN, caching, horizontal scaling
Operational Manageability, automation IaC, CI/CD, runbooks

VPC Design

Multi-Tier Architecture

Internet → WAF → ALB → App Tier (private) → DB Tier (private)
                      ↕
                 Auto Scaling

Best Practices

  • Use multiple AZs (minimum 3)
  • Private subnets for apps and databases
  • Public subnets only for load balancers and bastions
  • NACLs for subnet-level rules, Security Groups for instance-level
  • VPC peering or Transit Gateway for multi-VPC

High Availability

  • Compute: Multi-AZ Auto Scaling groups, spot + on-demand mix
  • Database: Multi-AZ RDS, Aurora read replicas
  • Storage: S3 (11 9's durability), EBS snapshots
  • DNS: Route53 with health-check based failover
  • CDN: CloudFront/CloudFlare for global distribution

Disaster Recovery

Strategy RTO RPO Cost
Backup & Restore Hours 24h $
Pilot Light Minutes 1h $$
Warm Standby Seconds Minutes $$$
Active-Active Seconds Seconds $$$$

DR Plan

  • Document runbooks for each scenario
  • Test failover quarterly
  • Automate recovery with IaC
  • Store backups in separate region
  • Encrypt everything

Cost Optimization

  • Right-size instances (use Compute Optimizer)
  • Reserved Instances / Savings Plans for steady state
  • Spot instances for fault-tolerant workloads
  • S3 lifecycle policies (transition to Glacier)
  • Delete unused resources (EBS, EIP, ELB)
  • Monitor with Cost Explorer + budgets + alerts
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. 8d ago First seen · 71 lines · 20 tokens per session scan A 10c681136dec

Subscribe to this mod's changes

cloud-architecture is a skill published in the GitHub repository cosmicstack-labs/mercury-agent-skills (470 stars, last pushed 17d ago), licensed MIT. It adds 20 tokens to every session and 553 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

agent-platform-tuning

Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use agent-platform-deploy), or managing serving endpoints (use agent-platform-endpoint-management).

google/skills · 64 tokens

gke-alert-configuration

Configures alerting policies in Terraform for Google Kubernetes Engine (GKE) clusters, workloads, and services using PromQL and Google Cloud Managed Service for Prometheus. Use when writing, analyzing, validating, or deploying Terraform alerting policies to monitor GKE service latency, traffic, error rates using…

google/skills · 120 tokens

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

application-design-center-design-deploy

Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform. - Validating local HCL. - Performing best-practice plan scans. - Importing templates to Application Design Center (ADC). - Deploying templates. - Troubleshooting…

google/skills · 94 tokens

cloud-run-basics

Manages Cloud Run services, jobs, and worker pools. Use when you need to deploy applications responding to HTTP requests (services), run event-triggered or scheduled tasks (jobs), or handle always-on pull-based background processing (worker pools).

google/skills · 53 tokens

google-cloud-filestore-auditing

Audits Google Cloud Filestore instances across projects for disaster recovery readiness (missing or stale backups), security access governance (overly permissive NFS export rules, 0.0.0.0/0 exposure, missing ROOTSQUASH), and reliability compliance (Physical Zone Isolation PZI and Physical Zone Separation PZS). Use…

google/skills · 115 tokens