quarkus-native

quarkus-native is a skill for Claude Code, Codex from kinhluan/rules-quarkus-skills. It costs 36 tokens per session (3,061 once invoked), scanned A, original, MIT.

A guide to compiling Quarkus applications into native executables using GraalVM, a tool that turns programs into standalone machine code.

In plain words
What is it for?
It helps configure reflection, resources, startup initialization, container builds, and native-mode integration tests for Maven or Gradle projects.
Why use it?
It addresses build and runtime issues caused by native compilation, such as missing reflection or resource configuration.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./target/myapp-1.0.0-SNAPSHOT-runner.

Good fit It helps configure reflection, resources, startup initialization, container builds, and native-mode integration tests for Maven or Gradle projects.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/kinhluan/rules-quarkus-skills
agentmods
npx agentmods add skills/kinhluan/rules-quarkus-skills/quarkus-native

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 quarkus-native

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kinhluan/rules-quarkus-skills/quarkus-native"><img src="https://agentmods.dev/badge/skills/kinhluan/rules-quarkus-skills/quarkus-native.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,061 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.00036 $0.03061
Opus 5 $0.00018 $0.01530
Sonnet 5 $0.00007 $0.00612
Haiku 4.5 $0.00004 $0.00306

Measured 11d ago against content hash 8700a6ca5a08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

quarkus-native 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.

.agent-skills/quarkus-native/SKILL.md · 457 lines

How it starts

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

quarkus-native

Keyword: quarkus-native | Platforms: gemini,claude,codex

Quarkus Native Image Expert Skill - Specialized in building, optimizing, and troubleshooting native executables for Quarkus applications.

Core Mandates

  • Closed-World Awareness: All classes, methods, and resources must be known at build time.
  • Reflection Explicit: Register all reflection usage via @RegisterForReflection or reflection-config.json.
  • Resource Registration: All runtime resources must be declared in resource-config.json.
  • Build-Time Initialization: Prefer build-time initialization for faster startup; use runtime init only for side-effect classes.
  • Test in Native Mode: Always run @QuarkusIntegrationTest against the native binary before production.

Quick Start: Native Build

Maven

# Build native executable
./mvnw package -Dnative

# Build in container (recommended for CI)
./mvnw package -Dnative -Dquarkus.native.container-build=true

# Build and run integration tests
./mvnw verify -Pnative

Gradle

# Build native executable
./gradlew build -Dquarkus.package.type=native

# Build in container
./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true

Bazel (rules_quarkus)

# Using rules_quarkus
bazel build //:myapp_native

# With custom builder image
bazel build //:myapp_native \
  --@rules_quarkus//native:builder_image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21

Quarkus Native Configuration

Essential Properties

# === Build Type ===
quarkus.package.type=native

# === Container Build (Recommended) ===
quarkus.native.container-build=true
quarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21

# === Memory ===
quarkus.native.native-image-xmx=8g

# === Debugging ===
quarkus.native.additional-build-args=-H:+ReportExceptionStackTraces

# === Reports ===
quarkus.native.enable-reports=true
# Generates: target/reports/call_tree_*.txt, target/reports/reachable_methods.txt

Read the full file on GitHub · 457 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. 11d ago First seen · 457 lines · 36 tokens per session scan A 8700a6ca5a08

Subscribe to this mod's changes

quarkus-native is a skill published in the GitHub repository kinhluan/rules-quarkus-skills (3 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 3,061 once invoked, about $0.0002 per session on Opus 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-31.