Agent skill

Docker Jfr Benchmark Loop

by eclipse-rdf4j in eclipse-rdf4j/rdf4j

Run a repeatable RDF4J performance loop against one JMH benchmark in Docker with Linux Java 26 and JFR CPU-time profiling.

BSD-3-ClauseAuto-check passedDevOps & Cloud

Install Docker Jfr Benchmark Loop

skills CLI
$ npx skills add eclipse-rdf4j/rdf4j --skill docker-jfr-benchmark-loop -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install eclipse-rdf4j/rdf4j docker-jfr-benchmark-loop --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/eclipse-rdf4j/rdf4j.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agent/skills/docker-jfr-benchmark-loop .claude/skills/docker-jfr-benchmark-loop && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docker-jfr-benchmark-loop
GitHub stars
420
Token cost
~945 tokens
SKILL.md length
337 words
Files
5 (incl. scripts, references)
Skills in repo
6
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Run a repeatable RDF4J performance loop against one JMH benchmark in Docker with Linux Java 26 and JFR CPU-time profiling.

  • Works in 7 steps: Pick one benchmark selector. Keep… → Capture a baseline run with… → Read the .jfr using… → …
  • Working in this repo on benchmark-guided performance changes
  • SKILL.md covers Quick start, Repo-grounded defaults, Core loop and Operating rules, plus 3 more sections
  • Runs Shell scripts from its folder

What it does

Docker Jfr Benchmark Loop is an agent skill from eclipse-rdf4j/rdf4j. Run a repeatable RDF4J performance loop against one JMH benchmark in Docker with Linux Java 26 and JFR CPU-time profiling. Use when working in this repo on benchmark-guided performance changes, hotspot triage, JFR reading, CPU bottleneck analysis, or repeated baseline, fix, and rerun loops. Trigger on requests mentioning benchmark, profiling, JFR, hotspot, perf loop, CPU bottleneck, or Docker benchmark runs in RDF4J.

Its SKILL.md is about 950 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/jfr-reading.md` and `references/perf-loop.md`).

It sits in DevOps & Cloud, covering Containers. It works with Docker, Java and Linux. The repository describes itself as: Eclipse RDF4J: scalable RDF for Java. The licence is BSD-3-Clause.

When your agent uses it

  • Working in this repo on benchmark-guided performance changes
  • CPU bottleneck analysis
  • Repeated baseline
  • Requests mentioning benchmark

Example prompts

  • “/docker-jfr-benchmark-loop”

Requirements

  • A Bash shell
  • Docker

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Pick one benchmark selector. Keep selector, params, Docker image, and profiling flags constant for the whole comparison.
  2. Capture a baseline run with scripts/run-docker-jfr-loop.sh.
  3. Read the .jfr using references/jfr-reading.md.
  4. Choose one candidate fix with material CPU share. Prefer the fix most likely to move total runtime, not just local self time.
  5. Re-run the exact same selector and params.
  6. Compare benchmark delta plus hotspot shift.
  7. Repeat until

What it can do on your machine

Read from SKILL.md and the folder at commit fdbf6e5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Docker Jfr Benchmark Loop loads about 945 tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 112 tokens; SKILL.md has 337 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~112
When it runs · the whole SKILL.md, loaded when a task matches
~945
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from eclipse-rdf4j/rdf4j at commit fdbf6e5, republished under its BSD-3-Clause licence (© eclipse-rdf4j). 337 words, ~945 tokens.

Download SKILL.mdSave it as .claude/skills/docker-jfr-benchmark-loop/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
docker-jfr-benchmark-loop
description
Run a repeatable RDF4J performance loop against one JMH benchmark in Docker with Linux Java 26 and JFR CPU-time profiling. Use when working in this repo on benchmark-guided performance changes, hotspot triage, JFR reading, CPU bottleneck analysis, or repeated baseline, fix, and rerun loops. Trigger on requests mentioning benchmark, profiling, JFR, hotspot, perf loop, CPU bottleneck, or Docker benchmark runs in RDF4J.

Docker JFR Benchmark Loop

Use this skill for one-benchmark perf work in this repo. Default runner: scripts/run-docker-jfr-loop.sh, not ad hoc Maven or raw JMH commands.

Quick start

Dry-run a known selector:

bash
.codex/skills/docker-jfr-benchmark-loop/scripts/run-docker-jfr-loop.sh \
  org.eclipse.rdf4j.model.benchmark.ValueCreationBenchmark.createBNode \
  --dry-run

Explicit selector plus params:

bash
.codex/skills/docker-jfr-benchmark-loop/scripts/run-docker-jfr-loop.sh \
  --module core/model \
  --class org.eclipse.rdf4j.model.benchmark.ValueCreationBenchmark \
  --method createBNode \
  --param samples=1000

Repo-grounded defaults

  • The wrapper calls repo helper scripts/run-single-benchmark-docker.sh.
  • The Docker helper already forces Linux Java 26 plus --enable-jfr --enable-jfr-cpu-times.
  • The inner helper already enforces:
    • settings=profile
    • dumponexit=true
    • duration=120s
    • warmup=0
    • measurement=10 iterations of 10s
    • forks=1
    • jdk.CPUTimeSample#enabled=true
    • report-on-exit=cpu-time-hot-methods
  • This skill wrapper adds the missing fidelity flags:
    • -XX:FlightRecorderOptions=stackdepth=1024,samplethreads=true
    • -XX:+UnlockDiagnosticVMOptions
    • -XX:+DebugNonSafepoints

Core loop

  1. Pick one benchmark selector. Keep selector, params, Docker image, and profiling flags constant for the whole comparison.
  2. Capture a baseline run with scripts/run-docker-jfr-loop.sh.
  3. Read the .jfr using references/jfr-reading.md.
  4. Choose one candidate fix with material CPU share. Prefer the fix most likely to move total runtime, not just local self time.
  5. Re-run the exact same selector and params.
  6. Compare benchmark delta plus hotspot shift.
  7. Repeat until:
    • the hotspot shifts,
    • CPU share falls below a meaningful threshold,
    • or GC / locks / memory / I/O / JIT behavior dominates instead.

Operating rules

  • Route benchmark variation through --param.
  • Route JVM tuning through --jvm-arg.
  • Do not use raw --jmh-arg during JFR runs; the helper rejects extra JMH args when JFR is enabled.
  • Do not switch to a second StartFlightRecording; stay aligned with repo helper behavior.
  • Do not treat a small benchmark gain as proof the hotspot fix failed. First check whether another bottleneck surfaced and now caps the total speedup.
  • If the run is not CPU-bound, say so and pivot to lock, GC, memory, I/O, or JIT evidence instead of forcing a CPU-only story.

Output contract

Answers using this skill should usually include:

  • exact run command
  • .jfr path
  • top CPU hotspots
  • confidence notes
  • next-fix hypothesis
  • whether a second bottleneck likely masks part of the gain

Escalate cleanly

Reference map

© eclipse-rdf4j, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in .agent/skills/docker-jfr-benchmark-loop of eclipse-rdf4j/rdf4j.

  • SKILL.md
  • agents/openai.yaml
  • references/jfr-reading.md
  • references/perf-loop.md
  • scripts/run-docker-jfr-loop.sh

Open the folder on GitHubat commit fdbf6e5

Compare with similar skills

Docker Jfr Benchmark Loop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Docker Jfr Benchmark Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docker Jfr Benchmark Loop this skilleclipse-rdf4j/rdf4j420—~945Automated safety check: PassBSD-3-Clause
Swig CI Reproswig/swig6.3k—~1.2kAutomated safety check: PassCustom licence
Alibabacloud Ecs Sec Userspacealiyun/alibabacloud-ecs-troubleshoot-skills1481 repos~2.6kAutomated safety check: NotesApache-2.0
Opik Local Dev Environmentcomet-ml/opik22k—~734Automated safety check: PassApache-2.0
.NET Crash Dump Collectiondotnet/skills5.6k2 repos~1.1kAutomated safety check: PassMIT
Minimegasandia-minimega/minimega160—~3.2kAutomated safety check: PassGPL-3.0-only

Similar skills

  • Swig CI Repro

    swig/swig

    Reproduce a GitHub Actions Linux CI failure locally when it does not happen on your machine: a podman/docker image that mirrors the ubuntu-22.04 runner by reusing the real Tools/CI-linux-.sh install…

    6.3k GitHub stars~1.2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Alibabacloud Ecs Sec Userspace

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 用户态安全入侵检测与取证工具,专为 AI Agent 设计。自动判断服务器是否被入侵, 提供完整证据链和可执行修复建议。51 个安全分析器覆盖进程/网络/认证/持久化/Rootkit/ 恶意软件/内存取证/容器逃逸等 12 类检测维度,10 个数据采集器全面采集系统状态, 映射 103+ MITRE ATT&CK 技术,支持 standalone/docker/k8s 三种部署模式。

    148 GitHub starsUsed in 1 repo~2.6k tokens
    DevOps & CloudAuto-check: notes
  • Starts, rebuilds, and troubleshoots the Opik local dev stack, including an optional Comet Platform integration mode for the Opik team.

    22k GitHub stars~734 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Official

    Configures automatic crash dumps or captures dumps from running processes for modern .NET apps on Linux, macOS and Windows, including Docker and Kubernetes.

    5.6k GitHub starsUsed in 2 repos~1.1k tokens
    DevOps & CloudAuto-check passed
  • Minimega

    sandia-minimega/minimega

    This skill should be used when the user asks how to configure, run, automate, integrate, or troubleshoot minimega (VMs, namespaces, VLANs, clusters, miniccc, miniweb, command socket or Python API…

    160 GitHub stars~3.2k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Oneclickvirt

    oneclickvirt/oneclickvirt

    OneClickVirt operations skill for managing containers, virtual machines, provider nodes, health checks, and metrics through MCP.

    372 GitHub stars~1.1k tokensUpdated 6 days ago
    DevOps & CloudAuto-check passed

More from eclipse-rdf4j/rdf4j

  • Jmh Benchmark Compare

    eclipse-rdf4j/rdf4j

    Parse JMH result text by finding the first header line that starts with Benchmark and contains Mode and Score, build a structured table for all columns/rows, compare overlapping benchmarks across 2+…

    420 GitHub stars~804 tokensUpdated today
    Auto-check passed
  • Mvnf

    eclipse-rdf4j/rdf4j

    Run Maven tests in this repo with a consistent workflow (module test-artifact cleanup, root -Pquick install to refresh .m2repo, then module verify or a single test class/method).

    420 GitHub stars~971 tokensUpdated today
    Auto-check passed
  • Query Plan Snapshot CLI

    eclipse-rdf4j/rdf4j

    Use QueryPlanSnapshotCli to capture and compare RDF4J query plans, then assess likely performance improvements/regressions from execution verification and semantic plan diffs.

    420 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Debug Surefire

    eclipse-rdf4j/rdf4j

    Debug Maven Surefire unit tests by running them in JDWP "wait for debugger" mode (-Dmaven.surefire.debug) and attaching to the forked test JVM using jdb (preferred for CLI/agent debugging)…

    420 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Gh Read Inspector

    eclipse-rdf4j/rdf4j

    Retrieve GitHub issues, pull requests, and milestones with read-only, whitelisted gh commands only.

    420 GitHub stars~950 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Docker Jfr Benchmark Loop

What does Docker Jfr Benchmark Loop do?

Run a repeatable RDF4J performance loop against one JMH benchmark in Docker with Linux Java 26 and JFR CPU-time profiling. Docker Jfr Benchmark Loop is an agent skill from eclipse-rdf4j/rdf4j. Run a repeatable RDF4J performance loop against one JMH benchmark in Docker with Linux Java 26 and JFR CPU-time profiling.

When should I use Docker Jfr Benchmark Loop?

Docker Jfr Benchmark Loop fits situations like: working in this repo on benchmark-guided performance changes; CPU bottleneck analysis; repeated baseline; requests mentioning benchmark.

How do I install Docker Jfr Benchmark Loop in Claude Code?

Run `npx skills add eclipse-rdf4j/rdf4j --skill docker-jfr-benchmark-loop -a claude-code`. Or copy the skill folder (.agent/skills/docker-jfr-benchmark-loop in eclipse-rdf4j/rdf4j) into .claude/skills/docker-jfr-benchmark-loop in your project. Claude Code loads it when a task matches its description.

How do I install Docker Jfr Benchmark Loop in Codex?

Run `npx skills add eclipse-rdf4j/rdf4j --skill docker-jfr-benchmark-loop -a codex`. Or copy the skill folder (.agent/skills/docker-jfr-benchmark-loop in eclipse-rdf4j/rdf4j) into .agents/skills/docker-jfr-benchmark-loop in your project. Codex loads it when a task matches its description.

Can I use Docker Jfr Benchmark Loop in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add eclipse-rdf4j/rdf4j --skill docker-jfr-benchmark-loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docker-jfr-benchmark-loop, .gemini/skills/docker-jfr-benchmark-loop, .github/skills/docker-jfr-benchmark-loop and .opencode/skills/docker-jfr-benchmark-loop in your project.

What does Docker Jfr Benchmark Loop need to run?

Going by SKILL.md and its folder, Docker Jfr Benchmark Loop needs a shell for the scripts in its folder. Our summary lists: A Bash shell; Docker.

Does Docker Jfr Benchmark Loop access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Docker Jfr Benchmark Loop safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Docker Jfr Benchmark Loop use?

Docker Jfr Benchmark Loop is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Docker Jfr Benchmark Loop use?

About 945 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Docker Jfr Benchmark Loop?

Skills that share tags, products or a category with Docker Jfr Benchmark Loop: Swig CI Repro (swig/swig, 6.3k stars), Alibabacloud Ecs Sec Userspace (aliyun/alibabacloud-ecs-troubleshoot-skills, 148 stars), Opik Local Dev Environment (comet-ml/opik, 22k stars) and .NET Crash Dump Collection (dotnet/skills, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docker Jfr Benchmark Loop?

eclipse-rdf4j (a GitHub organization) maintains it in eclipse-rdf4j/rdf4j, which has 420 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 7, 2026.

Source: eclipse-rdf4j/rdf4j on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.