Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/kora-projects/kora-skillsnpx agentmods add skills/kora-projects/kora-skills/kora-mapstructWrote 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/kora-projects/kora-skills/kora-mapstruct)<a href="https://agentmods.dev/skills/kora-projects/kora-skills/kora-mapstruct"><img src="https://agentmods.dev/badge/skills/kora-projects/kora-skills/kora-mapstruct/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/kora-projects/kora-skills/kora-mapstruct"><img src="https://agentmods.dev/badge/skills/kora-projects/kora-skills/kora-mapstruct.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.00056 | $0.01367 |
| Opus 5.5 | $0.00022 | $0.00547 |
| Sonnet 5.5 | $0.00011 | $0.00273 |
| Haiku 4.5 | $0.00006 | $0.00137 |
Grade A, and why
kora-mapstruct 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kora-mapstruct — MapStruct mappers as Kora components
Kora sub-skill — obey the kora-v1 meta rules on every task: R0 ensure
.kora-agent/docs+examples are cloned · R1 read this sub-skill before writing code · R2 Kora APIs only — no Spring/Micronaut/Quarkus, no invented annotations or config keys · R3 journal any incorrect Kora usage. Add comments/Javadoc only if asked.
MapStruct generates the mapper implementation at compile time. Kora's MapStruct
extension detects every @Mapper interface, finds the generated *MapperImpl,
and registers it as a singleton component in the DI graph. You inject the mapper
interface by constructor like any other component — no @Module to plug in and
no @Component on the mapper.
All Kora artifacts inherit their version from the kora-parent BOM
(ru.tinkoff.kora:kora-parent:1.2.19 in the example repo) — never version
individual ru.tinkoff.kora:* dependencies. MapStruct artifacts are versioned
explicitly (1.5.5.Final).
Quick Start (Java)
build.gradle:
dependencies {
koraBom platform("ru.tinkoff.kora:kora-parent:1.2.19")
// Kora annotation processor (mandatory)
annotationProcessor "ru.tinkoff.kora:annotation-processors"
// MapStruct processor — generates the *MapperImpl classes
annotationProcessor "org.mapstruct:mapstruct-processor:1.5.5.Final"
// MapStruct runtime
implementation "org.mapstruct:mapstruct:1.5.5.Final"
}
PetMapper.java (adapted from .kora-agent/kora-examples/examples/java/kora-java-crud):
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE) // no @Component needed
public interface CarMapper {
@Mapping(source = "numberOfSeats", target = "seatCount")
CarTO map(Car car);
}
Inject the mapper interface by constructor:
import ru.tinkoff.kora.common.Component;
@Component
public final class CarService {
private final CarMapper mapper;
public CarService(CarMapper mapper) {
this.mapper = mapper;
}
}
What ships with it
8 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.
- assets/mapstruct.gradle.kts.snippet 1.3 KB
- assets/mapstruct.gradle.snippet 898 B
- assets/OrderMapper.java.template 2.3 KB
- evals/evals.json 6.2 KB
- README.md 781 B
- references/mapstruct-config-reference.md 5.3 KB
- references/mapstruct-expressions-reference.md 4.2 KB
- references/mapstruct-mapper-reference.md 5.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.
- 2mo ago First seen · 130 lines · 56 tokens per session scan A 461c698d95e1
kora-mapstruct is a skill published in the GitHub repository kora-projects/kora-skills (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,367 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-08-31.
Other skills, from other repositories
spring-boot-idioms
Spring Boot 3.x framework patterns: constructor-based DI, Spring Data JPA, REST controllers with RFC 7807 error handling, Actuator observability, and slice testing. Use when building or maintaining Spring Boot microservices. Pair with java-idioms.
wxjava-api-contributor
A contributor guide for adding or maintaining official WeChat API support in WxJava, a Java software development kit. It covers services, request and response data objects, data conversion, HTTP handling, starter configuration, and regression tests.
azure-communication-common-java
Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.
azure-communication-callautomation-java
Build call automation workflows with Azure Communication Services Call Automation Java SDK. Use when implementing IVR systems, call routing, call recording, DTMF recognition, text-to-speech, or AI-powered call flows.
azure-communication-chat-java
Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.
azure-communication-sms-java
Send SMS messages with Azure Communication Services SMS Java SDK. Use when implementing SMS notifications, alerts, OTP delivery, bulk messaging, or delivery reports.