/argus-jvm-harness:argus-jvm-harnessfrom argus-jvm-harness
Monitors running JVMs for GC issues, heap leaks, thread growth, and pause-time spikes, then produces a severity-ranked report with recommended JVM flags using the Argus CLI.
Ships in argus-jvm-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A thin Claude Code wrapper around argus harness <pid>. The CLI does the work; this skill picks the right invocation, bootstraps the CLI when needed, and summarises the resulting session in natural language.
The user says any of: "monitor my JVM", "watch this process", "check why GC keeps spiking", "is there a leak in pid X", "tune the JVM at ", "harness", or anything implying a time-window health check rather than a single-snapshot one. For one-shot questions ("how does my heap look right now?"), prefer argus doctor <pid> instead.
A target PID. If the user hasn't given one, ask them or run argus ps first to list candidates.
Locate the CLI. Run command -v argus. If absent, install it once with the official installer (no flags, public host):
curl -fsSL https://raw.githubusercontent.com/rlaope/Argus/master/install.sh | bash
then re-resolve PATH with source ~/.zshrc or use the absolute path ~/.argus/bin/argus.
Pick a profile.
--profile=quick (2 s tick, default 1 min): use for fast spot-checks and demos.--profile=deep (10 s tick, default 30 min): default for real investigations.
The user's words usually decide: "quick look" → quick; "monitor for 10 minutes / for a while / overnight" → deep.Run with a JSON sink so the model can read findings programmatically:
argus harness <pid> --profile=deep --duration=<user-specified-or-30m> --out=/tmp/argus-harness.json --format=json
Stream stdout to the user — the live tick line is informative — but use the JSON file as the source of truth for the summary.
Summarise. After the command exits, read /tmp/argus-harness.json and report:
severity, title, and detail, ordered as the JSON returns them (engine already sorted by severity).hits count for any finding that fired more than once — that is the harness's signal of a persistent problem versus a transient spike.suggestedFlags across all findings, in a single block the user can paste into their JVM args.recommendations array already contains them).Do not modify the JVM. This skill is observation + recommendation only. Never invoke argus vmset, argus gcrun, argus heapdump, or argus jfr start automatically. If the recommendations suggest one of those, surface it as a suggestion and let the user run it.
--duration from the profile if the user did not specify one. Don't pick numbers out of thin air.findings[].severity, findings[].title, findings[].detail, findings[].recommendations[], findings[].suggestedFlags[], and counts.{critical,warning,info}.argus harness --helpWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rlaope/argus --plugin argus-jvm-harnessOther plugins' skills for the same job