Borrowing it
Nothing to install: this file belongs to Mehtrick/bjoern. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Mehtrick/bjoern/master/.agents/bjoern-gradle-config/SKILL.mdgit clone --depth 1 https://github.com/Mehtrick/bjoernWrote 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/mehtrick/bjoern/bjoern-gradle-config)<a href="https://agentmods.dev/skills/mehtrick/bjoern/bjoern-gradle-config"><img src="https://agentmods.dev/badge/skills/mehtrick/bjoern/bjoern-gradle-config/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/mehtrick/bjoern/bjoern-gradle-config"><img src="https://agentmods.dev/badge/skills/mehtrick/bjoern/bjoern-gradle-config.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.00039 | $0.03150 |
| Opus 5.5 | $0.00016 | $0.01260 |
| Sonnet 5.5 | $0.00008 | $0.00630 |
| Haiku 4.5 | $0.00004 | $0.00315 |
Grade A, and why
bjoern-gradle-config scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s https://plugins.gradle.org/plugin/de.mehtrick.bjoern.gradle-plugin | grep -o 'version "[^"]*"' | head -1 How it starts
The opening of the file, as written. The whole thing — 482 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bjoern Gradle Plugin Configuration
Plugin Setup
Finding the Latest Version
IMPORTANT: Always use the latest Bjoern version. Check these sources:
- Gradle Plugin Portal: https://plugins.gradle.org/plugin/de.mehtrick.bjoern.gradle-plugin
- Maven Central: https://search.maven.org/artifact/de.mehtrick/bjoern-gradle-plugin
- GitHub Releases: https://github.com/Mehtrick/bjoern/releases
- Project version.config: Check the
bjoernversionproperty in the Bjoern repository
To find the latest version programmatically:
# Check Gradle Plugin Portal
curl -s https://plugins.gradle.org/plugin/de.mehtrick.bjoern.gradle-plugin | grep -o 'version "[^"]*"' | head -1
# Or visit the plugin portal URL directly
Apply the Plugin
Replace LATEST_VERSION with the actual version from the sources above:
plugins {
id "de.mehtrick.bjoern.gradle-plugin" version "LATEST_VERSION"
}
apply plugin: 'de.mehtrick.bjoern.gradle-plugin'
Example with a specific version (check for updates!):
plugins {
id "de.mehtrick.bjoern.gradle-plugin" version "1.3.3" // Check for latest!
}
Required Dependencies
dependencies {
// For JUnit 5 (default)
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
// OR for JUnit 4
testImplementation 'junit:junit:4.13.2'
// Recommended assertion library
testImplementation 'org.assertj:assertj-core:3.27.7'
}
Gradle Version Requirement
Minimum: Gradle > 7.6.2 (due to Jackson dependency bug) Recommended: Gradle 8.x
Configuration Block
All configuration is done in the bjoern block:
bjoern {
// Required parameters
folder = "${projectDir}/src/test/resources"
pckg = "com.example.tests"
gendir = "${projectDir}/src/gen/bjoern"
// Optional parameters
extendedTestClass = "com.example.AbstractBjoernTest"
docdir = "${projectDir}/src/gen/bjoern/docs"
template = "/custom-template.ftlh"
templateFolder = "${projectDir}/src/main/resources/templates"
docExtension = "adoc"
junitVersion = "5"
encoding = "UTF-8"
specRecursive = true
gitHistory = false
}
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.
- 1mo ago First seen · 482 lines · 39 tokens per session scan A 8e326bc036b1
bjoern-gradle-config is a skill published in the GitHub repository Mehtrick/bjoern (4 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 3,150 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
jpa-patterns
JPA/Hibernate patterns and common pitfalls (N+1, lazy loading, transactions, queries). Use when user has JPA performance issues, LazyInitializationException, or asks about entity relationships and fetching strategies.
design-patterns
Design patterns with Java examples - classic (Factory, Builder, Strategy, Observer, Decorator, Adapter) and enterprise/microservices (Saga, Outbox, CQRS). Use when user asks about patterns, designing extensible components, or distributed transaction strategies.
spring-boot
Spring Boot 4.x development - REST APIs, JPA, Security, Testing, and Cloud-native patterns. Use for building enterprise Java applications with Spring Boot.
java-modern
Java 21+ features for Spring Boot - records, sealed classes, pattern matching, virtual threads, text blocks. Use when user asks about modern Java, Java 21 features, or when modernizing existing code.
conventions
Spring Boot project conventions and mandatory rules. Auto-loads when working with Spring Boot, Java, or Maven projects. Enforces No-Lombok, constructor injection, RestClient, Flyway for relational databases, Problem Details errors, and other standards; adds OpenAPI contract rules when the API is built for a UI.