designing-architectures

designing-architectures is a skill for Claude Code, Codex from telagod/code-abyss. It costs 43 tokens per session (627 once invoked), scanned A, original, MIT.

A reference for designing software systems, covering web APIs, security, cloud infrastructure, message queues, and caching. It includes common technology choices and trade-offs, such as REST versus GraphQL or SQL versus NoSQL.

In plain words
What is it for?
Use it when planning an API, backend, cloud-native system, cache, or event-driven service. It helps choose between synchronous calls and queues, monoliths and microservices, database types, and caching strategies.
Why use it?
It gives a structured way to compare architecture options before implementation. It helps connect technical choices to needs such as latency, consistency, team size, scaling, and security.

Skill for Claude CodeCodex

Part of the code-abyss plugin — 48 skills 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/telagod/code-abyss/designing-architectures
Any agent
npx skills add telagod/code-abyss --skill designing-architectures
Clone the repo
git clone --depth 1 https://github.com/telagod/code-abyss

Made for: Claude Code, Codex.

Or install code-abyss, the plugin that ships this one along with the rest of its 48 skills.

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 designing-architectures

README.md
[![agentmods](https://agentmods.dev/badge/skills/telagod/code-abyss/designing-architectures.svg)](https://agentmods.dev/skills/telagod/code-abyss/designing-architectures)
Your own site
<a href="https://agentmods.dev/skills/telagod/code-abyss/designing-architectures"><img src="https://agentmods.dev/badge/skills/telagod/code-abyss/designing-architectures.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 627 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.00043 $0.00627
Opus 5 $0.00022 $0.00313
Sonnet 5 $0.00009 $0.00125
Haiku 4.5 $0.00004 $0.00063

Measured 4d ago against content hash 07b0dd8c4ed0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

designing-architectures 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.

skills/designing-architectures/SKILL.md · 41 lines

What it actually says

阵法秘典 · 架构设计

判断先于执行:决定「是否做 / 选什么 / 如何取舍」(栈、方案、架构、权衡)前,先读领域判断内核 skills/_kernel/backend/SKILL.md——它管 judgment,本秘典管 execution;冲突时以内核判断为准。

路由

意图 秘典 核心
API 设计 api-design RESTful、GraphQL、gRPC、OpenAPI
安全架构 security-arch 零信任、IAM、威胁建模、合规
云原生 cloud-native 容器、K8s、Serverless、Service Mesh
消息队列 message-queue Kafka、RabbitMQ、事件驱动、CQRS
缓存 caching Redis、CDN、一致性、穿透/雪崩

决策矩阵

决策点 选项 A 选项 B 判据
同步 vs 异步 REST/gRPC 同步调用 消息队列异步 延迟敏感→同步;解耦/削峰→异步
单体 vs 微服务 单体(模块化) 微服务 团队<5→单体;独立部署需求→微服务
SQL vs NoSQL RDBMS MongoDB/DynamoDB 强一致/关联→SQL;灵活 schema/高吞吐→NoSQL
缓存策略 Cache-Aside Write-Through 读多写少→Aside;写后即读→Through
API 风格 REST GraphQL 资源型 CRUD→REST;复杂聚合/前端驱动→GraphQL
事件架构 事件通知 事件溯源(ES) 简单解耦→通知;审计/回溯→ES+CQRS

原则

SOLID: S单一职责 O开闭 L里氏替换 I接口隔离 D依赖倒置
分布式: CAP定理 | BASE最终一致 | 幂等设计
安全: 纵深防御 | 最小权限 | 零信任
扩展: 水平优先 | 无状态服务 | 数据分片
Files

What ships with it

5 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 · 41 lines · 43 tokens per session scan A 07b0dd8c4ed0

Subscribe to this mod's changes

designing-architectures is a skill published in the GitHub repository telagod/code-abyss (239 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 627 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

metrics-graphana

Query and manage Grafana dashboards and Prometheus metrics for Happy infrastructure. Covers grafanactl CLI usage, direct Prometheus queries through Grafana proxy, and dashboard-as-code workflows. Use when user asks about metrics, dashboards, monitoring, Grafana, Prometheus, or wants to add/modify panels.

slopus/happy · 67 tokens

remote-compute-ssh

Submit recoverable SSH-direct research Runs with live progress cards and model-free monitoring.

xuzhougeng/wisp-science · 22 tokens

kirby-performance-and-media

Improves Kirby performance and media delivery (cache tuning, CDN, responsive images, lazy loading). Use when optimizing page speed, caching, or image handling.

bnomei/kirby-mcp · 37 tokens

probe-compute-environment

Inspect a registered execution server before compute planning and interpret its persisted capability profile. Use when a server is added, when the user clicks Probe, before enabling an unfamiliar SSH/WSL resource, or when deciding whether GPU, sudo/root, a scheduler, Python, R, conda, mamba, or environment modules are…

xuzhougeng/wisp-science · 72 tokens

investigating-aws-incidents

Investigate a suspected AWS compromise from the control plane — CloudTrail management and data events (queried with Athena or CloudTrail Lake), GuardDuty findings, VPC Flow Logs, and CloudWatch — to reconstruct IAM/STS abuse, persistence, data access, and log tampering into a timeline. Use when the evidence is AWS API…

EvilFreelancer/secs · 101 tokens

investigating-azure-incidents

Investigate a suspected Azure and Entra ID compromise from the control plane — Azure Activity Log, Entra sign-in and audit logs, and the Microsoft 365 unified audit log, queried with KQL in Log Analytics/Sentinel — to reconstruct identity abuse, MFA and conditional-access bypass, service-principal and app-consent…

EvilFreelancer/secs · 114 tokens