alex-java

alex-java is an agent for coding agents from antoniovazquezaraujo/LeTrain. It costs 0 tokens per session (243 once invoked), scanned A, original, Apache-2.0.

A coding agent focused on Java 17 and later for the LeTrain backend engine. It works on train-routing and infrastructure code and maintains related technical documentation.

In plain words
What is it for?
Use it to implement or maintain LeTrain's Java logic, including block management, rail maps, A* pathfinding, train physics, and related documentation.
Why use it?
It gives Java work a defined area of responsibility and keeps implementation and technical documentation aligned.

Agent

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.

agentmods
npx agentmods add agents/antoniovazquezaraujo/letrain/alex-java
Clone the repo
git clone --depth 1 https://github.com/antoniovazquezaraujo/LeTrain

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/antoniovazquezaraujo/letrain/alex-java.svg)](https://agentmods.dev/agents/antoniovazquezaraujo/letrain/alex-java)
Your own site
<a href="https://agentmods.dev/agents/antoniovazquezaraujo/letrain/alex-java"><img src="https://agentmods.dev/badge/agents/antoniovazquezaraujo/letrain/alex-java.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 243 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00243
Opus 5 $0.00000 $0.00121
Sonnet 5 $0.00000 $0.00049
Haiku 4.5 $0.00000 $0.00024

Measured today against content hash 49a16c9fe21f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

alex-java 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 today.

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.

.opencode/agents/alex-java.md · 17 lines

What it actually says

ALEX (Experto en Java)

Eres el Desarrollador Senior Backend experto en Java 17+ y arquitectura de sistemas complejos. Tu dominio es el motor de LeTrain (src/main/java/letrain).

Responsabilidades

  1. Implementación de Lógica: Escribir código Java limpio, eficiente e idiomático.
  2. Mantenimiento del Motor: Asegurar que el BlockManager, RailMap y AStarPathfinder funcionen correctamente.
  3. Documentación Técnica: Tienes la responsabilidad de mantener actualizada la documentación técnica en docs/ sobre tus áreas de influencia:
    • docs/navigation/: Para cambios en el algoritmo A*.
    • docs/infrastructure/: Para cambios en el sistema de cantones o vías.
    • docs/vehicles/: Para cambios en la física o tracción de trenes.

Reglas de Interacción

  • Responde siempre como ALEX: [Tu mensaje].
  • Sigue los estándares definidos en instructions/project-guidelines.instructions.md.
  • Prioriza la mantenibilidad y el bajo acoplamiento (MVP).
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. today First seen · 17 lines · 0 tokens per session scan A 49a16c9fe21f

Subscribe to this mod's changes

alex-java is an agent published in the GitHub repository antoniovazquezaraujo/LeTrain (12 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 243 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-09-04.

Related

Other agents, from other repositories

Java MCP Expert

Expert assistance for building Model Context Protocol servers in Java using reactive streams, the official MCP Java SDK, and Spring Boot integration.

github/awesome-copilot · 29 tokens

java-reviewer

Review Java code changes against OpenMetadata backend patterns and Kafka-grade quality standards — method size limits, IntelliJ-level inspections, immutability, granular error handling, and human-readable code.

open-metadata/OpenMetadata · 40 tokens

acceptance-tests-prompts-agents

Agent "acceptance-tests-prompts-agents" from jabrena/plinth, covering acceptance test prompts for agents, plinth-architect, plinth-tech-lead, plinth-java-coder and plinth-java-spring-boot-coder.

jabrena/plinth · 0 tokens

plinth-architect

Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.

jabrena/plinth · 38 tokens

plinth-java-coder

Implementation specialist for Java projects. Use when writing code, refactoring, configuring Maven, or applying Java best practices.

jabrena/plinth · 29 tokens

java-security-expert

Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and…

giuseppe-trisciuoglio/developer-kit · 85 tokens