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 Plazmodium/odin-workflow --skill clean-architecturegit clone --depth 1 https://github.com/Plazmodium/odin-workflowWrote 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/plazmodium/odin-workflow/clean-architecture)<a href="https://agentmods.dev/skills/plazmodium/odin-workflow/clean-architecture"><img src="https://agentmods.dev/badge/skills/plazmodium/odin-workflow/clean-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/plazmodium/odin-workflow/clean-architecture"><img src="https://agentmods.dev/badge/skills/plazmodium/odin-workflow/clean-architecture.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.00017 | $0.01025 |
| Opus 5.5 | $0.00007 | $0.00410 |
| Sonnet 5.5 | $0.00003 | $0.00205 |
| Haiku 4.5 | $0.00002 | $0.00103 |
Grade A, and why
clean-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 3mo 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 — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Clean Architecture
Overview
Clean Architecture separates code into concentric layers with the Dependency Rule: source code dependencies always point inward. Business logic never depends on frameworks, databases, or UI.
Layer Structure
src/
├── domain/ # Innermost — entities + business rules
│ ├── entities/
│ │ └── User.ts
│ └── value-objects/
│ └── Email.ts
├── application/ # Use cases — orchestrate domain logic
│ ├── use-cases/
│ │ ├── CreateUser.ts
│ │ └── GetUserById.ts
│ └── ports/ # Interfaces (driven/driving)
│ ├── UserRepository.ts
│ └── EmailService.ts
├── infrastructure/ # Outermost — frameworks, DB, external APIs
│ ├── persistence/
│ │ └── PgUserRepository.ts
│ ├── services/
│ │ └── SendGridEmailService.ts
│ └── web/
│ ├── routes.ts
│ └── controllers/
│ └── UserController.ts
└── main.ts # Composition root — wires everything together
Core Patterns
Entity (Domain Layer)
// Pure business logic — no framework imports
export class User {
constructor(
public readonly id: string,
public readonly email: Email,
public name: string,
private passwordHash: string,
) {}
changeName(newName: string): void {
if (newName.length < 2) throw new DomainError('Name too short');
this.name = newName;
}
verifyPassword(plaintext: string): boolean {
return hashCompare(plaintext, this.passwordHash);
}
}
Use Case (Application Layer)
// Depends only on ports (interfaces), not implementations
export class CreateUser {
constructor(
private userRepo: UserRepository,
private emailService: EmailService,
) {}
async execute(input: { email: string; name: string; password: string }): Promise<User> {
const existing = await this.userRepo.findByEmail(input.email);
if (existing) throw new ConflictError('Email already registered');
const user = User.create(input);
await this.userRepo.save(user);
await this.emailService.sendWelcome(user.email);
return user;
}
}
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.
- 3mo ago First seen · 142 lines · 17 tokens per session scan A a266c67ae511
clean-architecture is a skill published in the GitHub repository Plazmodium/odin-workflow (0 stars, last pushed 6mo ago), licensed MIT. It adds 17 tokens to every session and 1,025 once invoked, about $0.0001 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-01.
clean-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clean-architecturePlazmodium/odin-workflow | Skill | 0 | 6mo ago | MIT | A | 17 | Claude Code, Codex |
| product-image-processorAlpacaLabsLLC/skills-for-architects | Skill | 449 | 5d ago | MIT | A | 45 | Claude Code |
| site-historyAlpacaLabsLLC/skills-for-architects | Skill | 449 | 5d ago | MIT | A | 53 | Claude Code |
| b123d-modelingpzfreo/build123d-mcp | Skill | 171 | 9d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| receiveAlpacaLabsLLC/skills-for-architects | Skill | 449 | 5d ago | MIT | A | 44 | Claude Code |
| csv-to-sifAlpacaLabsLLC/skills-for-architects | Skill | 449 | 5d ago | MIT | A | 38 | Claude Code |
| agreementAlpacaLabsLLC/skills-for-architects | Skill | 449 | 5d ago | MIT | A | 27 | Claude Code |