architecture

architecture is a skill for Claude Code, Codex from soden46/engineer-flow. It costs 18 tokens per session (226 once invoked), scanned A, original, MIT.

A guide to structuring software into clear modules with defined responsibilities and connections. It uses general design principles that apply across programming languages and frameworks.

In plain words
What is it for?
Use it to design service boundaries, modules, interfaces, adapters, and orchestration, or to plan incremental architectural refactoring.
Why use it?
It helps prevent business logic from becoming tightly tied to infrastructure or difficult-to-replace parts. It also supports code that is easier to maintain, test, and change.

Skill for Claude CodeCodex

Part of the engineer-flow plugin — 18 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/soden46/engineer-flow/architecture
Any agent
npx skills add soden46/engineer-flow --skill architecture
Clone the repo
git clone --depth 1 https://github.com/soden46/engineer-flow

Made for: Claude Code, Codex.

Or install engineer-flow, the plugin that ships this one along with the rest of its 18 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/soden46/engineer-flow/architecture.svg)](https://agentmods.dev/skills/soden46/engineer-flow/architecture)
Your own site
<a href="https://agentmods.dev/skills/soden46/engineer-flow/architecture"><img src="https://agentmods.dev/badge/skills/soden46/engineer-flow/architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 226 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.00018 $0.00226
Opus 5 $0.00009 $0.00113
Sonnet 5 $0.00004 $0.00045
Haiku 4.5 $0.00002 $0.00023

Measured 4d ago against content hash 5f97b27b5fc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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/engineer-flow/core/architecture/SKILL.md · 40 lines

What it actually says

architecture

Use this skill for service boundaries, modules, dependency direction, interfaces, adapters, orchestration, and architectural refactoring.

Principles

Prefer clear responsibilities and explicit dependencies.

Separate concerns when doing so improves:

  • maintainability
  • testability
  • replacement
  • ownership
  • failure isolation

Do not introduce abstraction merely for abstraction's sake.

Stable application/business logic should not depend unnecessarily on volatile infrastructure details.

Use interfaces or boundaries where multiple implementations, isolation, or testing value justifies them.

Prefer incremental architectural change over unnecessary rewrites.

Preserve public behavior during structural refactoring unless behavior change is intentional.

Architecture should follow actual project complexity, not pattern names.

Adaptation

Use project evidence to determine the actual language, framework, runtime, and existing conventions.

When stack-specific implementation guidance is needed, prefer project evidence, native framework or language mechanisms, and relevant user-installed specialist skills. Technology-specific guidance must not redefine or weaken the core engineering requirement.

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 · 40 lines · 18 tokens per session scan A 5f97b27b5fc4

Subscribe to this mod's changes

architecture is a skill published in the GitHub repository soden46/engineer-flow (3 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 226 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

todos

This chat has a shared, live TODO plan — your tasks for the conversation, which the user also edits. Read this skill and reach for the todo tools whenever a request takes more than a couple of steps. It covers the plan model (group = task, items = its steps; loose items are the user's lane), how to work it: propose…

JetBrains/thinkrail · 127 tokens

writing-workflow-skills

Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger, handoff, or structure, or checking a workflow skill against the workflow system's rules. Not for authoring general-purpose skills outside this package.

JetBrains/thinkrail · 60 tokens

clarify

Adaptive requirements clarification with auto-depth routing. Shallow (Q&A) for simple tasks, Deep (exploration + DRAFT + PLAN) for complex ones. Escalates automatically when ambiguity persists.

mag123c/toktrack · 43 tokens

writing-specs

Use when a workflow step drafts or revises a spec artifact — a goal-and-requirements, an architecture, or a module SPEC — or when a workflow skill names it at such a step. The shared quality bar for specs — not a workflow, nothing to execute.

JetBrains/thinkrail · 59 tokens

detecting-process-injection-techniques

Detects and analyzes process injection techniques used by malware including classic DLL injection, process hollowing, APC injection, thread hijacking, and reflective loading. Uses memory forensics, API monitoring, and behavioral analysis to identify injection artifacts. Activates for requests involving process…

adriannoes/awesome-agentic-ai · 78 tokens

extracting-iocs-from-malware-samples

Extracts indicators of compromise (IOCs) from malware samples including file hashes, network indicators (IPs, domains, URLs), host artifacts (file paths, registry keys, mutexes), and behavioral patterns for threat intelligence sharing and detection rule creation. Activates for requests involving IOC extraction, threat…

adriannoes/awesome-agentic-ai · 82 tokens