zyrax-guard: Skill for Claude Code

.agents/skills/clean-architecture/SKILL.md

clean-architecture is a skill for Claude Code, Codex from tiagosilva07/zyrax-guard. It costs 83 tokens per session (723 once invoked), scanned A, original, MIT.

A set of design principles for keeping an application's responsibilities separate and its dependencies limited. It recommends clear boundaries between web handling, business rules, and data access.

In plain words
What is it for?
Use it when designing modules, deciding where logic belongs, reviewing structure, refactoring, or untangling a codebase with too many dependencies.
Why use it?
It reduces the chance that changing a database, framework, or one feature will cause unrelated parts of the code to break.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is tiagosilva07/zyrax-guard's own configuration. It tells Claude Code and Codex how to work on zyrax-guard itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything zyrax-guard configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tiagosilva07/zyrax-guard. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tiagosilva07/zyrax-guard/main/.agents/skills/clean-architecture/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tiagosilva07/zyrax-guard

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for clean-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiagosilva07/zyrax-guard/clean-architecture/github.svg)](https://agentmods.dev/skills/tiagosilva07/zyrax-guard/clean-architecture)
Your own site
<a href="https://agentmods.dev/skills/tiagosilva07/zyrax-guard/clean-architecture"><img src="https://agentmods.dev/badge/skills/tiagosilva07/zyrax-guard/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.

agentmods 80×15 button for clean-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiagosilva07/zyrax-guard/clean-architecture"><img src="https://agentmods.dev/badge/skills/tiagosilva07/zyrax-guard/clean-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 723 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.00723
Opus 5 $0.00042 $0.00362
Sonnet 5 $0.00017 $0.00145
Haiku 4.5 $0.00008 $0.00072

Measured 11d ago against content hash ec1fad015165, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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 11d 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.

.agents/skills/clean-architecture/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Clean architecture (applied, not dogmatic)

The goal is code that's easy to change safely. Use these principles as a lens, not a religion — apply the ones that reduce real coupling, skip ceremony that doesn't.

Core principles

  1. Separate concerns by responsibility. Transport (HTTP/handlers), business logic (services/use-cases), and data access (repositories) are three different jobs. Keep them in different units so a change to one doesn't ripple into the others.
  2. Depend inward, on abstractions. Business logic should not import the database driver or the web framework. Define interfaces it needs; let the outer layers implement them. Dependencies point toward the domain, never out of it.
  3. High cohesion, low coupling. Things that change together live together; things that don't, don't. A package/module should have one clear reason to exist.
  4. No leaky boundaries. Don't pass framework types (HTTP requests, ORM entities) into business logic. Translate at the edge.
  5. Single source of truth. One place for each piece of logic. Duplication is a bug waiting to diverge.

When structuring or refactoring, check:

  • Can I describe each unit's single responsibility in one sentence? If not, split it.
  • Does business logic depend on a concrete framework/DB? Invert it behind an interface.
  • Is the same logic in more than one place? Consolidate.
  • Could I swap the database or the web layer without touching business rules? That's the test for whether boundaries are clean.
  • Am I adding a layer that doesn't pull its weight? Remove it. Simplicity wins.

Stack-specific shape

Go

/cmd            entrypoints
/internal
  /transport    http handlers, routing, request/response mapping
  /service      business logic, depends on repo interfaces
  /repository   data access, implements interfaces
  /domain       core types, no external imports

Define repository interfaces in the service layer (consumer side), implement them in /repository. Wrap errors with context as they cross boundaries.

Read the full file on GitHub · 71 lines

Changes

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.

  1. 11d ago First seen · 71 lines · 83 tokens per session scan A ec1fad015165

Subscribe to this mod's changes

clean-architecture is a skill published in the GitHub repository tiagosilva07/zyrax-guard (2 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 723 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens

voiden

Create and edit Voiden .void files for API testing. Covers the .void file format and all enabled extension block types.

VoidenHQ/voiden · 28 tokens

lap

LAP CLI -- compile, search, and manage API specs for AI agents. Use when working with API specifications (OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman), compiling specs to LAP format, searching the LAP registry, generating skills from API specs, or publishing APIs. Commands: init, compile, search, get, skill…

Lap-Platform/LAP · 89 tokens

scaffold-project

Scaffold a new app, API, backend, fullstack project, mobile app, polyglot service, monorepo, or starter with Better Fullstack. Use when the user wants to create, start, bootstrap, initialize, or generate a project from a stack description. Prefer the bundled Better Fullstack MCP server: guidance, schema…

Marve10s/Better-Fullstack · 80 tokens

migrate-k2-nintex

Assess and migrate K2 / Nintex K2 applications to Mendix — SmartObjects to domain models, SmartForms to pages, K2 workflows to microflows and Mendix workflows. Use when analysing or converting a K2 application.

mendixlabs/mxcli · 55 tokens