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 pantheon-org/tekhne --skill clean-architecturegit clone --depth 1 https://github.com/pantheon-org/tekhneWrote 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/pantheon-org/tekhne/clean-architecture)<a href="https://agentmods.dev/skills/pantheon-org/tekhne/clean-architecture"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/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/pantheon-org/tekhne/clean-architecture"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/clean-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.00062 | $0.01742 |
| Opus 5 | $0.00031 | $0.00871 |
| Sonnet 5 | $0.00012 | $0.00348 |
| Haiku 4.5 | $0.00006 | $0.00174 |
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 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 — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Clean Architecture
Strategic architecture principles for boundaries, dependencies, and layered system design.
When to Use
- Designing service boundaries or module structure
- Evaluating dependency direction and circular dependencies
- Structuring new applications or refactoring monoliths
- Assessing where to place entities, use cases, adapters, and frameworks
- Deciding when to introduce architectural boundaries
When Not to Use
- Class-level design decisions (use solid-principles)
- Choosing structural patterns like Factory or Adapter (use design-patterns)
- Testing strategy configuration (use testable-design)
Architecture Layers
Dependency Rule: Dependencies point inward only. Inner layers know nothing about outer layers.
Layers (inner → outer): Entities → Use Cases → Interface Adapters → Frameworks & Drivers
See references/dep-inward-only.md for layer definitions and examples.
Workflow
Step 1: Identify Decision Type
Output: Classify as entity, use case, adapter, or framework decision.
Ask:
- Does this logic belong to core business rules? → Entity
- Does it orchestrate business workflows? → Use Case
- Does it translate between layers? → Adapter
- Is it external infrastructure? → Framework
Step 2: Apply Dependency Direction Checks
Output: Dependency violations with corrective actions.
Checklist:
- Dependencies point inward (no outer layers importing inner layers)
- No circular dependencies between modules
- Clear ownership of interfaces (defined by inner layers, implemented by outer layers)
- Entities remain pure (no framework or infrastructure imports)
Example:
Violation: Entity imports ORM decorator from infrastructure.
Refactor: Define entity as plain object; map to ORM in repository (adapter layer).
Step 3: Design Use Cases
Output: Use case interface with input/output ports.
Template:
// Use Case (application layer)
interface CreateOrderUseCase {
execute(input: CreateOrderInput): Promise<CreateOrderOutput>
}
// Input/Output ports (defined by use case)
interface CreateOrderInput {
userId: string
items: OrderItem[]
}
interface CreateOrderOutput {
orderId: string
status: string
}
What ships with it
38 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.
- .audits/2026-03-04/analysis.md 1.1 KB
- .audits/2026-03-04/audit.json 481 B
- .audits/2026-03-04/remediation-plan.md 3.5 KB
- .audits/latest 10 B
- evals/scenario-01.md 3.3 KB
- evals/scenario-02.md 3.1 KB
- evals/scenario-03.md 3.2 KB
- evals/scenario-04.md 3.1 KB
- evals/scenario-05.md 3.2 KB
- references/adapt-controller-thin.md 3.2 KB
- references/adapt-gateway-abstraction.md 3.4 KB
- references/adapt-mapper-translation.md 2.7 KB
- references/adapt-presenter-formats.md 3.4 KB
- references/bound-boundary-cost-awareness.md 3.1 KB
- references/bound-defer-decisions.md 3.0 KB
- references/bound-service-internal-architecture.md 5.7 KB
- references/comp-common-reuse.md 2.1 KB
- references/comp-screaming-architecture.md 2.2 KB
- references/comp-stable-dependencies.md 3.5 KB
- references/dep-acyclic-dependencies.md 2.3 KB
- references/dep-data-crossing-boundaries.md 1.9 KB
- references/dep-inward-only.md 2.0 KB
- references/dep-no-framework-imports.md 2.1 KB
- references/entity-encapsulate-invariants.md 2.8 KB
- references/entity-no-persistence-awareness.md 2.5 KB
- references/entity-pure-business-rules.md 1.9 KB
- references/entity-rich-not-anemic.md 3.2 KB
- references/entity-value-objects.md 2.4 KB
- references/frame-di-container-edge.md 3.0 KB
- references/frame-domain-purity.md 3.5 KB
- references/frame-orm-in-infrastructure.md 3.1 KB
- references/frame-web-in-infrastructure.md 3.5 KB
- references/usecase-explicit-dependencies.md 3.2 KB
- references/usecase-input-output-ports.md 2.7 KB
- references/usecase-no-presentation-logic.md 3.1 KB
- references/usecase-orchestrates-not-implements.md 2.9 KB
- references/usecase-single-responsibility.md 3.0 KB
- references/usecase-transaction-boundary.md 2.6 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.
- 9d ago First seen · 216 lines · 62 tokens per session scan A 10b4c92cc58f
clean-architecture is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 1,742 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-09-03.
Other skills, from other repositories
build-mcp-server
This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to Claude", "make an MCP app", or discusses building something with the Model Context Protocol. It is the entry point for MCP server development — it interrogates…
data-manager-api-setup
Guides developers through client library installation and authentication setup steps for the Data Manager API. Use this skill when a user is getting started with the Data Manager API and needs to setup their local environment, install the client library, or setup access to the API. Don't use for implementing audience…
workers-best-practices
Cloudflare Workers best practices for production applications. Use when writing, reviewing, or configuring Workers.
new
Create a new project to start development quickly.
skd-edit
A focused editor for 1C data composition schemas, the report definitions that describe queries, fields, filters, totals, and parameters. It changes an existing Template.xml file through specific operations.
skd-info
A structure reader for 1C data composition schemas, the report definitions that contain queries, fields, parameters, and display variants. It gives a compact summary instead of requiring you to read the raw XML.