spring-batch

spring-batch is a skill for Claude Code from alexmond/alexmskills. It costs 87 tokens per session (5,014 once invoked), scanned A, original, MIT.

A development reference for Spring Batch, the Java framework for processing scheduled or large data jobs. It covers job history, restarts, workflow decisions, task transactions, parallel work, and tests.

In plain words
What is it for?
Use it when writing or debugging Spring Batch jobs, choosing restart behavior, designing flows or partitioning, and testing batch mechanisms.
Why use it?
Spring Batch jobs can appear to finish without doing work, restart differently than expected, or behave incorrectly because of configuration and transaction boundaries. This helps investigate those cases with runnable examples.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the spring-batch plugin — 1 skill shipped together

Good fit Use it when writing or debugging Spring Batch jobs, choosing restart behavior, designing flows or partitioning, and testing batch mechanisms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexmond/alexmskills/spring-batch
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 alexmond/alexmskills --skill spring-batch
Clone the repo
git clone --depth 1 https://github.com/alexmond/alexmskills

Made for: Claude Code.

Or install spring-batch, the plugin that ships this one along with the rest of its 1 skill.

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 spring-batch

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexmond/alexmskills/spring-batch/github.svg)](https://agentmods.dev/skills/alexmond/alexmskills/spring-batch)
Your own site
<a href="https://agentmods.dev/skills/alexmond/alexmskills/spring-batch"><img src="https://agentmods.dev/badge/skills/alexmond/alexmskills/spring-batch/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 spring-batch

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexmond/alexmskills/spring-batch"><img src="https://agentmods.dev/badge/skills/alexmond/alexmskills/spring-batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,014 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 256
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
How audits are shown
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.00087 $0.05014
Opus 5.5 $0.00035 $0.02006
Sonnet 5.5 $0.00017 $0.01003
Haiku 4.5 $0.00009 $0.00501

Measured 1mo ago against content hash 9773a6293972, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spring-batch 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 1mo 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.

plugins/spring-batch/skills/spring-batch/SKILL.md · 450 lines

How it starts

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

Spring Batch development

Every rule here was paid for. Where a claim has a measurement or a runnable sample behind it, the source is named — prefer checking it over trusting this file, and correct the file when it is wrong (see Growing this skill).

Ground new behaviour in the playground first. spring-boot-playground's spring-boot-batch-parent/ holds one module per mechanism, each asserting behaviour rather than describing it: spring-boot-batch-restart, -flow, -tasklet, -partition. When you are unsure what the framework does, write the case there and run it — that is what the modules are for (use a local checkout if one exists; otherwise clone the repo). 17 tests, H2, no external services.


1. The default JobRepository stores nothing, and that is deliberate

The single most expensive thing to not know.

spring-boot-starter-batch plus a working DataSource yields ResourcelessJobRepository. There is no BatchJdbcAutoConfiguration in Boot 4's batch module — all eleven classes of org.springframework.boot.batch.autoconfigure were checked.

It is a design decision, not an omission. whatsnew.html: it has been the default since 5.2, "no longer requires an in-memory database (H2, HSQLDB) for metadata storage", which "improves default performance and reduces memory footprint". Knowing that changes how you argue about it: the framework is not broken, it is optimised for the case where nobody restarts anything, and it does not tell you which case you are in.

What that looks like: the job runs, every step executes, it reports COMPLETED, and nothing is written down. Every execution comes back id 1, no BATCH_* table is created, and restart does not exist — not refused, absent. Nothing warns you.

scan=d-1 execId=1 jobInstanceId=1
scan=d-2 execId=1 jobInstanceId=1      <- two different runs, same ids
tables: []
repository impl: ResourcelessJobRepository

Read the full file on GitHub · 450 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. 1mo ago Changed · +74 lines · -25 tokens per session 9773a6293972
  2. 1mo ago First seen · 376 lines · 112 tokens per session scan A e381d08043ca

Subscribe to this mod's changes

spring-batch is a skill published in the GitHub repository alexmond/alexmskills (9 stars, last pushed 9d ago), licensed MIT. It adds 87 tokens to every session and 5,014 once invoked, about $0.0003 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-09-05.

Related

Other skills, from other repositories

nemo-evaluator-sdk

Evaluates LLMs across 100+ benchmarks from 18+ harnesses (MMLU, HumanEval, GSM8K, safety, VLM) with multi-backend execution. Use when needing scalable evaluation on local Docker, Slurm HPC, or cloud platforms. NVIDIA's enterprise-grade platform with container-first architecture for reproducible benchmarking.

davila7/claude-code-templates · 76 tokens

api-load-tester

Load tests API endpoints with progressive concurrency. Measures response times, error rates, throughput, and identifies breaking points. Generates a detailed report with latency percentiles, throughput curves, bottleneck analysis, and optimization recommendations.

OneWave-AI/claude-skills · 47 tokens

spring-validation

Bean Validation (JSR-380) with Spring Boot. Covers request validation, custom validators, validation groups, and error handling. USE WHEN: user mentions "spring validation", "@Valid", "@NotNull", "@NotBlank", "bean validation", "request validation", "custom validator", "validation groups", "ConstraintValidator"…

claude-dev-suite/claude-dev-suite · 95 tokens

api-patterns

API design, versioning, testing, schema validation, and contract testing patterns for REST and GraphQL APIs.

vibeeval/vibecosystem · 26 tokens

qa-api-testing-contracts

Tests API contracts for REST, GraphQL, gRPC, AsyncAPI, and webhooks. Use when adding schema validation or breaking-change gates (Pact, can-i-deploy, oasdiff, buf); not API design.

vasilyu1983/AI-Agents-public · 53 tokens

add-handler

Scaffold a new HTTP handler with service function, store method (if needed), and table-driven test, following the project's internal/{api,service,store} layout. Invoke when the user asks to add an endpoint, handler, or route.

MuhammadUsmanGM/claude-code-best-practices · 52 tokens