infra-designer: Skill for Claude Code

.agents/skills/system-design/SKILL.md

system-design is a skill for Claude Code, Codex from AlexK020908/infra-designer. It costs 54 tokens per session (737 once invoked), scanned A, original, MIT.

A planning guide for choosing and sizing cloud infrastructure such as databases, caches, queues, and scaling systems. It focuses on how these parts should work together for a given workload.

In plain words
What is it for?
Use it when designing cloud systems, deciding between infrastructure components, estimating capacity, and planning data consistency or real-time features.
Why use it?
It helps prevent missing infrastructure components or adding more capacity and complexity than the application needs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is AlexK020908/infra-designer's own configuration. It tells Claude Code and Codex how to work on infra-designer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything infra-designer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AlexK020908/infra-designer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AlexK020908/infra-designer/main/.agents/skills/system-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AlexK020908/infra-designer

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 system-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexk020908/infra-designer/system-design/github.svg)](https://agentmods.dev/skills/alexk020908/infra-designer/system-design)
Your own site
<a href="https://agentmods.dev/skills/alexk020908/infra-designer/system-design"><img src="https://agentmods.dev/badge/skills/alexk020908/infra-designer/system-design/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 system-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexk020908/infra-designer/system-design"><img src="https://agentmods.dev/badge/skills/alexk020908/infra-designer/system-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 737 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.
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.00054 $0.00737
Opus 5 $0.00027 $0.00368
Sonnet 5 $0.00011 $0.00147
Haiku 4.5 $0.00005 $0.00074

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

Security

Grade A, and why

system-design 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 10d 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.

.agents/skills/system-design/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

System design

Part of infra-designer — a plugin that plans, deploys, and audits cloud infrastructure from one reproducible spec. This skill is the standalone judgment layer; install the full plugin for the plan → deploy → audit workflow.

This skill is the judgment layer for planning infrastructure: deciding which components a workload needs and how to size them, before any component is placed in a spec. The per-component SKILL.md files in components/ cover the mechanics of one resource; this skill covers the cross-cutting decisions between them.

How to use this

  1. Always start with references/blueprint-triage.md — classify the app into known patterns before composing any nodes. Most real specs are a handful of patterns combined.
  2. Then read the reference(s) for the decisions the workload actually raises. Don't read all 17 — pull the ones the requirements implicate.
  3. Size with references/numbers-to-know.md before adding nodes, caches, or queues. Most workloads need far less than intuition suggests.

Reference index

Start here

  • blueprint-triage.md — classify the app into known patterns BEFORE designing.
  • numbers-to-know.md — single-instance ceilings (2026). Do the arithmetic before scaling out.

Data

  • data-modeling.md — entities → tables; Postgres-vs-DynamoDB choice.
  • db-indexing.md — when/what to index; composite/covering; DynamoDB key & GSI design.
  • cap-theorem.md — consistency vs availability, chosen per feature.
  • dealing-with-contention.md — locking, races, optimistic vs pessimistic.
  • large-blobs.md — bytes in object storage, metadata in the DB, compute never moves bytes.

Scale

  • scaling-reads.md — replicas, caching, read ladders.
  • scaling-writes.md — the write ladder; the queue is the main write-scaling tool.
  • sharding.md — when data outgrows one Postgres; DynamoDB partition-key design.
  • consistent-hashing.md — background on even key distribution.
  • caching.md — when to cache, what, and invalidation rules.

Read the full file on GitHub · 60 lines

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. 10d ago First seen · 60 lines · 54 tokens per session scan A 6c77a4b48c30

Subscribe to this mod's changes

system-design is a skill published in the GitHub repository AlexK020908/infra-designer (2 stars, last pushed 2mo ago), licensed MIT. It adds 54 tokens to every session and 737 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

terraform-skill

Use when working with Terraform or OpenTofu - creating modules, writing tests (native test framework, Terratest), setting up CI/CD pipelines, reviewing configurations, choosing between testing approaches, debugging state issues, implementing security scanning (trivy, checkov), or making infrastructure-as-code…

agentscope-ai/QwenPaw · 62 tokens

terraform-cli-setup

A setup guide for installing and initializing Terraform, a tool for managing infrastructure from configuration files. It also covers basic provider downloads and mirror settings, but not cloud-provider credentials.

agentscope-ai/QwenPaw · 58 tokens

alicloud_cli

A Chinese-language reference for the Alibaba Cloud command-line tool, which lets developers manage Alibaba Cloud services from a terminal. It uses an offline copy of the documentation as its main source.

agentscope-ai/QwenPaw · 45 tokens

deploy

A deployment workflow for putting Rails applications online using Railway, a hosting service.

clacky-ai/openclacky · 0 tokens

oss-upload

Upload local files to Tencent COS (oss.1024code.com CDN) using coscli. Use when user wants to upload a file to CDN/OSS, or deploy static assets.

clacky-ai/openclacky · 40 tokens

webflow-cli:cloud

Create, build, and deploy Webflow Cloud apps from the CLI (site-attached or project apps), and manage existing ones — apps, domains, environments, deployments, build/runtime logs, and environment variables including secrets. Use when initializing or deploying a Cloud app, importing an existing GitHub repository…

webflow/webflow-skills · 134 tokens