Use when you need to set up Java application profiling to detect and measure performance issues — including trusted preinstalled async-profiler v4.x setup, problem-driven profiling (CPU, memory, threading, GC, I/O), interactive profiling scripts, JFR integration with Java 25 (JEP 518, JEP 520), or collecting profiling data with flamegraphs and JFR recordings. This should trigger for requests such as Improve the code with profiling; Apply Profiling; Refactor the code with profiling; Add profiling support; Collect JFR or async-profiler data for Java performance. Part of Plinth Toolkit
$npx -y skills add jabrena/plinth --skill 161-java-profiling-detectInstalls into the current project.
Run `npx skills use "https://github.com/jabrena/plinth" --skill "jabrena/plinth/161-java-profiling-detect"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/jabrena/plinth" that are relevant to the current task. Run `npx skills add "https://github.com/jabrena/plinth"` and select the relevant skills, then follow their instructions.