Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

degradation-association-offline

Skill by verl-project

Analyzes a user-selected time range from the local RL-Insight Prometheus TSDB. It saves grouped Top-25 degradation associations and root-cause hypotheses under analysis/. Made for one-shot offline review of RL training performance.

  • Score 73
  • 111 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install degradation-association-offline

Built from the published package, never by AI.

git clone --depth 1 https://github.com/verl-project/rl-insight /tmp/rl-insight && mkdir -p ~/.claude/skills && cp -r /tmp/rl-insight/.agent/skills/degradation-association-offline ~/.claude/skills/degradation-association-offline

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install degradation-association-offline in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill runs the deterministic degradation analysis code in recipe/perf_analysis/degradation on a time range the user supplies. It reads data from RL-Insight's local Prometheus TSDB with promtool tsdb dump, not from a live Prometheus HTTP port. The analysis uses a KDE baseline, eight timing_s_* event targets, a 3-of-5 event lifecycle and association ranking. For each final event, it presents the Top-25 associated metrics and concise root-cause hypotheses. Results are written to report files under analysis/.

The skill is meant for users who want a single offline analysis of a past training window in RL-Insight. The source says it is not for live monitoring. It asks the assistant to follow the stored algorithm contract and not to reimplement the analysis logic.

Written from the project's SKILL.md and checked against it.

What it can do

  • Offline range analysisAnalyzes a user-supplied start and end time from the local RL-Insight Prometheus TSDB in one run.
  • Degradation association rankingProduces a grouped Top-25 list of metrics associated with each final degradation event.
  • Root-cause hypothesesRanks two fault domains and several likely causes using the returned association scores.
  • Report outputSaves standard_data.json, abnormal_data.json, analysis.json and report.md under analysis/.

What you need

  • A checkout of the verl-project repository containing recipe/perf_analysis/degradation/cli.py
  • Python with the recipe dependencies installed via pip install -e ".[recipe]"
  • RL-Insight local Prometheus TSDB at ~/.rl-insight/data/prometheus
  • promtool for reading the TSDB

Try asking

  • Analyze degradation between 2025-01-10T08:00:00+08:00 and 10:00:00+08:00.
  • Run offline degradation analysis for the range 1736467200 to 1736474400.
  • Show the Top-25 associations for the closed events in my last analysis.

Good to know

  • Offline one-shot analysis only, not live monitoring.
  • Association scores are relative evidence, not fault probability or causality.
  • Does not provide fault-injection commands or procedures.
  • Events still open at the range end are analyzed through the final complete step and marked open_at_range_end.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agent/skills/degradation-association-offline/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to degradation-association-offline

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

degradation-association-offline: common questions

Does this skill query a live Prometheus server?

No. The source says it reads the selected range directly from RL-Insight's local Prometheus TSDB with promtool and does not query a Prometheus HTTP port.

Where are the analysis results saved?

By default they are saved under analysis/<start>_<end>/, including standard_data.json, abnormal_data.json, analysis.json and report.md. A baseline file path can be supplied instead.

Can the association scores prove the root cause?

No. The source states that association score is relative evidence, not fault probability or causality, so the causes are hypotheses.

How do I install degradation-association-offline?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is degradation-association-offline free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is degradation-association-offline safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to degradation-association-offline?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

degradation-association-offline Install

Add to stack

Loading.