system-design

system-design is a skill for Claude Code, Codex from shahtuyakov/claude-setup. It costs 54 tokens per session (451 once invoked), scanned A, original, MIT.

A set of architecture patterns and decision guides for web applications and native iOS apps with custom backends.

In plain words
What is it for?
Use it when choosing APIs, databases, authentication, real-time updates, storage, hosting structure, or an iOS app architecture.
Why use it?
It gives a structured way to compare technology choices and record why an architecture decision was made.

Skill for Claude CodeCodex

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

Good fit Use it when choosing APIs, databases, authentication, real-time updates, storage, hosting structure, or an iOS app architecture.

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

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/shahtuyakov/claude-setup/system-design/github.svg)](https://agentmods.dev/skills/shahtuyakov/claude-setup/system-design)
Your own site
<a href="https://agentmods.dev/skills/shahtuyakov/claude-setup/system-design"><img src="https://agentmods.dev/badge/skills/shahtuyakov/claude-setup/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/shahtuyakov/claude-setup/system-design"><img src="https://agentmods.dev/badge/skills/shahtuyakov/claude-setup/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 451 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.00451
Opus 5.5 $0.00022 $0.00180
Sonnet 5.5 $0.00011 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 1mo ago against content hash 6052ef04f9a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

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

What it actually says

System Design

Architectural decision framework for web apps and iOS native applications with custom backends.

Decision Process

  1. Identify requirements (scale, platform, constraints)
  2. Load relevant reference file (see table below)
  3. Use comparison matrix to evaluate options
  4. Verify compatibility using MCP context7 for latest docs
  5. Document decision with rationale

Reference Navigation

Decision Type Load Use When
API style references/api-patterns.md Choosing REST vs GraphQL vs gRPC
Database references/database-patterns.md Selecting primary database, caching layer
Authentication references/auth-patterns.md Designing auth flow, token strategy
Real-time references/realtime-patterns.md Adding live updates, push notifications
iOS architecture references/ios-patterns.md Native iOS app structure, offline-first
Backend architecture references/architecture-patterns.md Monolith vs microservices, serverless
File storage references/storage-patterns.md Media uploads, CDN, cloud storage

Decision Documentation

Record each decision in .agents/architect/decisions.md:

## [date] - [decision title]
Context: [what prompted this decision]
Options: [what was considered]
Decision: [what was chosen]
Rationale: [why]

Platform Considerations

Web + iOS Projects

  • Design API with mobile constraints in mind (bandwidth, battery)
  • Plan for offline-first on iOS with backend sync
  • Consider BFF (Backend for Frontend) if needs diverge significantly

iOS-Specific

  • Always check references/ios-patterns.md for native patterns
  • Auth must include Keychain storage and biometrics
  • Push notifications require APNs backend integration
Files

What ships with it

7 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. 1mo ago First seen · 53 lines · 54 tokens per session scan A 6052ef04f9a6

Subscribe to this mod's changes

system-design is a skill published in the GitHub repository shahtuyakov/claude-setup (13 stars, last pushed 9mo ago), licensed MIT. It adds 54 tokens to every session and 451 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

Other skills, from other repositories

octopus-architecture

Review system architecture, simplify boundaries, or compare interface designs from repository evidence.

nyldn/claude-octopus · 19 tokens

touch-app

Produce a complete mobile app architecture design — platform choice, navigation structure, state management, data layer, key screens. Use when asked to "build a mobile app", "new app", "create iOS/Android app", "app architecture", or "cross-platform app".

tonone-ai/tonone · 58 tokens

spine-design

Produce a system design doc — components, data flow, decisions made, tradeoffs, failure modes. Not a list of options. An actual design with calls made. Use when asked for "system design for", "architect this", "how should we build", or "design the backend".

tonone-ai/tonone · 62 tokens

warden-harden

Produce a hardening spec and implement it — auth patterns, security headers, rate limiting, input validation, secrets management, dependency hygiene. Use when asked to "harden this", "add security to this service", "what security do I need", or "secure this before launch".

tonone-ai/tonone · 61 tokens

cortex-integrate

Design and implement an AI feature integration — model selection, architecture pattern, system prompt, data flow, error handling, cost estimate. Use when asked to "add AI to this", "LLM integration", "add Claude/GPT", or "AI-powered feature".

tonone-ai/tonone · 58 tokens

spine-api

Design and spec an API — endpoints, request/response shapes, error codes, auth pattern, pagination. Applies Stripe's consistency principles. Use when asked to "design an API", "build API endpoints", "create REST API", or "API for this feature".

tonone-ai/tonone · 57 tokens