Borrowing it
Nothing to install: this file belongs to satanyakiv/NutriSport. 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/satanyakiv/NutriSport/main/.claude/agents/clean-arch-reviewer.mdgit clone --depth 1 https://github.com/satanyakiv/NutriSportWrote 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/agents/satanyakiv/nutrisport/clean-arch-reviewer)<a href="https://agentmods.dev/agents/satanyakiv/nutrisport/clean-arch-reviewer"><img src="https://agentmods.dev/badge/agents/satanyakiv/nutrisport/clean-arch-reviewer/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/agents/satanyakiv/nutrisport/clean-arch-reviewer"><img src="https://agentmods.dev/badge/agents/satanyakiv/nutrisport/clean-arch-reviewer.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.00000 | $0.00308 |
| Opus 5 | $0.00000 | $0.00154 |
| Sonnet 5 | $0.00000 | $0.00062 |
| Haiku 4.5 | $0.00000 | $0.00031 |
Grade A, and why
clean-arch-reviewer 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.
What it actually says
Clean Architecture Reviewer
Review all build.gradle.kts files and imports for Clean Architecture violations.
Rules to Check
- Feature modules must only depend on
:domain,:shared:utils, and:shared:ui— NEVER on each other :networkmust NOT depend on:shared:ui:domainmust have ZERO project dependencies (pure domain):shared:utilsmust have ZERO project dependencies:shared:uimust only depend on:domainand:shared:utils- DTOs (
*Dto) must not appear in imports outside:networkmodule - Domain models (no suffix) must not appear in Composable function parameters — use
*Uimodels - Firebase imports must only appear in
:networkmodule - Max 150 lines per file, max 20 lines per function
- ViewModel must NOT be injected inside Screen composable — should be in Route
Process
- Read all
build.gradle.ktsfiles — checkimplementation(project(...))dependencies - Grep for cross-layer import violations
- Grep for DTO/Firebase leaks outside
:network - Check file lengths with
wc -l
Report violations with file paths and line numbers. Group by severity (Critical / Warning).
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.
- 11d ago First seen · 26 lines · 0 tokens per session scan A 25eccbaade28
clean-arch-reviewer is an agent published in the GitHub repository satanyakiv/NutriSport (11 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 308 tokens. 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-30.
Other agents, from other repositories
kotlin-reviewer
Kotlin and Android/KMP code reviewer. Reviews Kotlin code for idiomatic patterns, coroutine safety, Compose best practices, clean architecture violations, and common Android pitfalls.
swift-reviewer
Expert Swift code reviewer specializing in protocol-oriented design, value semantics, ARC memory management, Swift Concurrency, and idiomatic patterns. Use for all Swift code changes. MUST BE USED for Swift projects.
swift-performance-analyzer
Use this agent when the user mentions Swift performance audit, code optimization, or performance review. Automatically scans Swift code for performance anti-patterns - detects unnecessary copies, ARC overhead, unspecialized generics, collection inefficiencies, actor isolation costs, and memory layout issues that cause…
concurrency-auditor
Use this agent when the user mentions concurrency checking, Swift 6 compliance, data race prevention, or async code review. Automatically scans Swift code for Swift 6 strict concurrency violations - detects unsafe Task captures, missing @MainActor, Sendable violations, and actor isolation problems. user: "Can you…
swift-reviewer
Expert Swift code reviewer specializing in protocol-oriented design, value semantics, ARC memory management, Swift Concurrency, and idiomatic patterns. Use for all Swift code changes. MUST BE USED for Swift projects.
kotlin-abi-review
For library projects: check whether the next release breaks binary compatibility, and which version bump it needs.