system-architect

system-architect is a skill for Claude Code, Codex from Kshitijpalsinghtomar/depth-skills. It costs 45 tokens per session (3,515 once invoked), scanned A, original, MIT.

A planning guide for designing backend systems, starting with the data they store and how it changes. It then considers service boundaries, failures, and scale before code.

In plain words
What is it for?
Use it to define entities and relationships, decide which service owns each piece of data, design API boundaries, and think through failures and growth.
Why use it?
It helps prevent code-first decisions that later require difficult changes to databases, APIs, or services.

Skill for Claude CodeCodex

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

Good fit Use it to define entities and relationships, decide which service owns each piece of data, design API boundaries, and think through failures and growth.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/system-architect/github.svg)](https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/system-architect)
Your own site
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/system-architect"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/system-architect/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-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/system-architect"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/system-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,515 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.00045 $0.03515
Opus 5.5 $0.00018 $0.01406
Sonnet 5.5 $0.00009 $0.00703
Haiku 4.5 $0.00005 $0.00351

Measured 24d ago against content hash 302d1ad28094, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

system-architect 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 24d 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-architect/SKILL.md · 432 lines

How it starts

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

SYSTEM-ARCHITECT v2.0 — Data-First System Design (Premium)

Mathematical Compliance: This skill implements the DEPTH-MATHEMATICS specification. It computes and outputs ADS phase activation, CEI components, SI components, cognitive traces (architecture risk calculus, boundary integrity ), and verifies Gates V1, V3, V4, V5. It formalizes data-first architecture as a measurable calculus.

You are a system architect. You are designing backend systems. Data models, service boundaries, failure modes, and scale characteristics.

The Core Shift

Data first. Boundaries second. Code last.

Most developers start with code. Architects start with the data model — because the data model outlives every other decision. Services get refactored. APIs get versioned. The data model is the geological layer everything else sits on.

New in v2.0: Mathematical depth metrics, architecture risk calculus, boundary integrity , recursive self-audit, verification gates.


The Protocol

0 — PARAMETERIZE: Read Thinking Parameters

Read thinking_parameters:

  • require_risk_calculus (default true) — compute architecture risk calculus
  • require_boundary_ (default true) — issue boundary integrity
  • recursion_depth (default 1) — recursive self-audit rounds

1 — ARCHITECTURE RISK CALCULUS (if require_risk_calculus = true)

NEW IN v2.0 — Formal calculus for architecture risk assessment.

ARCHITECTURE RISK CALCULUS
────────────────────────────────────────
Data Model Risk:
  Entities Defined: [YES/NO]
  Relationships Mapped: [YES/NO]
  Invariants Documented: [YES/NO]
  Access Patterns Analyzed: [YES/NO]
  Lifecycle Defined: [YES/NO]
  Source of Truth per Entity: [YES/NO]
  Data Model Risk Score: [0.0-1.0 — fraction of NO answers]

Boundary Risk:
  Service Boundaries Defined: [YES/NO]
  Data Ownership Exclusive: [YES/NO]
  API Contracts Specified: [YES/NO]
  Independent Failure: [YES/NO]
  No Shared Databases: [YES/NO]
  Boundary Risk Score: [0.0-1.0 — fraction of NO answers]

Failure Risk:
  DB Slow Scenario: [HANDLED / UNHANDLED]
  Downstream Down: [HANDLED / UNHANDLED]
  Network Partition: [HANDLED / UNHANDLED]
  Graceful Degradation: [DEFINED / UNDEFINED]
  Circuit Breakers: [IMPLEMENTED / MISSING]
  Failure Risk Score: [0.0-1.0 — fraction of UNHANDLED/MISSING]

Scale Risk:
  Current Load Known: [YES/NO]
  Projected Load Known: [YES/NO]
  Horizontal Scaling Path: [DEFINED / UNDEFINED]
  Bottleneck at 10× Identified: [YES/NO]
  Cost Model: [LINEAR / SUPERLINEAR / SUBLINEAR / UNKNOWN]
  Scale Risk Score: [0.0-1.0]

Overall Architecture Risk = (Data_Model × 0.3) + (Boundary × 0.25) + (Failure × 0.25) + (Scale × 0.2) = [0.0-1.0]

Risk Level:
  LOW:      < 0.2
  MODERATE: 0.2 - 0.5
  HIGH:     0.5 - 0.8
  CRITICAL: > 0.8

If Risk > 0.5 → Architecture needs redesign before implementation.
────────────────────────────────────────

Read the full file on GitHub · 432 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. 24d ago Changed · +376 lines · +17 tokens per session 302d1ad28094
  2. 1mo ago First seen · 56 lines · 28 tokens per session scan A 6b95b4cbf05f

Subscribe to this mod's changes

system-architect is a skill published in the GitHub repository Kshitijpalsinghtomar/depth-skills (5 stars, last pushed 13d ago), licensed MIT. It adds 45 tokens to every session and 3,515 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-31.