composable-mach-architect

composable-mach-architect is a skill for Claude Code, Codex from roedyrustam/vibes-plug. It costs 108 tokens per session (3,307 once invoked), scanned A, a copy of memos-local, MIT.

A guide to MACH architecture, a way to build software from separate services and APIs with the user interface kept apart from the business logic. It covers microservices, API-first design, cloud hosting, and headless systems.

In plain words
What is it for?
Use it when planning service boundaries, API-based systems, multiple front ends, backend-for-frontend layers, or plugin and extension designs.
Why use it?
It helps teams compare an independently deployable, flexible setup with a simpler single-application design. It explains when the added operational complexity is justified.

Skill for Claude CodeCodex

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

Good fit Use it when planning service boundaries, API-based systems, multiple front ends, backend-for-frontend layers, or plugin and extension designs.

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

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 composable-mach-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/composable-mach-architect"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/composable-mach-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,307 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod 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.00108 $0.03307
Opus 5.5 $0.00043 $0.01323
Sonnet 5.5 $0.00022 $0.00661
Haiku 4.5 $0.00011 $0.00331

Measured today against content hash 7eac01fd3b21, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

composable-mach-architect scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

async fetch(request, env) {
Origin

This is a copy

86% identical to memos-local — 1,535 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/composable-mach-architect/SKILL.md · 339 lines

How it starts

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

Composable MACH Architecture / Arsitektur MACH Komposabel

1. MACH Alliance Principles / Prinsip-prinsip Aliansi MACH

English

MACH architecture is a set of technology principles emphasizing best-of-breed, composable enterprise technology ecosystems.

  • Microservices: Independently deployable, single-responsibility services. Decoupled and scalable.
  • API-first: Every capability is exposed via versioned APIs (REST/GraphQL/gRPC). The API is the primary interface, not an afterthought.
  • Cloud-native: SaaS-first, leveraging auto-scaling, multi-region deployment, and edge computing for resilience and global performance.
  • Headless: Total separation of the presentation layer (frontend) from the business logic layer (backend).
  • Decision Matrix:
    • MACH: Large scale, highly customizable, best-of-breed requirement, multiple frontends.
    • Modular Monolith: Medium scale, unified team, standard requirements, lower operational complexity.
    • Monolith: Small scale, rapid MVP, single deployment unit.

Indonesian (Bahasa Indonesia)

Arsitektur MACH adalah seperangkat prinsip teknologi yang menekankan ekosistem teknologi enterprise yang komposabel dan best-of-breed.

  • Microservices: Layanan dengan tanggung jawab tunggal yang dapat di-deploy secara independen. Terdekopel dan dapat diskalakan.
  • API-first: Setiap kemampuan diekspos melalui API berversi (REST/GraphQL/gRPC). API adalah antarmuka utama, bukan tambahan.
  • Cloud-native: Mengutamakan SaaS, memanfaatkan auto-scaling, deployment multi-region, dan komputasi edge.
  • Headless: Pemisahan total lapisan presentasi (frontend) dari lapisan logika bisnis (backend).
  • Matriks Keputusan:
    • MACH: Skala besar, sangat dapat dikustomisasi, butuh best-of-breed, banyak frontend.
    • Monolit Modular: Skala menengah, tim terpadu, standar.
    • Monolit: Skala kecil, MVP cepat.

2. Dynamic UI Composition / Komposisi UI Dinamis

English

Dynamic UI composition allows building runtime-composed dashboards and applications from independent micro-frontends. Use Module Federation v2 (Webpack/Vite) for dynamic remote loading and Server-Driven UI (SDUI) where the backend defines the layout payload. The Shell application acts as the host for remote modules.

Read the full file on GitHub · 339 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. today Changed 7eac01fd3b21
  2. 9d ago Changed 0392196cb4d8
  3. 14d ago Changed 9c56343f4de5
  4. 15d ago Changed 2c62dd50a81a
  5. 17d ago Changed c67969f5088a
  6. 18d ago Changed · -6 lines · +95 tokens per session 0d8b96e0efe6
  7. 19d ago Changed · +11 lines · -95 tokens per session 1a85edda9d6d
  8. 1mo ago First seen · 334 lines · 108 tokens per session scan A 28d113ee87b6

Subscribe to this mod's changes

composable-mach-architect is a skill published in the GitHub repository roedyrustam/vibes-plug (77 stars, last pushed yesterday), licensed MIT. It adds 108 tokens to every session and 3,307 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 86% identical to memos-local, differing in 1,535 lines, and is treated as a copy.

Related

Other skills, from other repositories

api-and-interface-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

addyosmani/agent-skills · 49 tokens

api-security-best-practices

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities.

lingxling/awesome-skills-cn · 29 tokens

api-patterns

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

lingxling/awesome-skills-cn · 28 tokens

amazon-alexa

Integracao completa com Amazon Alexa para criar skills de voz inteligentes, transformar Alexa em assistente com Claude como cerebro (projeto Auri) e integrar com AWS ecosystem (Lambda, DynamoDB, Polly, Transcribe, Lex, Smart Home).

lingxling/awesome-skills-cn · 53 tokens

component-identification-sizing

Maps architectural components in a codebase and measures their size to identify what should be extracted first. Use when asking "how big is each module?", "what components do I have?", "which service is too large?", "analyze codebase structure", "size my monolith", or planning where to start decomposing. Do NOT use…

tech-leads-club/agent-skills · 81 tokens

evolutionary-modular-architecture

Guides design and implementation of evolutionary modular-monolith platforms with DDD (strategic + tactical), flat-by-aggregate organization, an Anti-Corruption Layer for vendor independence, a transactional outbox for events, smart resilience (backoff with jitter, circuit breakers, idempotency), and a polished…

tech-leads-club/agent-skills · 208 tokens