cratis-chronicle-client-kotlin

cratis-chronicle-client-kotlin is a skill for Claude Code, Codex from Cratis/AI. It costs 121 tokens per session (6,182 once invoked), scanned A, original, MIT.

A guide to using the Chronicle client from Kotlin or Java applications on the JVM. It covers client connections, event classes, suspending event appends, event handlers, read models, and the Spring Boot integration.

In plain words
What is it for?
Use it to connect a Kotlin or Java service to Chronicle, append events, build read models, or integrate with Spring Boot.
Why use it?
It explains how to use Chronicle in a normal JVM application without adopting a separate application architecture. It also identifies the published library versions and Java runtime expectations.

Skill for Claude CodeCodex

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

Good fit Use it to connect a Kotlin or Java service to Chronicle, append events, build read models, or integrate with Spring Boot.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-chronicle-client-kotlin
View source ↗ Cratis/AI
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 Cratis/AI --skill cratis-chronicle-client-kotlin
Clone the repo
git clone --depth 1 https://github.com/Cratis/AI

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 cratis-chronicle-client-kotlin

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-chronicle-client-kotlin"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-chronicle-client-kotlin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,182 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.00121 $0.06182
Opus 5 $0.00060 $0.03091
Sonnet 5 $0.00024 $0.01236
Haiku 4.5 $0.00012 $0.00618

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

Security

Grade A, and why

cratis-chronicle-client-kotlin 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/cratis-chronicle-client-kotlin/SKILL.md · 499 lines

How it starts

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

The Chronicle client for Kotlin and Java

io.cratis:chronicle is a standalone client SDK. Your application is an ordinary JVM application that happens to talk to a Chronicle server over gRPC. There is no framework to inherit from and no application architecture imposed: you construct a client, ask it for an event store, and append or observe.

Verified product sources

This skill is verified against this exact source:

Artifact Version Verified from
io.cratis:chronicle 4.0.0 Chronicle.Kotlin at tag v4.0.0 (commit 63ff629)
io.cratis:chronicle-spring-boot-starter 4.0.0 same tag, Integrations/SpringBoot
io.cratis:chronicle-testing 4.0.0 same tag, Testing
io.cratis:chronicle-contracts 16.44.1 Source/build.gradle.kts:11

All three artifacts are published to Maven Central under io.cratis (Source/build.gradle.kts:54, Testing/build.gradle.kts:32, Integrations/SpringBoot/build.gradle.kts:48). The JVM toolchain is 17 (Source/build.gradle.kts:43).

Do not copy a version number out of the repository's README or docs. At v4.0.0 the README still says 2.1.1 (README.md:186) and the documentation says 2.1.2 (Documentation/get-started/index.md:24). The version comes from a Gradle property injected at release time — Source/build.gradle.kts:8 reads providers.gradleProperty("version") and defaults to 0.0.0-SNAPSHOT — so the checked-in source never carries the real number. Take it from Maven Central.

The client and the kernel version independently. Client 4.0.0 is built against chronicle-contracts 16.44.1; the Chronicle server has since moved to a 17.x line. Confirm the client/server pair you intend to run is supported before relying on it — do not infer compatibility from the fact that both are "latest".

Two ways in — pick one

You are building Use Artifact
A plain Kotlin/Java application, a CLI, a worker ChronicleClient directly io.cratis:chronicle
A Spring Boot application the starter, and inject the beans io.cratis:chronicle-spring-boot-starter

Read the full file on GitHub · 499 lines

Files

What ships with it

1 file 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 · 499 lines · 121 tokens per session scan A 1e7da6f2d878

Subscribe to this mod's changes

cratis-chronicle-client-kotlin is a skill published in the GitHub repository Cratis/AI (2 stars, last pushed today), licensed MIT. It adds 121 tokens to every session and 6,182 once invoked, about $0.0006 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-09-06.

Related

Other skills, from other repositories

authoring-java-sdk-tasks

Writes Airflow task logic in Java, Kotlin, or any JVM language using the Airflow Java SDK. Use when the user wants to implement Airflow tasks in Java/JVM, asks about @Builder.Dag/@Builder.Task/@Builder.XCom, the Task/BundleBuilder interfaces, reading connections/variables/XComs from Java, the JSON-to-Java type…

astronomer/agents · 152 tokens

null-safety

Use when annotating nullability in Spring Boot 3 / Spring Framework 6 code, integrating Kotlin, or adding static nullability checks without assuming Spring Framework 7 JSpecify defaults.

rrezartprebreza/spring-boot-skills · 41 tokens

kotlin-backend-conventions

A set of coding conventions for BK-CI Kotlin back-end projects. Kotlin is a programming language, and back-end code runs the services behind an application.

TencentBlueKing/bk-ci · 71 tokens

backend-microservice-development

Backend microservice development guidance for BK-CI using Kotlin or Java and Spring Boot. It covers resources, API, service, and data-access layers, dependency injection, service ownership, and backend conventions.

TencentBlueKing/bk-ci · 62 tokens

java-kotlin-migration-assistant

Migrate Java code to Kotlin in Spring-based codebases without changing behavior, public contracts, framework compatibility, or binary assumptions unless explicitly intended. Use when converting classes incrementally, replacing Lombok patterns, managing platform types and nullability, preserving JPA and proxy behavior…

JetBrains/skills · 77 tokens

kora-v2

Build and maintain Java/Kotlin services on the Kora Framework 2.0 (io.koraframework) — compile-time DI, zero reflection, synchronous contracts on virtual threads, annotation processors (Java) or KSP (Kotlin). Routes to 39 domain sub-skills. Use when the request mentions Kora, or uses Kora APIs: @KoraApp, @Component…

kora-projects/kora-skills · 330 tokens