jakarta-data-persistence

jakarta-data-persistence is a skill for Claude Code from AdamBien/airails. It costs 199 tokens per session (3,779 once invoked), scanned A, original, MIT.

A Java persistence skill for storing and querying application entities through Jakarta Data repositories. Jakarta Data is a standard API that lets Jakarta EE applications define database operations in repository interfaces.

In plain words
What is it for?
It is for adding inserts, updates, deletes, finds, and queries to MicroProfile or Jakarta EE applications that use Jakarta Data.
Why use it?
It provides rules for choosing and implementing repository methods without manually managing a persistence context. It also distinguishes simple, known database statements from operations that require full entity-graph handling.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It is for adding inserts, updates, deletes, finds, and queries to MicroProfile or Jakarta EE applications that use Jakarta Data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adambien/airails/jakarta-data-persistence
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 jakarta-data-persistence
Clone the repo
git clone --depth 1 https://github.com/AdamBien/airails

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 jakarta-data-persistence

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/adambien/airails/jakarta-data-persistence"><img src="https://agentmods.dev/badge/skills/adambien/airails/jakarta-data-persistence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 199 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,779 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.00199 $0.03779
Opus 5.5 $0.00080 $0.01512
Sonnet 5.5 $0.00040 $0.00756
Haiku 4.5 $0.00020 $0.00378

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

Security

Grade A, and why

jakarta-data-persistence 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 4d 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.

java/jakarta-data-persistence/SKILL.md · 160 lines

How it starts

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

Add Jakarta Data persistence using $ARGUMENTS. Apply all rules below strictly; /bce, /java-conventions, and /microprofile-server hold wherever this skill is silent.

This skill is picked on demand: when the request names no persistence technology and the project's build carries no jakarta.data-api, stop and use /memory-persistence instead.

Among the durable skills, /jdbc-persistence is the successor of /memory-persistence. This skill takes a BC when the request names Jakarta Data or the project already persists through it; in a project that already maps entities with Jakarta Persistence it fits a BC whose writes are single statements known in advance and whose reads are queries. A BC whose boundary call changes a loaded graph of entities in ways not known in advance belongs to /jakarta-persistence — nothing here derives a statement from a changed entity.

Platform

  • Jakarta Data 1.0, the release for Jakarta EE 11, over a Jakarta Persistence provider; read the managed jakarta.data-api version from the effective POM (mvn help:effective-pom) and never change it without asking
  • the repository implementation is generated at compile time by the provider's annotation processor — a build change (see Configuration); without the processor a repository interface has no implementation
  • code imports jakarta.data.* for repositories and jakarta.persistence.* for the mapping, never a provider package (org.hibernate.*) — which also rules out a resource accessor method returning the provider's session
  • the rules below name the specification; the artifacts, the processor, configuration keys, test support, and the provider's own behavior on a runtime live in its reference — Quarkus: references/quarkus.md, read before changing build, configuration, or tests
  • server only: a /java-cli-app persists with /jdbc-persistence

Principle

A repository method is one statement, executed when it is called. There is no persistence context: an entity returned by a repository is detached, changing it changes nothing in the database, and nothing is written until an @Update method receives it — unlike /jakarta-persistence, where the provider writes the difference at commit.

Read the full file on GitHub · 160 lines

Files

What ships with it

2 files 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. 4d ago First seen · 160 lines · 199 tokens per session scan A 7b52d0c56c31

Subscribe to this mod's changes

jakarta-data-persistence is a skill published in the GitHub repository AdamBien/airails (76 stars, last pushed yesterday), licensed MIT. It adds 199 tokens to every session and 3,779 once invoked, about $0.0008 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-11-26.

Related

jakarta-data-persistence compared with skills from other repositories

jakarta-data-persistence next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jakarta-data-persistenceAdamBien/airailsSkill76yesterdayMITA199Claude Code
jpa-patternsaffaan-m/ECCSkill313k7d agoMITA33Claude Code, Kiro
azure-data-tables-javamicrosoft/skillsSkill3.3k3d agoMITA47Claude Code
azure-cosmos-javamicrosoft/skillsSkill3.3k3d agoMITA59Claude Code
authoring-java-sdk-tasksastronomer/agentsSkill4646d agoApache-2.0A152Claude Code
configuring-airflow-language-sdksastronomer/agentsSkill4646d agoApache-2.0A155Claude Code
database-orm-expertroedyrustam/vibes-plugSkill1293d agoMITA40Cursor