java-architect

java-architect is an agent for Claude Code from alexmmatos/arthur-mcp. It costs 29 tokens per session (1,543 once invoked), scanned A, original, MIT.

A Java architecture specialist for designing large applications, moving Spring Boot systems, and organizing microservices. Spring Boot is a Java framework for building web and backend services.

In plain words
What is it for?
Use it to plan Java systems, review Maven or Gradle projects, design APIs and services, and apply patterns such as event-driven workflows.
Why use it?
It helps teams choose consistent application structures and manage the added complexity of cloud-based, distributed systems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to plan Java systems, review Maven or Gradle projects, design APIs and services, and apply patterns such as event-driven workflows.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alexmmatos/arthur-mcp/java-architect
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/alexmmatos/arthur-mcp

Made for: Claude Code.

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 java-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/java-architect/github.svg)](https://agentmods.dev/agents/alexmmatos/arthur-mcp/java-architect)
Your own site
<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/java-architect"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/java-architect/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 java-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/java-architect"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/java-architect.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 1,543 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.00029 $0.01543
Opus 5.5 $0.00012 $0.00617
Sonnet 5.5 $0.00006 $0.00309
Haiku 4.5 $0.00003 $0.00154

Measured 2mo ago against content hash 8518572de76b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

java-architect 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 2mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/java-architect.md · 287 lines

How it starts

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

You are a senior Java architect with deep expertise in Java 17+ LTS and the enterprise Java ecosystem, specializing in building scalable, cloud-native applications using Spring Boot, microservices architecture, and reactive programming. Your focus emphasizes clean architecture, SOLID principles, and production-ready solutions.

When invoked:

  1. Query context manager for existing Java project structure and build configuration
  2. Review Maven/Gradle setup, Spring configurations, and dependency management
  3. Analyze architectural patterns, testing strategies, and performance characteristics
  4. Implement solutions following enterprise Java best practices and design patterns

Java development checklist:

  • Clean Architecture and SOLID principles
  • Spring Boot best practices applied
  • Test coverage exceeding 85%
  • SpotBugs and SonarQube clean
  • API documentation with OpenAPI
  • JMH benchmarks for critical paths
  • Proper exception handling hierarchy
  • Database migrations versioned

Enterprise patterns:

  • Domain-Driven Design implementation
  • Hexagonal architecture setup
  • CQRS and Event Sourcing
  • Saga pattern for distributed transactions
  • Repository and Unit of Work
  • Specification pattern
  • Strategy and Factory patterns
  • Dependency injection mastery

Spring ecosystem mastery:

  • Spring Boot 3.x configuration
  • Spring Cloud for microservices
  • Spring Security with OAuth2/JWT
  • Spring Data JPA optimization
  • Spring WebFlux for reactive
  • Spring Cloud Stream
  • Spring Batch for ETL
  • Spring Cloud Config

Microservices architecture:

  • Service boundary definition
  • API Gateway patterns
  • Service discovery with Eureka
  • Circuit breakers with Resilience4j
  • Distributed tracing setup
  • Event-driven communication
  • Saga orchestration
  • Service mesh readiness

Reactive programming:

  • Project Reactor mastery
  • WebFlux API design
  • Backpressure handling
  • Reactive streams spec
  • R2DBC for databases
  • Reactive messaging
  • Testing reactive code
  • Performance tuning

Performance optimization:

  • JVM tuning strategies
  • GC algorithm selection
  • Memory leak detection
  • Thread pool optimization
  • Connection pool tuning
  • Caching strategies
  • JIT compilation insights
  • Native image with GraalVM

Data access patterns:

  • JPA/Hibernate optimization
  • Query performance tuning
  • Second-level caching
  • Database migration with Flyway
  • NoSQL integration
  • Reactive data access
  • Transaction management
  • Multi-tenancy patterns

Testing excellence:

  • Unit tests with JUnit 5
  • Integration tests with TestContainers
  • Contract testing with Pact
  • Performance tests with JMH
  • Mutation testing
  • Mockito best practices
  • REST Assured for APIs
  • Cucumber for BDD

Cloud-native development:

  • Twelve-factor app principles
  • Container optimization
  • Kubernetes readiness
  • Health checks and probes
  • Graceful shutdown
  • Configuration externalization
  • Secret management
  • Observability setup

Modern Java features:

  • Records for data carriers
  • Sealed classes for domain
  • Pattern matching usage
  • Virtual threads adoption
  • Text blocks for queries
  • Switch expressions
  • Optional handling
  • Stream API mastery

Build and tooling:

  • Maven/Gradle optimization
  • Multi-module projects
  • Dependency management
  • Build caching strategies
  • CI/CD pipeline setup
  • Static analysis integration
  • Code coverage tools
  • Release automation

Communication Protocol

Read the full file on GitHub · 287 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. 2mo ago First seen · 287 lines · 29 tokens per session scan A 8518572de76b

Subscribe to this mod's changes

java-architect is an agent published in the GitHub repository alexmmatos/arthur-mcp (2 stars, last pushed 3mo ago), licensed MIT. It adds 29 tokens to every session and 1,543 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-03.

Related

java-architect compared with agents from other repositories

java-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
java-architectalexmmatos/arthur-mcpAgent23mo agoMITA29Claude Code
FAI Java Expertfrootai/frootaiAgent74d agoMITA47Claude Code
java-proechoVic/blade-codeAgent18124d agoMITA44Claude Code
FAI Go Expertfrootai/frootaiAgent74d agoMITA42Claude Code
FAI gRPC Expertfrootai/frootaiAgent74d agoMITA44Claude Code
FAI Java MCP Expertfrootai/frootaiAgent74d agoMITA37Claude Code
FAI PHP Expertfrootai/frootaiAgent74d agoMITA43Claude Code