architecture

architecture is a skill for Codex from kreek/consult. It costs 18 tokens per session (933 once invoked), scanned A, original, MIT.

A guide for making system-architecture decisions, including module boundaries, layers, dependencies, and the data exchanged between parts of a system.

In plain words
What is it for?
Use it when organizing a codebase, choosing package or module boundaries, defining internal contracts, or reviewing how system parts depend on one another.
Why use it?
It helps prevent tangled code by making responsibilities and boundaries explicit before or during development.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when organizing a codebase, choosing package or module boundaries, defining internal contracts, or reviewing how system parts depend on one another.

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

Made for: 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 architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/kreek/consult/architecture/github.svg)](https://agentmods.dev/skills/kreek/consult/architecture)
Your own site
<a href="https://agentmods.dev/skills/kreek/consult/architecture"><img src="https://agentmods.dev/badge/skills/kreek/consult/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/kreek/consult/architecture"><img src="https://agentmods.dev/badge/skills/kreek/consult/architecture.svg" alt="Reviewed on agentmods" width="80" 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 933 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.00018 $0.00933
Opus 5.5 $0.00007 $0.00373
Sonnet 5.5 $0.00004 $0.00187
Haiku 4.5 $0.00002 $0.00093

Measured 1mo ago against content hash ef3fe86d97b5, 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.

agents/.agents/skills/architecture/SKILL.md · 80 lines

How it starts

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

Architecture

Iron Law

ORGANIZE BY WHAT CHANGES TOGETHER. BOUNDARIES EXPOSE CONTRACTS, NOT INTERNAL STEPS.

When to Use

  • Choosing between feature-oriented organization and horizontal controller/service/repository/DTO layers.
  • Choosing shared project, package, or module boundaries, bounded contexts, and public surfaces.
  • Choosing API style or data store family before a specialist skill owns the detailed shape.
  • Deciding whether DDD tactical patterns earn their keep.
  • Reviewing code where one behavior is scattered across many files for no technical reason.

When NOT to Use

  • Data shape, invariant, and effect discipline; use domain-modeling.
  • Public HTTP contract details; use api. Physical schema; use database.
  • Reshaping existing code while preserving behavior; use refactoring.
  • Local file moves or private helper extraction that create no shared boundary: explain the choice and proceed.

Rules

  1. Feature behavior, data shapes, invariants, and tests live close enough to change together, and one focused behavior can be run without invoking the whole suite.
  2. Functions do one thing, stay around 25-30 lines, and keep conditionals and loops under three nesting levels. Guard clauses, extraction, or composition come before another nested branch.
  3. Horizontal layers exist only for a real boundary: process, deploy, trust, persistence, transport, or proven duplication. A layer that scatters one behavior by default is harmful.
  4. A module boundary says what crosses it, what assumptions hold, and what callers must not depend on. Callers depend on the contract, never the internal shape.
  5. Data flow is explicit: where external data enters, where it becomes trusted, where domain work happens, what output shape leaves. These are roles, not required folders. Raw external payloads do not leak past the parse boundary.
  6. DDD patterns (aggregates, repositories, factories, domain services) and bounded contexts are used only when they protect a real invariant, workflow, or a word that means different things in different places.
  7. Shared structure is user-owned. Project layout, package/module boundaries, public library shape, and cross-component ownership future work will depend on route through contract-first, which owns the approval scope.
  8. Decisions future readers cannot recover from the code (why this boundary, why this shape, what was rejected) are recorded in an ADR, comment, or commit message.

Read the full file on GitHub · 80 lines

Files

What ships with it

1 file 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 Changed · +1 tokens per session ef3fe86d97b5
  2. 2mo ago Changed · -53 lines 536b4a603a3f
  3. 3mo ago First seen · 133 lines · 17 tokens per session scan A c5fc7fc24ebe

Subscribe to this mod's changes

architecture is a skill published in the GitHub repository kreek/consult (1 stars, last pushed 1mo ago), licensed MIT. It adds 18 tokens to every session and 933 once invoked, about $0.0001 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

architecture compared with skills from other repositories

architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecturekreek/consultSkill11mo agoMITA18Codex
clarifyramboz/jigSkill65d agoMITA153Claude Code
explainramboz/jigSkill65d agoMITA173Claude Code
security-reviewramboz/jigSkill65d agoMITA147Claude Code
pr-reviewramboz/jigSkill65d agoMITA183Claude Code
pandadoc-quote-builderPandaDoc/mcp-server-guideSkill3todayMITA66Claude Code
pandadoc-transcript-proposalPandaDoc/mcp-server-guideSkill3todayMITA83Claude Code