architecture

architecture is a skill for Claude Code from bricerising/enterprise-software-playbook. It costs 86 tokens per session (2,977 once invoked), scanned A, original, Apache-2.0.

A guide for designing systems made of multiple services or processes, including their boundaries, communication, data ownership, and consistency rules.

In plain words
What is it for?
Use it when splitting a monolith into deployable services or designing event-driven systems, APIs, gateways, CQRS, or workflows that span services. It uses measured codebase structure as an input.
Why use it?
It helps address problems that cross application or team boundaries, such as partial failures, duplicated data, and coordination between services.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the enterprise-software-playbook plugin — 16 skills shipped together

Good fit Use it when splitting a monolith into deployable services or designing event-driven systems, APIs, gateways, CQRS, or workflows that span services. It uses measured codebase structure as an input.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bricerising/enterprise-software-playbook/architecture
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 bricerising/enterprise-software-playbook --skill architecture
Clone the repo
git clone --depth 1 https://github.com/bricerising/enterprise-software-playbook

Made for: Claude Code.

Or install enterprise-software-playbook, the plugin that ships this one along with the rest of its 16 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 architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/bricerising/enterprise-software-playbook/architecture/github.svg)](https://agentmods.dev/skills/bricerising/enterprise-software-playbook/architecture)
Your own site
<a href="https://agentmods.dev/skills/bricerising/enterprise-software-playbook/architecture"><img src="https://agentmods.dev/badge/skills/bricerising/enterprise-software-playbook/architecture/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 architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/bricerising/enterprise-software-playbook/architecture"><img src="https://agentmods.dev/badge/skills/bricerising/enterprise-software-playbook/architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,977 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.00086 $0.02977
Opus 5.5 $0.00034 $0.01191
Sonnet 5.5 $0.00017 $0.00595
Haiku 4.5 $0.00009 $0.00298

Measured 1mo ago against content hash 717bc9979c31, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architecture 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/architecture/SKILL.md · 191 lines

How it starts

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

Architecture (System Pattern Chooser)

Overview

Pick the smallest system/architecture pattern that addresses the pressure (reliability, consistency, domain boundaries, scalability).

Use code patterns for in-process structure; use system patterns when the problem is cross-process or cross-team.

Monolith edge case: If you're restructuring within a monolith without decomposing it into services (e.g., extracting modules, introducing internal boundaries, applying GoF patterns), use design instead. Use architecture when the monolith is being decomposed into separate deployable units, or when decisions span process/deployment/team boundaries.

Inputs / Outputs

Inputs: Archobs JSON — cluster coupling, leakage, risk scores (required); plan scope (if exists); forecast lifecycle data (if external deps involved). Outputs: Pattern selection with rationale, decision table, boundary diagram, implementation tactics. Consumed by design (in-process patterns), spec (contracts), plan (task ordering).

Workflow

  1. Gather empirical data (required — wait for completion):
    • Reuse .archobs/file_metrics.parquet only when it is newer than the most recent commit and .archobs/run_manifest.json exists with status equal to complete; otherwise run archobs report --repo <path> --out .archobs --suggestions-provider rules and wait for the report to complete before continuing.
    • Read results: archobs show all --format json (or query archobs show risks, archobs show clusters individually).
    • Use cluster leakage data to identify where boundaries are already porous.
    • Use file-level risk scores to focus on the highest-impact areas.
    • Skip this step only if the repo is too small (< 10 files) for meaningful analysis.

0b. Ecosystem Pressure Check (conditional — run when the architecture decision involves adopting or replacing a technology, defining boundaries around external dependencies, or planning work with a time horizon > 6 months):

Read the full file on GitHub · 191 lines

Files

What ships with it

59 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 · 191 lines · 86 tokens per session scan A 717bc9979c31

Subscribe to this mod's changes

architecture is a skill published in the GitHub repository bricerising/enterprise-software-playbook (8 stars, last pushed 8d ago), licensed Apache-2.0. It adds 86 tokens to every session and 2,977 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

frontmcp-guides

Tutorials, end-to-end walkthroughs, and complete reference projects for FrontMCP. Use when you want a getting-started guide, a full worked example, or to learn best practices by following a step-by-step build rather than a single API reference. Includes a beginner weather-API server (tool plus static resource, Zod…

agentfront/frontmcp · 157 tokens

dotnet-aspnetcore-service

Use when building or extending a C# service on ASP.NET Core - Minimal APIs or controllers, DI and options, EF Core with Npgsql, ProblemDetails, HttpClientFactory resilience, async and cancellation.

makifbaysal/tasktrooper · 48 tokens

node-typescript-service

Use when building or extending a TypeScript service on Node.js - Fastify, NestJS, Express or Hono, runtime validation at the boundary, strict types, the repository's ORM and migrations, async error handling, graceful shutdown.

makifbaysal/tasktrooper · 51 tokens

rust-axum-service

Use when building or extending a Rust service - axum on tokio (or the repository's actix-web / rocket), typed errors with IntoResponse, serde at the boundary, sqlx queries and migrations, never blocking the runtime, tracing, clippy.

makifbaysal/tasktrooper · 57 tokens

go-hexagonal-architecture

Use when adding a use case, port, repository or adapter in a Go service — where each piece goes, how errors and transactions cross layers, and how to check the import direction.

makifbaysal/tasktrooper · 43 tokens

quarkus-service-architecture

Use when building or extending a Java service with Quarkus - layered architecture, JAX-RS resources, CDI beans, Panache persistence, and native-friendly patterns.

makifbaysal/tasktrooper · 40 tokens