microprofile-server

microprofile-server is a skill for Claude Code, Codex from AdamBien/airails. It costs 87 tokens per session (1,301 once invoked), scanned A, original, MIT.

A set of architecture and coding rules for long-running Java server applications built with MicroProfile or Jakarta EE, Java standards for services and enterprise applications.

In plain words
What is it for?
Use it when creating, scaffolding, or reviewing Java server code that uses REST endpoints, dependency injection, JSON processing, and unit or integration tests.
Why use it?
It gives the codebase consistent package structure, component responsibilities, error handling, testing, and Maven project organisation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it when creating, scaffolding, or reviewing Java server code that uses REST endpoints, dependency injection, JSON processing, and unit or integration tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adambien/airails/microprofile-server
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.

Any agent
npx skills add AdamBien/airails --skill microprofile-server
Clone the repo
git clone --depth 1 https://github.com/AdamBien/airails

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 microprofile-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/adambien/airails/microprofile-server/github.svg)](https://agentmods.dev/skills/adambien/airails/microprofile-server)
Your own site
<a href="https://agentmods.dev/skills/adambien/airails/microprofile-server"><img src="https://agentmods.dev/badge/skills/adambien/airails/microprofile-server/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 microprofile-server

Your own site · 80×15
<a href="https://agentmods.dev/skills/adambien/airails/microprofile-server"><img src="https://agentmods.dev/badge/skills/adambien/airails/microprofile-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,301 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00087 $0.01301
Opus 5.5 $0.00035 $0.00520
Sonnet 5.5 $0.00017 $0.00260
Haiku 4.5 $0.00009 $0.00130

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

Security

Grade A, and why

microprofile-server 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 1mo 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.

bce/microprofile-server/SKILL.md · 101 lines

How it starts

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

Composition

  • compose with java-conventions for all language-level Java rules (syntax, style, naming, visibility, interfaces/classes, methods/lambdas, streams/collections, exceptions, comments/JavaDoc)
  • this skill specializes only the MicroProfile / Jakarta EE server context — it does not restate language-level rules

Dependencies

  • prefer dependencies in this order: Java SE, MicroProfile, Jakarta EE

Exceptions (JAX-RS)

  • in JAX-RS projects, inherit from WebApplicationException for custom exceptions
  • use explicit exceptions like BadRequestException for Response.Status.BAD_REQUEST
  • throw explicit WebApplicationException subclasses (e.g. BadRequestException, NotFoundException) rather than constructing Response objects inline — they are automatically mapped to the correct HTTP status by the JAX-RS runtime

BCE/ECB Architecture

  • structure code using the Boundary Control Entity (BCE/ECB) pattern
  • package structure: [ORGANIZATION_NAME].[PROJECT_NAME].[COMPONENT_NAME].[boundary|control|entity]
  • top level package reflects the application responsibility or name
  • suggest renaming the top level [PROJECT_NAME] package when it does not reflect the project's name or responsibility
  • business components are children of top level package, named after their responsibilities
  • a BC may represent a domain concept or a shared concern; both are valid when the responsibility has a name and is reused across the application
  • boundary, control, entity packages are only allowed in business components
  • a BC does not need every layer; a BC may consist of only a control layer when its responsibility is procedural and consumed by other BCs
  • not every BCE component needs a dedicated boundary package; control package contents can be accessed directly
  • prefer a dedicated BC over the root application package when a shared concern carries domain or protocol semantics, exposes more than one operation, or is expected to grow
  • reserve the root application package for trivial single-class plumbing with no business semantics and no protocol coupling
  • do not explain the BCE pattern in documentation

Read the full file on GitHub · 101 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 101 lines · 87 tokens per session scan A b20bfcfa114c

Subscribe to this mod's changes

microprofile-server is a skill published in the GitHub repository AdamBien/airails (58 stars, last pushed 2d ago), licensed MIT. It adds 87 tokens to every session and 1,301 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

authoring-java-sdk-tasks

Writes Airflow task logic in Java, Kotlin, or any JVM language using the Airflow Java SDK. Use when the user wants to implement Airflow tasks in Java/JVM, asks about @Builder.Dag/@Builder.Task/@Builder.XCom, the Task/BundleBuilder interfaces, reading connections/variables/XComs from Java, the JSON-to-Java type…

astronomer/agents · 152 tokens

data-structures

Implements custom JavaScript data structures: queues, deques, stacks, linked lists, cons lists, circular buffers, unrolled lists, tries, heaps, graphs, LRU caches, CRDTs, pools, structs. Use when building or choosing non-native collections, optimizing enqueue/dequeue, designing persistent lists, or when the user asks…

metarhia/metaskills · 84 tokens

springboot-patterns

Spring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging. Use for Java Spring Boot backend work.

majiang213/OpenClaw-MAS · 36 tokens

azure-appconfiguration-java

Azure App Configuration SDK for Java. Centralized application configuration management with key-value settings, feature flags, and snapshots. Triggers: "ConfigurationClient java", "app configuration java", "feature flag java", "configuration setting java", "azure config java".

microsoft/skills · 55 tokens

azure-communication-callautomation-java

Build call automation workflows with Azure Communication Services Call Automation Java SDK. Use when implementing IVR systems, call routing, call recording, DTMF recognition, text-to-speech, or AI-powered call flows.

microsoft/skills · 49 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens