coilbase-jpa-migration

coilbase-jpa-migration is a skill for Claude Code, Codex from ejboy/agent-scripts. It costs 47 tokens per session (863 once invoked), scanned A, original, MIT.

A migration guide for replacing JPA, Spring Data JPA, or Hibernate persistence with CoilBase and Jdbi, Java tools for working with databases through SQL. Spring Boot and Spring MVC can optionally remain in the application.

In plain words
What is it for?
Use it to trace a business operation from its route or job to the database, compare existing behavior, choose explicit SQL or retained Hibernate, and plan a migration slice.
Why use it?
It helps identify hidden ORM behavior—such as automatic writes, relationships, lazy reads, and transaction boundaries—before changing how data is stored. This reduces the risk of changing application behavior during a persistence migration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to trace a business operation from its route or job to the database, compare existing behavior, choose explicit SQL or retained Hibernate, and plan a migration slice.

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

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 coilbase-jpa-migration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ejboy/agent-scripts/coilbase-jpa-migration"><img src="https://agentmods.dev/badge/skills/ejboy/agent-scripts/coilbase-jpa-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 863 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.00047 $0.00863
Opus 5.5 $0.00019 $0.00345
Sonnet 5.5 $0.00009 $0.00173
Haiku 4.5 $0.00005 $0.00086

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

Security

Grade A, and why

coilbase-jpa-migration 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/coilbase-jpa-migration/SKILL.md · 29 lines

How it starts

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

Migrate JPA and Hibernate workflows to CoilBase

Establish the slice and contract

Read the CoilBase migration guide for the JDBC and lifecycle foundation. Check the target versions against the guide and consult version-matched API sources when details differ. The case studies in persistence patterns use Preview 4 and show application choices. For a persistence-only migration that keeps Spring Boot, see retained Spring wiring.

Trace one business operation from its route, batch job or scheduler through actual callers to committed state. Locate Spring Data queries, flush-driven writes, cascades and ownership, lazy reads, ordering, identity generation, callbacks, caches, and transaction entry points that the operation uses. Check the actual schema and initialization policy, required database dialects and any existing-data compatibility requirement. Capture the baseline behavior before changing it, with separate disposable data for comparison. Mark what is observed, source-derived or still unknown.

Choose explicit SQL or retained Hibernate for the slice. Replacing ORM persistence while keeping Spring Boot and Spring MVC can be the final scope or the first phase of a broader migration. If the user also wants to move off Spring Boot, verify the persistence slice first and reuse it in the infrastructure phase. The optional coilbase-spring-migration skill covers that phase. Choose HTTP, rendering and deployment changes according to the requested scope. Preserve business behavior, data integrity and required security guarantees. Record deliberate differences and resolve application decisions that materially affect the contract.

The combined PetClinic trial migrated all three PetClinic JPA repositories to CoilBase/Jdbi while retaining Spring Boot and Spring MVC. Verification covered H2, with caller-supplied repository sorting outside the accepted scope. Read its README first, then fetch only the files needed for the task. A checkout of the experiments repository is unnecessary.

Read the full file on GitHub · 29 lines

Files

What ships with it

3 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 · 29 lines · 47 tokens per session scan A e8da03ea89cb

Subscribe to this mod's changes

coilbase-jpa-migration is a skill published in the GitHub repository ejboy/agent-scripts (116 stars, last pushed 12d ago), licensed MIT. It adds 47 tokens to every session and 863 once invoked, about $0.0002 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-20.

Related

coilbase-jpa-migration compared with skills from other repositories

coilbase-jpa-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coilbase-jpa-migrationejboy/agent-scriptsSkill11612d agoMITA47Claude Code, Codex
supabase-sdk-patternsCoWork-OS/CoWork-OSSkill559todayMITA20Claude Code, Codex
migration-and-contract-reviewmakifbaysal/tasktrooperSkill123yesterdayApache-2.0A33Claude Code, Codex
wicked-garden-engineering-migration-engineermikeparcewski/wicked-gardenSkill9yesterdayMITA136Claude Code
powersyncpowersync-ja/agent-skillsSkill23todayMITA203Claude Code
api-patternsbybren-llc/safe-agentic-workflowSkill4314mo agoMITA57Claude Code, Codex
migration-helpernguyenthienthanh/aura-frogSkill251mo agoMITA16Claude Code