event-driven

event-driven is a skill for Claude Code from piomin/claude-ai-spring-boot. It costs 133 tokens per session (1,599 once invoked), scanned A, original, Apache-2.0.

A guide for building Spring Boot applications around events: actions create records that can update separate read views. It covers CQRS, where writing data and reading data use different models, and event sourcing, where those events are stored as the application's history.

In plain words
What is it for?
It helps implement command and query handlers, PostgreSQL event stores, Kafka or in-process events, transactional outboxes, projections, and Axon Framework event sourcing.
Why use it?
It gives a defined approach for applications that need an event history, rebuildable read views, or separate read and write paths. It also prevents this approach being applied to projects that use ordinary layered CRUD instead.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

Part of the spring-boot-template plugin — 10 skills, 7 agents shipped together

Good fit It helps implement command and query handlers, PostgreSQL event stores, Kafka or in-process events, transactional outboxes, projections, and Axon Framework event sourcing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/piomin/claude-ai-spring-boot/event-driven
About the project

piomin/claude-ai-spring-boot is a starter template for creating Spring Boot applications with Claude Code. Developers clone it as a structured foundation when using Claude Code to generate Spring Boot projects.

piomin/claude-ai-spring-boot · 1,472 stars · on GitHub

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 piomin/claude-ai-spring-boot --skill event-driven
Clone the repo
git clone --depth 1 https://github.com/piomin/claude-ai-spring-boot

Made for: Claude Code.

Or install spring-boot-template, the plugin that ships this one along with the rest of its 10 skills, 7 agents.

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 event-driven

README.md
[![agentmods](https://agentmods.dev/badge/skills/piomin/claude-ai-spring-boot/event-driven/github.svg)](https://agentmods.dev/skills/piomin/claude-ai-spring-boot/event-driven)
Your own site
<a href="https://agentmods.dev/skills/piomin/claude-ai-spring-boot/event-driven"><img src="https://agentmods.dev/badge/skills/piomin/claude-ai-spring-boot/event-driven/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 event-driven

Your own site · 80×15
<a href="https://agentmods.dev/skills/piomin/claude-ai-spring-boot/event-driven"><img src="https://agentmods.dev/badge/skills/piomin/claude-ai-spring-boot/event-driven.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,599 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.00133 $0.01599
Opus 5.5 $0.00053 $0.00640
Sonnet 5.5 $0.00027 $0.00320
Haiku 4.5 $0.00013 $0.00160

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

Security

Grade A, and why

event-driven 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 2d 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/event-driven/SKILL.md · 86 lines

How it starts

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

Event-Driven Skill

CQRS for Spring Boot 4.x: the write side and the read side are separate models, and the read side is updated from domain events. With Event Sourcing the write side stores those events instead of the current state.

When to Use

Load this skill only when the architecture decision (conventions skill, "Architecture Decision") is not layered CRUD:

  • The project's CLAUDE.md (AGENTS.md in Codex and OpenCode) has style: cqrs or style: cqrs-event-sourcing in its ## Architecture block.
  • The user asks for CQRS, Event Sourcing, an event store, a transactional outbox, projections or read models.

A project without the block is layered CRUD: do not apply this skill to it, and do not start the dialog here. The dialog and the block belong to conventions.

What Is Supported

Style Status
Layered CRUD Default; this skill does not apply
CQRS (no event sourcing) Supported: references/cqrs.md
CQRS + Event Sourcing (PostgreSQL event store) Supported: references/event-sourcing.md
CQRS + Event Sourcing (Axon Framework) Supported as a procedure: references/axon.md. The code comes from the Axon reference of the version selected for the project
CQRS or Event Sourcing for an API built for a UI (spring-boot skill, references/ui-contract.md) Not yet supported

For a style that is not yet supported, say so and stop. Do not approximate it with another style, and never use Kafka as an event store.

Core Workflow

  1. Read the decision - style, scope, topology, transport, read-store and, for Event Sourcing, event-store from the architecture block. Aggregates outside scope stay layered CRUD.
  2. Lay out the project - modules or packages from references/topology.md.
  3. Write side - entity, migration, command records, one handler per command, command controller (references/cqrs.md).
  4. Events - one sealed interface per aggregate, records that carry the new state and the version.
  5. Transport - the outbox and its relay for Kafka (references/kafka.md), or the Spring Modulith event publication registry for in-process events (references/cqrs.md).
  6. Read side - read-model table and migration, projection, query records, one handler per query, query controller.
  7. Test - references/testing.md; run ./mvnw clean verify and confirm the integration tests ran.
  8. Tell the user what eventual consistency means for their API: a query right after a command may return the old state.

Read the full file on GitHub · 86 lines

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. 2d ago First seen · 86 lines · 133 tokens per session scan A 021db1a2f4c0

Subscribe to this mod's changes

event-driven is a skill published in the GitHub repository piomin/claude-ai-spring-boot (1,472 stars, last pushed 3d ago), licensed Apache-2.0. It adds 133 tokens to every session and 1,599 once invoked, about $0.0005 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-28.

Related

event-driven compared with skills from other repositories

event-driven next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
event-drivenpiomin/claude-ai-spring-bootSkill1.5k3d agoApache-2.0A133Claude Code
supabasesupabase/agent-skillsSkill3.2k17d agoMITA185Claude Code, Codex
butterbasebutterbase-ai/butterbaseSkill3.0ktodayApache-2.0A34Claude Code, Codex
query-netdata-cloudnetdata/netdataSkill82ktodayGPL-3.0A46Claude Code, Codex
alembic-migrationvstorm-co/full-stack-ai-agent-templateSkill2.0k3d agoMITA56Claude Code
temps-add-migration-and-entitygotempsh/tempsSkill951todayApache-2.0A84Claude Code, Codex
supabase-nodealinaqi/maggySkill7123d agoMITA14Claude Code