jpa-patterns

jpa-patterns is a skill for Claude Code, Codex from gabrielrovesti/ai-agent-skills. It costs 91 tokens per session (986 once invoked), scanned A, original, no licence file.

A guide for using JPA and Hibernate to store and retrieve data in Spring Boot services. JPA is a Java standard for mapping application objects to database records, while Hibernate is a common implementation of it.

In plain words
What is it for?
Use it to design entities, repositories, projections, relationships, and transactions, and to check issues such as N+1 queries, lazy loading, performance, dependencies, and migrations.
Why use it?
It helps diagnose data-access problems such as inefficient queries, unclear transaction boundaries, and incorrectly connected entities.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to design entities, repositories, projections, relationships, and transactions, and to check issues such as N+1 queries, lazy loading, performance, dependencies, and migrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gabrielrovesti/ai-agent-skills/jpa-patterns
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 gabrielrovesti/ai-agent-skills --skill jpa-patterns
Clone the repo
git clone --depth 1 https://github.com/gabrielrovesti/ai-agent-skills

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 jpa-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/gabrielrovesti/ai-agent-skills/jpa-patterns/github.svg)](https://agentmods.dev/skills/gabrielrovesti/ai-agent-skills/jpa-patterns)
Your own site
<a href="https://agentmods.dev/skills/gabrielrovesti/ai-agent-skills/jpa-patterns"><img src="https://agentmods.dev/badge/skills/gabrielrovesti/ai-agent-skills/jpa-patterns/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 jpa-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/gabrielrovesti/ai-agent-skills/jpa-patterns"><img src="https://agentmods.dev/badge/skills/gabrielrovesti/ai-agent-skills/jpa-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 986 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 unknown 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.00091 $0.00986
Opus 5 $0.00046 $0.00493
Sonnet 5 $0.00018 $0.00197
Haiku 4.5 $0.00009 $0.00099

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

Security

Grade A, and why

jpa-patterns 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.

skills/jpa-patterns/SKILL.md · 118 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

6 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. 11d ago First seen · 118 lines · 91 tokens per session scan A 6c0e0fc573d8

Subscribe to this mod's changes

jpa-patterns is a skill published in the GitHub repository gabrielrovesti/ai-agent-skills (1 stars, last pushed 1mo ago), with no licence file. It adds 91 tokens to every session and 986 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

511-frameworks-micronaut-jdbc

Use when you need programmatic JDBC in Micronaut — pooled DataSource, parameterized SQL, io.micronaut.transaction.annotation.Transactional, batching, and domain exception translation. This should trigger for requests such as Review JDBC or SQL data access in a Micronaut project; Improve transactions and parameter…

jabrena/plinth · 118 tokens

512-frameworks-micronaut-data

Use when you need data access with Micronaut Data — @MappedEntity, CrudRepository/PageableRepository, @Query with parameters, @Transactional services, projections, @Version, and @MicronautTest with TestPropertyProvider and Testcontainers. For raw java.sql access without generated repositories, use…

jabrena/plinth · 145 tokens

neo4j-getting-started-skill

Orchestrates zero-to-running-app in 8 stages — prerequisites → context → provision → model → load → explore → query → build. Each stage reads its own reference file. Supports HITL and fully autonomous operation. Use when starting a new Neo4j project from scratch, provisioning Aura, generating synthetic data, building…

neo4j-contrib/neo4j-skills · 157 tokens

neo4j-graphql-skill

Build and configure a GraphQL API backed by Neo4j using @neo4j/graphql v7 (current) or v5 (LTS). Covers Neo4jGraphQL constructor, getSchema(), assertIndexesAndConstraints(), type definitions with @node, @relationship (IN/OUT/UNDIRECTED), @cypher for custom resolvers, @authorization/@authentication for JWT/JWKS…

neo4j-contrib/neo4j-skills · 169 tokens

neo4j-kafka-skill

Configure and operate the Neo4j Connector for Kafka (sink + source) and the native Neo4j CDC API. Covers Cypher/Pattern/CUD sink strategies, CDC-based and query-based source, exactly-once semantics, DLQ error handling, Confluent Cloud managed connector, schema registry (Avro/JSON), and native db.cdc.query cursor-loop…

neo4j-contrib/neo4j-skills · 178 tokens

api-baas-firebase

Firebase backend-as-a-service — Firestore, Authentication, Cloud Functions v2, Storage, Hosting, Admin SDK, security rules, emulator suite.

agents-inc/skills · 34 tokens