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 | $0.00019 | $0.01575 |
| Sonnet 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 11d 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.
- 11d 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 20d ago), licensed MIT. It adds 39 tokens to every session and 3,150 once invoked, about $0.0002 per session on Opus 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
ai-rulez
Manage AI assistant governance rules across Claude, Cursor, Windsurf, Copilot, Gemini, and other tools using ai-rulez. Use when configuring rules, context, skills, domains, profiles, includes, plugins, or generating tool-specific outputs.
rust-conventions
Rust code conventions covering edition 2024, cargo fmt/clippy, Result-based error handling, unsafe discipline, async with tokio, API-guideline naming, trait implementations, benchmarking, and security scanning. Load when writing or reviewing Rust code.
vite-plus-conventions
vite+ unified TypeScript toolchain conventions: the vp CLI for package/node management, oxlint/oxfmt, type-aware linting, vitest, rolldown/tsdown bundling, task caching, and migration. Load when configuring or reviewing a vite+ TypeScript toolchain.
go-conventions
Go code conventions covering Effective Go, error wrapping, golangci-lint, govulncheck, table-driven tests, interfaces, context usage, modules, and concurrency. Load when writing or reviewing Go code.
python-conventions
Python code conventions covering type hints, Ruff formatting/linting, mypy/pyright, pytest, async I/O, uv packaging, and dependency security scanning. Load when writing or reviewing Python code.
cgo-bindings
cgo conventions for linking Go to a C or Rust static library: import "C" directives, type/string conversion, CString memory management, thread safety, and Go pointer pinning. Load when generating or reviewing cgo bindings that call a C or Rust core from Go.