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.
npx skills add Cratis/AI --skill cratis-chronicle-client-kotlingit clone --depth 1 https://github.com/Cratis/AIWrote 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.
[](https://agentmods.dev/skills/cratis/ai/cratis-chronicle-client-kotlin)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.03686 |
| Opus 5.5 | $0.00016 | $0.01474 |
| Sonnet 5.5 | $0.00008 | $0.00737 |
| Haiku 4.5 | $0.00004 | $0.00369 |
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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 314 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.
For Chronicle.Kotlin 7.x, first read the
Fundamentals migration and upgrade notes:
ConceptAs.value() and the shared correlation type are breaking changes.
Verified product sources
Source: Cratis/Chronicle.Kotlin, by source symbols and signatures.
Read references/product-sources.md when you need the artifacts and their source modules.
Do not copy a version number out of the repository's README or docs. The version comes from a Gradle property injected at release time —
Source/build.gradle.ktsreadsproviders.gradleProperty("version")and defaults to0.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.
CompatibilityPreflightchecks contracts at connect and throwsChronicleServerIncompatible; do not infer a supported pair just because both products are "latest".
Requires Chronicle kernel 19.30.0 for event source definitions and streams.
Common pitfalls
| Pitfall | Why it bites |
|---|---|
| Naming a reactor method after the event | The name is ignored; the first parameter's type is the subscription (EventHandlerMethod.kt) |
Two @EventType classes sharing a simple name |
The id defaults to the simple name, so they collide on the wire (EventTypesService.kt) |
| Shipping the default connection string to production | skipTlsValidation defaults to true; certificate validation is off (ChronicleConnectionString.kt) |
| Copying a version from the README or docs | It can lag the release; take the version from Maven Central |
Supplying apiKey in the connection string |
Client construction rejects it with IllegalArgumentException; use user:password@ |
Expecting getEventStore to suspend |
It does not — the client already connected in its constructor (ChronicleClient.kt) |
Expecting awaitRegistration() to prove all artifacts registered |
The initial gate completes in finally even after failure; connection rejection still throws ChronicleConnectionFailed |
| Treating automatic and explicit registration alike | The automatic pass logs failures; explicit registerAll() throws ArtifactRegistrationFailed for failed observers, and rejected event-type registration throws ChronicleCommandRejected |
| Expecting read model reactors to be discovered | IReadModelReactor is absent from the scan and from IEventStore; construct ReadModelReactors(...) yourself |
| Leaving the default classpath scan on in a large app | Use withArtifactsFrom(...) or artifact-packages to narrow it (ChronicleOptions.kt) |
| Expecting WebFlux support from the starter | The web auto-configuration is SERVLET-only (ChronicleWebAutoConfiguration.kt) |
Exiting main after an append |
Reactors and reducers stop with the process; the stream is live |
Passing a KProperty1 as @VariantOf's key |
The annotation form always takes a plain string; only the declarative variantOf(...) builder accepts a property reference |
A @GlobalFor mapping targeting a property one variant lacks |
GlobalHandlerPropertyNotOnVariant at registration, not a silently skipped mapping |
What ships with it
15 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.
- LICENSE 142 B
- references/annotations-and-handlers.md 1.9 KB
- references/append-concurrency.md 451 B
- references/connection-lifecycle.md 1.9 KB
- references/connection-string.md 1.3 KB
- references/discovery-and-registration.md 2.6 KB
- references/event-sources.md 3.0 KB
- references/event-type-annotations.md 457 B
- references/fundamentals-migration.md 2.9 KB
- references/java-api.md 1.5 KB
- references/options.md 1.4 KB
- references/product-sources.md 553 B
- references/read-models-and-projections.md 1.6 KB
- references/spring-boot.md 3.1 KB
- references/variants.md 3.4 KB
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.
- today Changed · -70 tokens per session d3c4230782dc
- yesterday Changed · +4 lines 80941d4cb6b0
- 8d ago Changed · -40 tokens per session ffc6f6be9e2d
- 12d ago Changed · -78 lines ce40b38e0b77
- 14d ago Changed · -1 lines 2f7917cb93d9
- 18d ago Changed · -203 lines 61dc90f2f10b
- 1mo ago Changed · +82 lines · +30 tokens per session b482e535621f
- 1mo ago Changed · +11 lines 4f9081ee65ec
- 1mo ago First seen · 499 lines · 121 tokens per session scan A 1e7da6f2d878
cratis-chronicle-client-kotlin is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 3,686 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-09-06.
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…
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.
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.
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.
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…
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 40 domain sub-skills. Use when the request mentions Kora, or uses Kora APIs: @KoraApp, @Component…