system-design

system-design is a skill for Claude Code, Codex from jamestorrevillas/dev-skills. It costs 70 tokens per session (1,469 once invoked), scanned A, original, MIT.

A guide for designing large software systems, including their requirements, APIs, data storage, components, and limits. It covers choices such as monoliths, where one application contains most functionality, and distributed systems, where parts run separately.

In plain words
What is it for?
Use it to clarify requirements, estimate traffic and data, design APIs and data models, compare architectures, and prepare for system-design interviews.
Why use it?
It gives a consistent way to reason about scale, reliability, speed, data consistency, and likely bottlenecks before implementation.

Skill for Claude CodeCodex

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

Good fit Use it to clarify requirements, estimate traffic and data, design APIs and data models, compare architectures, and prepare for system-design interviews.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamestorrevillas/dev-skills/system-design
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 jamestorrevillas/dev-skills --skill system-design
Clone the repo
git clone --depth 1 https://github.com/jamestorrevillas/dev-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 system-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/system-design.svg)](https://agentmods.dev/skills/jamestorrevillas/dev-skills/system-design)
Your own site
<a href="https://agentmods.dev/skills/jamestorrevillas/dev-skills/system-design"><img src="https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/system-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,469 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.00070 $0.01469
Opus 5 $0.00035 $0.00734
Sonnet 5 $0.00014 $0.00294
Haiku 4.5 $0.00007 $0.00147

Measured 8d ago against content hash 92d00c3cb80c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 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.

.github/skills/system-design/SKILL.md · 181 lines

How it starts

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

System Design

Design Process (Always Follow This Order)

  1. Clarify requirements — functional AND non-functional
  2. Estimate scale — users, requests/sec, data volume, read/write ratio
  3. Define the API — what does the system expose?
  4. Design the data model — what data, how stored, how accessed?
  5. High-level architecture — major components and their relationships
  6. Deep dive — zoom into the hardest or most critical parts
  7. Identify bottlenecks — and how to address them

Requirements Clarification

Before designing anything, answer:

Functional: What does the system do? Scale: How many users? Requests/sec? Data volume? Growth rate? Availability: What's the acceptable downtime? (99.9% = 8.7h/yr, 99.99% = 52m/yr) Latency: What's the acceptable response time? (p99) Consistency: Strong vs eventual consistency? (CAP theorem) Read/Write ratio: Read-heavy? Write-heavy? Mixed? Geography: Single region? Global? Data sovereignty requirements?


Scalability Patterns

Horizontal vs Vertical Scaling

Vertical Horizontal
Method Bigger machine More machines
Limit Hardware ceiling Theoretically unlimited
Cost Expensive More cost-efficient
Downtime Required Zero downtime possible
Complexity Simple Requires load balancing, distributed design

Default: design for horizontal scaling from the start.

Load Balancing

  • Round Robin — equal distribution, simple, doesn't account for load
  • Least Connections — routes to server with fewest active connections
  • Consistent Hashing — for distributed caches, minimizes redistribution on scaling

Caching Strategy

Layer Tool What to Cache
CDN Cloudflare, CloudFront Static assets, public API responses
Application Redis, Memcached Session data, computed results, DB query results
Database Query cache, materialized views Expensive aggregations

Read the full file on GitHub · 181 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. 8d ago First seen · 181 lines · 0 tokens per session scan A 92d00c3cb80c

Subscribe to this mod's changes

system-design is a skill published in the GitHub repository jamestorrevillas/dev-skills (3 stars, last pushed 5mo ago), licensed MIT. It adds 70 tokens to every session and 1,469 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

plan-authoring

Reference material for writing implementation plans (technical context, architecture decisions, data models, API contracts, project-instructions alignment). Loaded on demand by plan-feature; not directly invokable.

attilaszasz/sdd-pilot · 41 tokens

implementation-standards

Reference material with coding standards (defensive coding, error handling, testing patterns). Loaded on demand by the Developer sub-agent (.github/agents/developer.md); not directly invokable.

attilaszasz/sdd-pilot · 44 tokens

api-design

REST API contract designer and reviewer. ALWAYS use when designing new endpoints, reviewing existing API contracts, planning API versioning, or standardizing error models. Covers resource modeling (URL/naming), HTTP method semantics, status code selection, error model consistency, pagination/filtering/sorting…

johnqtcg/awesome-skills · 123 tokens

kafka-event-driven-design

Kafka event-driven architecture designer and reviewer, at the application/client layer. ALWAYS use when designing, reviewing, or troubleshooting how a service produces or consumes Kafka events — topic and partition-key design, producer and consumer client configuration, consumer group topology, event schema definition…

johnqtcg/awesome-skills · 191 tokens

thirdparty-api-integration-test

Create and run gated Go integration tests for third-party APIs with real external calls, strict configuration gates, bounded timeouts, and safe runtime controls. Use for vendor/client contract verification and failure triage.

johnqtcg/awesome-skills · 47 tokens

sap-btp-developer-guide

Develops business applications on SAP Business Technology Platform (BTP) using CAP (Node.js/Java) or ABAP Cloud. Use when: building cloud applications on SAP BTP, deploying to Cloud Foundry or Kyma runtimes, integrating with SAP HANA Cloud, implementing SAP Fiori UIs, connecting to remote SAP systems, building…

secondsky/sap-skills · 240 tokens