architecture-designer

architecture-designer is a skill for Claude Code, Codex from lfyxhappy/lfcode. It costs 54 tokens per session (295 once invoked), scanned A, original, MIT.

A system-architecture design guide for mapping components, data flow, dependencies, boundaries, and failure handling before implementation. It compares a small number of designs against practical constraints and explains the trade-offs.

In plain words
What is it for?
It helps design or revise integrations, component boundaries, storage, interfaces, deployment arrangements, and recovery paths.
Why use it?
It reduces premature refactoring and exposes ownership, compatibility, migration, rollback, privacy, and operational concerns early. It keeps proposed changes tied to evidence and verification.

Skill for Claude CodeCodex

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

Good fit It helps design or revise integrations, component boundaries, storage, interfaces, deployment arrangements, and recovery paths.

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

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 architecture-designer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lfyxhappy/lfcode/architecture-designer"><img src="https://agentmods.dev/badge/skills/lfyxhappy/lfcode/architecture-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 295 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.00054 $0.00295
Opus 5 $0.00027 $0.00148
Sonnet 5 $0.00011 $0.00059
Haiku 4.5 $0.00005 $0.00030

Measured 3d ago against content hash 8e8713d70408, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

architecture-designer 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 3d 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.

packages/lfcode/src/skill/lfcode/.bundle/architecture-designer/SKILL.md · 27 lines

What it actually says

Architecture Designer

Design the smallest coherent system change that satisfies the stated outcome and operational constraints.

Workflow

  1. Map existing entrypoints, components, dependencies, storage, interfaces, failure modes, and deployment boundaries.
  2. State the functional and non-functional constraints that matter, including latency, availability, privacy, compatibility, ownership, and observability.
  3. Compare a small number of viable designs against those constraints. Identify data ownership, trust boundaries, API contracts, lifecycle, and failure recovery for each.
  4. Select or recommend a design with explicit tradeoffs, migration steps, rollback conditions, and compatibility impact.
  5. Derive implementation slices and verification evidence from the selected design before changing code.

Boundaries

  • Do not turn a design request into a broad refactor without evidence that the existing shape cannot meet the requirement.
  • Do not claim capacity, security, or reliability properties without measurements, tests, or clearly labeled assumptions.
  • Do not implement production changes, create infrastructure, or contact external systems unless the user requests it.

Completion Check

Report the selected design, rejected alternatives, affected boundaries, risks, migration or rollback path, and validation plan.

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. 3d ago First seen · 27 lines · 54 tokens per session scan A 8e8713d70408

Subscribe to this mod's changes

architecture-designer is a skill published in the GitHub repository lfyxhappy/lfcode (2 stars, last pushed 6d ago), licensed MIT. It adds 54 tokens to every session and 295 once invoked, about $0.0003 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-09-05.

Related

Other skills, from other repositories