architecture-boundaries-lens

architecture-boundaries-lens is an agent for Claude Code from SebastienDegodez/skraft-plugin. It costs 29 tokens per session (771 once invoked), scanned A, original, GPL-3.0.

A code-review checklist for checking Clean Architecture boundaries, where dependencies point from higher-level policies to lower-level details. It also checks that the Domain and Application layers do not use mocks and that Domain code follows Object Calisthenics, a set of rules for keeping object-oriented code small and clear.

In plain words
What is it for?
Use it to review architecture boundaries, inspect dependencies between layers, and check Domain code for the stated rules.
Why use it?
It helps catch design rule violations that can make business logic depend on infrastructure or become harder to change.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Part of the skraft plugin — 43 skills, 20 agents, 5 hooks shipped together

Good fit Use it to review architecture boundaries, inspect dependencies between layers, and check Domain code for the stated rules.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sebastiendegodez/skraft-plugin/architecture-boundaries-lens
Install

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.

Clone the repo
git clone --depth 1 https://github.com/SebastienDegodez/skraft-plugin

Made for: Claude Code.

Or install skraft, the plugin that ships this one along with the rest of its 43 skills, 20 agents, 5 hooks.

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 architecture-boundaries-lens

README.md
[![agentmods](https://agentmods.dev/badge/agents/sebastiendegodez/skraft-plugin/architecture-boundaries-lens/github.svg)](https://agentmods.dev/agents/sebastiendegodez/skraft-plugin/architecture-boundaries-lens)
Your own site
<a href="https://agentmods.dev/agents/sebastiendegodez/skraft-plugin/architecture-boundaries-lens"><img src="https://agentmods.dev/badge/agents/sebastiendegodez/skraft-plugin/architecture-boundaries-lens/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 architecture-boundaries-lens

Your own site · 80×15
<a href="https://agentmods.dev/agents/sebastiendegodez/skraft-plugin/architecture-boundaries-lens"><img src="https://agentmods.dev/badge/agents/sebastiendegodez/skraft-plugin/architecture-boundaries-lens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 771 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 unknown 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.00029 $0.00771
Opus 5.5 $0.00012 $0.00308
Sonnet 5.5 $0.00006 $0.00154
Haiku 4.5 $0.00003 $0.00077

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

Security

Grade A, and why

architecture-boundaries-lens 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.

plugins/skraft-framework/com.anthropic.claude-code/agents/architecture-boundaries-lens.md · 94 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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 Changed 4f150a5372ec
  2. 16d ago Changed · +6 lines afff51a493b7
  3. 23d ago First seen · 88 lines · 29 tokens per session scan A 188bf729c33d

Subscribe to this mod's changes

architecture-boundaries-lens is an agent published in the GitHub repository SebastienDegodez/skraft-plugin (12 stars, last pushed today), licensed GPL-3.0. It adds 29 tokens to every session and 771 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-26.

Related

Other agents, from other repositories

swift-reviewer

Independent verifier for Swift/iOS changes. Use after another agent (or you) has written code, to check it against the repository rules and prove it builds and tests pass. Runs builds and tests and returns their real output. Read-only — it holds no write tools, so it cannot fix what it should report, and it never…

Nagarjuna2997/ios-agent-skill · 76 tokens

security-reviewer

Read-only security reviewer. Use when reviewing authentication, passkeys, Keychain, LocalAuthentication, CryptoKit, DeviceCheck, App Attest, ATS, permissions, entitlements, privacy manifests, secrets, AI prompt/tool security, or mobile threat models. Reports findings and does not edit code.

Nagarjuna2997/ios-agent-skill · 63 tokens

swiftui-expert

Read-only SwiftUI expert. Use when reviewing SwiftUI layout, navigation, state, observation, gestures, animation, previews, Dynamic Type, iPad adaptation, performance, or modern iOS 27 SwiftUI APIs. Reports recommendations and does not edit code.

Nagarjuna2997/ios-agent-skill · 57 tokens

reviewer

Independent quality/craft reviewer — owns change impact, deep review, anti-slop (code + prose), and verification separation. Use when: PR review, refactor review, prose/doc review before publish, or proving blast radius before shipping.

ulises-jeremias/agent-toolkit · 51 tokens

code-reviewer

Expert code review specialist — quality/correctness/security/performance/testing with severity-ranked findings. Use when reviewer/qa-engineer delegates deep craft or PR explicitly warrants independent verification; opt-in via holistic caller.

ulises-jeremias/agent-toolkit · 45 tokens

security-reviewer

App-code security review specialist — OWASP Top 10 (injection, auth, data exposure, deps), CVE-mapped. Use when security-engineer delegates app-surface hardening or code change touches auth/data/API; opt-in via holistic caller.

ulises-jeremias/agent-toolkit · 56 tokens