system-design

system-design is a skill for Claude Code, Codex from daniyalahmed21/skillforge. It costs 242 tokens per session (2,374 once invoked), scanned A, original, MIT.

A method for designing or checking backend systems—software that runs on servers and communicates over a network. It covers the parts needed to meet a system’s expected size, reliability, and cost.

In plain words
What is it for?
Use it to plan a new service or review an architecture for scaling, reliability, cost, or performance problems. It produces a design document or a prioritized list of findings.
Why use it?
It helps avoid building a system that is unnecessarily complicated or too fragile for its workload. It also exposes missing or oversized components in an existing design.

Skill for Claude CodeCodex

Part of the system-design plugin — 1 skill shipped together

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/daniyalahmed21/skillforge/system-design
Any agent
npx skills add daniyalahmed21/skillforge --skill system-design
Clone the repo
git clone --depth 1 https://github.com/daniyalahmed21/skillforge

Made for: Claude Code, Codex.

Or install system-design, the plugin that ships this one along with the rest of its 1 skill.

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/daniyalahmed21/skillforge/system-design.svg)](https://agentmods.dev/skills/daniyalahmed21/skillforge/system-design)
Your own site
<a href="https://agentmods.dev/skills/daniyalahmed21/skillforge/system-design"><img src="https://agentmods.dev/badge/skills/daniyalahmed21/skillforge/system-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 242 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,374 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.00242 $0.02374
Opus 5 $0.00121 $0.01187
Sonnet 5 $0.00048 $0.00475
Haiku 4.5 $0.00024 $0.00237

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

system-design/skills/system-design/SKILL.md · 140 lines

How it starts

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

System Design (end-to-end, right-sized)

A system is a set of components connected by an unreliable network, each of which can fail, saturate, or fall behind. Good design is not about knowing the fanciest technique — it is about choosing the minimum set of moving parts that meets the requirements at the expected scale, with a clear upgrade path when scale changes. Over-engineering (sharding a table with 10k rows, a Kafka cluster for 5 events/day) is a bug. Under-engineering (a single box with no replica holding the only copy of the data) is also a bug. This skill produces the design in between: the best system needed at that time.

The two modes

Design mode — the user is building something new (or a new subsystem). Run the design method below top to bottom and produce a design doc.

Review mode — the user has an architecture (in code, a diagram, or their head) and wants it audited for scale, reliability, cost, or a specific symptom ("will this survive launch?", "why is this slow?"). Map their current design onto the building blocks, find the missing or oversized pieces, and produce a prioritized findings list. Ground every finding in their actual system.

Scope to what was asked. A full greenfield design runs every step; "should this be a queue?" runs just the relevant building block plus the right-sizing check.

The design method — run in this order

Never jump to a diagram. The order matters: each step constrains the next, and skipping estimation is how people end up sharding a database that fits on one laptop.

  1. Scope & requirements. Pin down functional requirements (what it does), non-functional requirements (scale, latency, availability, consistency, durability, cost), and explicit out-of-scope. Ask for the numbers that drive everything: DAU, read:write ratio, payload size, retention, growth. If the user doesn't know, state the assumption you're designing to.
  2. Back-of-envelope estimation. Turn the numbers into QPS, peak QPS, storage/year, bandwidth, and memory-for-cache. These decide whether you need one box or one thousand. Cheat-sheet and worked examples in references/design-method.md.
  3. API / interface. Define the handful of operations (endpoints, message types, or method signatures) at the system boundary. This forces agreement on what the system actually promises.
  4. Data model & storage choice. Entities, relationships, access patterns → then pick the store (SQL vs the four NoSQL families) from the access patterns, not from fashion. Capture the model as an Eraser ERD (references/diagramming-eraser.md). See references/data-and-consistency.md.
  5. High-level design. Draw the boxes: clients → LB → stateless service tier → data tier, plus the async paths. Render this as an Eraser cloud-architecture diagram — see references/diagramming-eraser.md. Keep both the picture and the system the simplest thing that satisfies steps 1–4.
  6. Deep-dive the hard parts. Every system has 1–3 components that carry the real difficulty (the fanout for a feed, the transcoding DAG for video, the trie for autocomplete, the quorum for a KV store). Design those in detail; the rest is plumbing. For a tricky ordering (fanout, quorum write, auth handshake), add an Eraser sequence diagram of the flow.
  7. Identify bottlenecks & scale. Walk the scaling playbook (references/scaling-playbook.md): where is the single point of failure, the hot key, the tier that can't scale horizontally? Add caching, replication, sharding, queues, CDN — only where a bottleneck actually exists.
  8. Trade-offs & wrap-up. State what you optimized for and what you gave up, the failure modes and how the system degrades, and the concrete next scaling step when load 10×'s.

Read the full file on GitHub · 140 lines

Files

What ships with it

8 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. 4d ago First seen · 140 lines · 242 tokens per session scan A accb68fd9db1

Subscribe to this mod's changes

system-design is a skill published in the GitHub repository daniyalahmed21/skillforge (6 stars, last pushed 1mo ago), licensed MIT. It adds 242 tokens to every session and 2,374 once invoked, about $0.0012 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