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 PackmindHub/packmind --skill hexagonal-architecturegit clone --depth 1 https://github.com/PackmindHub/packmindWrote 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/packmindhub/packmind/hexagonal-architecture)<a href="https://agentmods.dev/skills/packmindhub/packmind/hexagonal-architecture"><img src="https://agentmods.dev/badge/skills/packmindhub/packmind/hexagonal-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.
<a href="https://agentmods.dev/skills/packmindhub/packmind/hexagonal-architecture"><img src="https://agentmods.dev/badge/skills/packmindhub/packmind/hexagonal-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00070 | $0.02276 |
| Opus 5.5 | $0.00028 | $0.00910 |
| Sonnet 5.5 | $0.00014 | $0.00455 |
| Haiku 4.5 | $0.00007 | $0.00228 |
Grade A, and why
hexagonal-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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hexagonal Architecture - Packmind Monorepo
Architecture Map
Every domain package follows a three-layer hexagonal (ports & adapters) architecture. Dependencies flow inward only: Infrastructure -> Application -> Domain.
packages/{domain}/src/
├── domain/ # Pure business logic, zero dependencies
│ ├── entities/ # Domain entities and value objects
│ ├── repositories/ # Repository interfaces (ports)
│ ├── jobs/ # Delayed job definitions
│ ├── errors/ # Domain-specific error classes
│ ├── utils/ # Domain-specific utility functions
│ └── types/ # Domain-specific type definitions
│
├── application/ # Orchestration & coordination
│ ├── useCases/{name}/ # One folder per use case
│ │ └── {name}.usecase.ts
│ ├── services/ # Domain services + service aggregator
│ ├── adapter/ # Outbound adapter (implements port)
│ ├── listeners/ # Domain event listeners
│ └── jobs/ # Delayed job implementations
│
├── infra/ # Concrete implementations
│ ├── repositories/ # Repository implementations (TypeORM)
│ ├── schemas/ # TypeORM EntitySchema definitions
│ └── jobs/ # Job factories
│
└── index.ts # Package exports + {Domain}Hexa facade
Layer Details
| Layer | Depends On | Purpose | Details |
|---|---|---|---|
| Domain | Nothing (pure TS + @packmind/types) |
Business rules, entity definitions, port interfaces | domain-layer.md |
| Application | Domain | Use case orchestration, services, adapters, events | application-layer.md |
| Infrastructure | Domain + Application | Persistence, schemas, job queues | infrastructure-layer.md |
What ships with it
13 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.
- components/adapter.md 3.7 KB
- components/contract.md 2.1 KB
- components/event.md 2.3 KB
- components/hexa-facade.md 4.3 KB
- components/listener.md 3.3 KB
- components/port.md 2.7 KB
- components/repository.md 3.9 KB
- components/schema.md 2.4 KB
- components/service.md 2.8 KB
- components/usecase.md 6.5 KB
- layers/application-layer.md 2.5 KB
- layers/domain-layer.md 5.2 KB
- layers/infrastructure-layer.md 2.1 KB
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.
- 2mo ago Changed · +21 lines 53c53955d87b
- 2mo ago Changed · +31 lines · +18 tokens per session c4fab0ed031f
- 3mo ago First seen · 113 lines · 52 tokens per session scan A 3975384cc6c8
hexagonal-architecture is a skill published in the GitHub repository PackmindHub/packmind (327 stars, last pushed 25d ago), licensed Apache-2.0. It adds 70 tokens to every session and 2,276 once invoked, about $0.0003 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-09-03.
hexagonal-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hexagonal-architecturePackmindHub/packmind | Skill | 327 | 25d ago | Apache-2.0 | A | 70 | Claude Code, Codex |
| ce-compoundelleryfamilia/loadout | Skill | 33 | 7d ago | MIT | A | 32 | Claude Code |
| ce-workelleryfamilia/loadout | Skill | 33 | 7d ago | MIT | A | 40 | Claude Code |
| loadout-import-workflowelleryfamilia/loadout | Skill | 33 | 7d ago | MIT | A | 106 | Claude Code |
| ce-commit-push-prelleryfamilia/loadout | Skill | 33 | 7d ago | MIT | A | 42 | Claude Code |
| loadout-migrateelleryfamilia/loadout | Skill | 33 | 7d ago | MIT | A | 64 | Claude Code |
| loadout-rememberelleryfamilia/loadout | Skill | 33 | 7d ago | MIT | A | 93 | Claude Code |