archi-design-patterns

archi-design-patterns is a skill for Claude Code, Codex from JiuNian3219/architext. It costs 26 tokens per session (1,595 once invoked), scanned A, original, MIT.

A library of reusable patterns for describing technical system designs. A design pattern is a known way to organize a recurring software mechanism.

In plain words
What is it for?
It helps choose patterns such as state machines or processing pipelines and format the core mechanisms section of a technical design.
Why use it?
It helps match system behavior to a suitable design structure instead of describing each mechanism from scratch. It also provides standard formats and self-checks.

Skill for Claude CodeCodex

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

Good fit It helps choose patterns such as state machines or processing pipelines and format the core mechanisms section of a technical design.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiunian3219/architext/archi-design-patterns
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 JiuNian3219/architext --skill archi-design-patterns
Clone the repo
git clone --depth 1 https://github.com/JiuNian3219/architext

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 archi-design-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiunian3219/architext/archi-design-patterns/github.svg)](https://agentmods.dev/skills/jiunian3219/architext/archi-design-patterns)
Your own site
<a href="https://agentmods.dev/skills/jiunian3219/architext/archi-design-patterns"><img src="https://agentmods.dev/badge/skills/jiunian3219/architext/archi-design-patterns/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 archi-design-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiunian3219/architext/archi-design-patterns"><img src="https://agentmods.dev/badge/skills/jiunian3219/architext/archi-design-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,595 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.00026 $0.01595
Opus 5 $0.00013 $0.00797
Sonnet 5 $0.00005 $0.00319
Haiku 4.5 $0.00003 $0.00160

Measured 10d ago against content hash 15b022cd36d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

archi-design-patterns 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 10d 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.

templates/en/skills/archi-design-patterns/SKILL.md · 152 lines

How it starts

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

Invocation

  • Auto-invoke: No, not triggered by model based on description.
  • Trigger location: Only explicitly called at corresponding step in /archi.* protocols.
  • Execution context: Can execute inline in current context; when involving user questions must return to main dialogue.
  • Boundary: Only assist generating options, interview questions or structured fragments, does not advance protocol steps independently.

Technical Design Structured Pattern Library

System Flow Positioning

/archi.plan step_4_generate → design.md § 2
    ↓
[This Skill] Pattern selection → Format generation → Self-check
    ↓
design.md § 2 Core Mechanisms content

Skill's Responsibility Boundary:

  • Responsible for: Pattern selection guide, Standard format per pattern, Self-check list
  • Not responsible for: design.md overall structure (see design.template.md), Parameters/Invariants/Failure modes (see template §§ 3-5)

Pattern Selection Guide

Select ≥1 pattern based on mechanism characteristics. Same function can combine multiple (e.g. Connection management uses State Machine + Message processing uses Pipeline).

Mechanism Characteristic Recommended Pattern Typical Scenario
Has discrete state set and inter-state transitions State Machine Connection management, Workflow engine, Component lifecycle, Auth flow
Data/request passes through ordered processing steps Pipeline Message decode chain, Middleware stack, Data transform pipeline, Request interceptor
Behavior depends on multiple condition combinations Decision Matrix Permission decision, Policy routing, Degradation rules, Feature flags
Two or more components have defined message exchange Protocol Client-server communication, Inter-process IPC, Event bus, Worker message

Execution Flow: Select pattern → Fill corresponding standard format → Immediately execute self-check → Has unpassed items must fix then re-check → All pass before entering next mechanism.

Read the full file on GitHub · 152 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. 10d ago First seen · 152 lines · 26 tokens per session scan A 15b022cd36d3

Subscribe to this mod's changes

archi-design-patterns is a skill published in the GitHub repository JiuNian3219/architext (14 stars, last pushed 3mo ago), licensed MIT. It adds 26 tokens to every session and 1,595 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-30.