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.
npx agentmods add skills/daniyalahmed21/skillforge/system-designnpx skills add daniyalahmed21/skillforge --skill system-designgit clone --depth 1 https://github.com/daniyalahmed21/skillforgeWrote 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.
[](https://agentmods.dev/skills/daniyalahmed21/skillforge/system-design)<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>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.
| Model | Per session | Once 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 |
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.
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.
- 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.
- 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. - 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.
- 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). Seereferences/data-and-consistency.md. - 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. - 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.
- 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. - 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.
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.
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.
- 4d ago First seen · 140 lines · 242 tokens per session scan A accb68fd9db1
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.
Other skills, from other repositories
architecture-paradigm-microservices
Applies microservices for independent deployment and per-service scaling. Use when teams need autonomous release cycles with distinct capability scaling needs.
architecture-paradigm-cqrs-es
Applies CQRS and Event Sourcing for read/write separation and audit trails. Use when designing systems with complex domain logic or full state-change history.
system-design
Production system design — scalability patterns, trade-off analysis, database selection, caching strategy, API design, and architecture decisions.
system-design-interview
Apply system design principles from System Design Interview by Alex Xu. Covers scaling (load balancing, DB replication, sharding, caching, CDN), estimation (QPS, storage, bandwidth), the 4-step framework, and 12 real designs: rate limiter, consistent hashing, key-value store, unique ID generator, URL shortener, web…
design-expert
Expert-level system design, architecture patterns, scalability, and distributed systems.
docker-local-build
Build and test Kurtosis from source on local Docker. Compiles all components (engine, core, files-artifacts-expander), builds Docker images, installs the CLI, and restarts the engine. Use when developing Kurtosis and testing changes locally with Docker.