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.
npx skills add AdamBien/airails --skill jakarta-data-persistencegit clone --depth 1 https://github.com/AdamBien/airailsWrote 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.
[](https://agentmods.dev/skills/adambien/airails/jakarta-data-persistence)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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-apiversion 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 andjakarta.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-apppersists 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.
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.
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.
- 4d ago First seen · 160 lines · 199 tokens per session scan A 7b52d0c56c31
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.
jakarta-data-persistence compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| jakarta-data-persistenceAdamBien/airails | Skill | 76 | yesterday | MIT | A | 199 | Claude Code |
| jpa-patternsaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 33 | Claude Code, Kiro |
| azure-data-tables-javamicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 47 | Claude Code |
| azure-cosmos-javamicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 59 | Claude Code |
| authoring-java-sdk-tasksastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 152 | Claude Code |
| configuring-airflow-language-sdksastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 155 | Claude Code |
| database-orm-expertroedyrustam/vibes-plug | Skill | 129 | 3d ago | MIT | A | 40 | Cursor |