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-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-persistence)<a href="https://agentmods.dev/skills/adambien/airails/jakarta-persistence"><img src="https://agentmods.dev/badge/skills/adambien/airails/jakarta-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-persistence"><img src="https://agentmods.dev/badge/skills/adambien/airails/jakarta-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.00185 | $0.04183 |
| Opus 5.5 | $0.00074 | $0.01673 |
| Sonnet 5.5 | $0.00037 | $0.00837 |
| Haiku 4.5 | $0.00018 | $0.00418 |
Grade A, and why
jakarta-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 — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Jakarta 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 Persistence provider, 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 project already persists through Jakarta Persistence, the request names it, or a boundary call changes a loaded graph of entities in ways not known in advance (children added, removed, and edited) — the persistence context derives the statements a JDBC control would have to find by comparing the loaded with the changed state. A BC of reports, projections, bulk writes, or DBMS-specific SQL belongs to /jdbc-persistence.
Platform
- Jakarta Persistence 3.2, the release for Jakarta EE 11 — a floor above the
/microprofile-serverplatform rule; before using an API marked (3.2) below, read the managedjakarta.persistence-apiversion from the effective POM (mvn help:effective-pom, which resolves an imported BOM), and when it is older, stay within that version and never change it without asking - code imports
jakarta.persistence.*only, never a provider package (org.hibernate.*,org.eclipse.persistence.*) — the provider is a runtime decision; provider settings live in configuration, never in annotations or code - the rules below name the specification only; the artifacts, configuration keys, and test support of a runtime live in its reference — Quarkus: references/quarkus.md, read before changing build, configuration, or tests; a runtime without a reference gets the specification's own means, named where they differ
- server only: a
/java-cli-apppersists with/jdbc-persistence— a provider and its transitive dependencies contradict the zero-dependency build
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 · 122 lines · 185 tokens per session scan A 04ebc3d73dea
jakarta-persistence is a skill published in the GitHub repository AdamBien/airails (76 stars, last pushed yesterday), licensed MIT. It adds 185 tokens to every session and 4,183 once invoked, about $0.0007 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-persistence compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| jakarta-persistenceAdamBien/airails | Skill | 76 | yesterday | MIT | A | 185 | 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 |