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.
npx skills add joao-aires/agent-skills-public --skill architecture-patternsgit clone --depth 1 https://github.com/joao-aires/agent-skills-publicWrote 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.
[](https://agentmods.dev/skills/joao-aires/agent-skills-public/architecture-patterns)<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/architecture-patterns"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/architecture-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.
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/architecture-patterns"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/architecture-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00122 | $0.02691 |
| Opus 5.5 | $0.00049 | $0.01076 |
| Sonnet 5.5 | $0.00024 | $0.00538 |
| Haiku 4.5 | $0.00012 | $0.00269 |
Grade A, and why
architecture-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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Select patterns from forces, not familiarity
An architecture pattern is a reusable answer to recurring forces. The name is shorthand for a set of boundaries, dependencies and operational obligations; it is not evidence that those obligations fit this system. Pattern selection is the work of matching candidate structures to accepted constraints and naming what each one costs.
This skill owns the pattern vocabulary, fit conditions, tradeoffs, operational consequences and the shape of a migration. It does not own the architecture decision: design-system establishes constraints, compares options, selects boundaries and records the decision. backend-design owns service behavior, authority, transactions and recovery inside those boundaries. event-driven-design owns event and message contracts, including how a projection consumes and evolves them. distributed-systems owns cross-service consistency, failure and capacity reasoning. Use this skill to supply and test candidates inside those activities; it does not authorize a pattern.
Pattern-first design reverses the burden of proof: it chooses a familiar name and then invents requirements that justify it. Start with the forces. A pattern that answers no force is decoration, and a pattern whose operational cost exceeds the force it answers is a liability.
Establish the forces
Read the accepted outcome, current system evidence and operating constraints before naming a candidate. Distinguish measured facts from estimates.
| Force | What to establish |
|---|---|
| Ownership and team topology | Which capability and data one team owns, and whether it must deploy and operate independently. |
| Transaction boundaries | Which state changes must commit together, and which may complete later. |
| Consistency | What a read may see after a write, and how much staleness the journey permits. |
| Change cadence | Which parts change or deploy on different schedules, and which must stay in lockstep. |
| Load and latency | Which parts scale independently, and what the end-to-end budget is. |
| Operational capacity | Who runs the system, with what platform, observability, on-call and recovery skills. |
| Cost | The cost curve at expected and peak load, including idle time and recovery capacity. |
| Migration risk | What must remain compatible, and which changes are expensive or impossible to reverse. |
What ships with it
2 files 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.
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.
- today Changed · +8 lines · +27 tokens per session b3dec88fb315
- 11d ago Changed · -3 lines 4ea79800fc9f
- 12d ago Changed c13e4449e9d3
- 16d ago Changed 1948dc5e98bd
- 19d ago First seen · 111 lines · 95 tokens per session scan A fd6a7c77ea34
architecture-patterns is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 122 tokens to every session and 2,691 once invoked, about $0.0005 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-11-17.
architecture-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architecture-patternsjoao-aires/agent-skills-public | Skill | 2 | yesterday | MIT | A | 122 | Claude Code |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.4k | yesterday | Apache-2.0 | A | 92 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | 2d ago | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.3k | 2d ago | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 709 | 4d ago | MIT | A | 105 | Claude Code, Codex |