Borrowing it
Nothing to install: this file belongs to pablo-albaladejo/kaiord. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/pablo-albaladejo/kaiord/main/.claude/skills/guidelines/architecture-hexagonal/SKILL.mdgit clone --depth 1 https://github.com/pablo-albaladejo/kaiordWrote 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/pablo-albaladejo/kaiord/architecture-hexagonal)<a href="https://agentmods.dev/skills/pablo-albaladejo/kaiord/architecture-hexagonal"><img src="https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/architecture-hexagonal/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/pablo-albaladejo/kaiord/architecture-hexagonal"><img src="https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/architecture-hexagonal.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.00068 | $0.01620 |
| Opus 5 | $0.00034 | $0.00810 |
| Sonnet 5 | $0.00014 | $0.00324 |
| Haiku 4.5 | $0.00007 | $0.00162 |
Grade A, and why
architecture-hexagonal 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 9d 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 — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hexagonal Architecture — Kaiord
Layer graph
domain ← ports ← application ← adapters
No rightward imports. Enforced by scripts/check-architecture.mjs pre-commit hook.
Canonical reference: openspec/specs/hexagonal-arch/spec.md.
| Layer | Lives in | Depends on | Rules |
|---|---|---|---|
domain/ |
packages/core/src/domain/ |
nothing | pure TypeScript types + Zod schemas only; no external libs |
ports/ |
packages/core/src/ports/ |
domain only | pure interfaces/type aliases; no runtime code |
application/ |
packages/core/src/application/ |
domain + ports | use cases; no external libs; no adapter imports |
| adapters | packages/<fit|tcx|zwo|garmin>/src/adapters/ |
@kaiord/core only |
MAY use external libs; MUST NOT import other format adapters |
Decision rule for new code:
- Types/Zod schemas →
domain/ - Interfaces →
ports/ - Orchestration →
application/ - I/O or format parsing → adapter package
Package dependency table
Full normative table: openspec/specs/hexagonal-arch/spec.md, Requirement: Package Dependencies.
Summary:
@kaiord/core— no workspace deps (root of the graph)@kaiord/fit,tcx,zwo,garmin—@kaiord/coreonly; never each other@kaiord/garmin-connect—@kaiord/core+@kaiord/garmin@kaiord/ai—@kaiord/coreonly (+aias peer)@kaiord/mcp—@kaiord/core+ all format adapters +@kaiord/garmin-connect@kaiord/cli—@kaiord/core+ all adapters +@kaiord/garmin-connect@kaiord/workout-spa-editor—@kaiord/core,@kaiord/ai,@kaiord/fit,@kaiord/garmin,@kaiord/tcx,@kaiord/zwo@kaiord/garmin-bridge,@kaiord/train2go-bridge— no workspace deps (Chrome extensions)
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.
- 9d ago First seen · 137 lines · 68 tokens per session scan A 817ac7431f83
architecture-hexagonal is a skill published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,620 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-08-31.
Other skills, from other repositories
analytical-table
Use ALWAYS for AnalyticalTable internals — react-table v7 plugin architecture, vendored react-table code at packages/main/src/components/AnalyticalTable/react-table/, tableHooks, AnalyticalTableHooks, useDynamicColumnWidths, useColumnResizing, useRowSelect, useF2CellEdit, useManualRowSelect…
ui5wc-upgrade
Guide a complete UI5 Web Components version upgrade in the ui5-webcomponents-react monorepo. Updates root and peer dependencies, regenerates wrapper components, syncs theming parameters, updates version-info, detects new components and breaking changes, and verifies the build. Use when a new @ui5/webcomponents version…
typescript-expert
TypeScript expert for type system, generics, utility types, and strict mode patterns.
openagentskill-registry
Discover, compare, audit, and safely install reusable AI Agent Skills with OpenAgentSkill. Use whenever an agent needs a capability it does not already have, must compare Skill alternatives, or needs evidence before installing third-party instructions.
cli-commands
MUST use when using the CLI, including debugging job failures and inspecting run history via wmill job.
write-script-bun
MUST use when writing TypeScript scripts. Bun is the default and preferred TypeScript runtime — pick it for TypeScript unless the script specifically needs Deno.