System Design Estimation logo

System Design Estimation

Community
HoangNguyen0403
system-design-estimation

Compute defensible capacity numbers before architecture: average and peak QPS, storage growth, bandwidth, working-set memory, latency and availability budgets. Use when sizing a service, provisioning infrastructure, or checking that a design survives peak load.

Overview

PublisherHoangNguyen0403
Repositoryagent-skills-standard
Skill namesystem-design-estimation
Stars
573
Forks
166
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by HoangNguyen0403 on GitHub. Read the source before you install it.

Installation

Install the System Design Estimation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/HoangNguyen0403/agent-skills-standard/tree/develop/.agents/skills/system-design/system-design-estimation
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard.git /tmp/agent-skills-standard
mkdir -p .claude/skills
cp -r /tmp/agent-skills-standard/.agents/skills/system-design/system-design-estimation .claude/skills/system-design-estimation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable System Design Estimation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads System Design Estimation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so System Design Estimation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Capacity Estimation

Priority: P1 (HIGH)

Estimate before you architect. One order of magnitude decides cache, shard, and queue choices.

Core Formulas

  • average QPS = DAU x actions per user per day / 86,400
  • peak QPS = average QPS x peak factor (default 5x; 20-100x for flash sale, ticket drop, or scheduled push)
  • storage per year = writes per day x record size x 365 x replication factor
  • bandwidth = QPS x payload size (compute ingress and egress separately)
  • working set = hot records x record size, where hot is typically 20% of data serving 80% of reads
  • connections = concurrent users x connections per user; compare against pool and file-descriptor limits

Method

  1. Round every input to one significant figure. Precision here is false precision.
  2. Compute average, then peak, then storage, then bandwidth, then memory.
  3. Compare each result to a known ceiling from estimation numbers: single-node QPS, disk IOPS, NIC throughput, RAM per instance.
  4. Name the shaping quantity - the first number that breaks a single-node ceiling. It dictates the first component added in high-level design.
  5. Restate every assumed input beside the result so a wrong assumption is visible, not buried.

Cost

  • Convert the sized capacity into monthly spend before recommending it: compute, storage plus egress, managed-service premiums, and the multiplier any redundancy applies.
  • Cost is a design constraint, not an afterthought. A topology the budget cannot hold is not a design, it is a proposal to be rejected later.
  • State cost per unit of value where it clarifies: cost per 1k requests, per GB retained, per nine of availability added.

Latency Budget

  • Build the p95 budget as a sum of hops; every remote call spends from one fixed budget.
  • Use order-of-magnitude anchors: memory 100ns, SSD read 100us, same-DC round trip 500us, cross-region round trip 100ms+.
  • A synchronous fan-out of N calls costs the slowest call, not the average. Budget with p99, not the mean.

Availability Math

  • Serial dependencies multiply: three 99.9% services in one path yield 99.7%.
  • Redundant replicas add nines only when failure modes are independent; a shared store or config plane cancels the gain.
  • Convert the target into an error budget in minutes per month before promising it.

Anti-Patterns

  • No design before numbers: never pick a database or cache before QPS and storage exist.
  • No average-only sizing: capacity is provisioned for peak, cost is modeled on average.
  • No hidden units: state units and time windows on every number (QPS, GB/day, GB/year).
  • No unverified precision: do not report 4,873 QPS from an assumed DAU; report ~5k QPS.

Verify

  • Average and peak QPS both stated, with the peak factor named
  • Storage projected over the retention window including replication
  • Shaping quantity identified and mapped to a design consequence
  • Every assumed input labeled beside the result

References

  • Estimation Numbers - powers of two, latency table, single-node ceilings, worked examples

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the System Design Estimation AI skill do?

Compute defensible capacity numbers before architecture: average and peak QPS, storage growth, bandwidth, working-set memory, latency and availability budgets. Use when sizing a service, provisioning infrastructure, or checking that a design survives peak load.

Why use System Design Estimation on TypingMind?

Because you install it once and use it with any model. System Design Estimation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install System Design Estimation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HoangNguyen0403/agent-skills-standard/tree/develop/.agents/skills/system-design/system-design-estimation. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use System Design Estimation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with System Design Estimation?

As many as you like. As long as a model supports skills, you can use System Design Estimation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the System Design Estimation AI skill free?

Yes. It is published on GitHub by HoangNguyen0403 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇