inspect-metrics

Aggregate live endpoint and state file metrics into an operational dashboard.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/martin-janci/claude-code-reviewer --skill inspect-metrics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inspect-metrics
Source: https://github.com/martin-janci/claude-code-reviewer/tree/main/.claude/skills/inspect-metrics
Command: npx skills add https://github.com/martin-janci/claude-code-reviewer --skill inspect-metrics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CLAUDE Code Reviewer's operational metrics are dual-faceted: live endpoint data for real-time health, and a persisted state for crash-recovery and historical context. This skill provides a compact dashboard that surfaces key indicators such as review counts, verdict distribution, errors by phase, and skip reasons to help operators monitor performance and detect issues.

Core Features & Use Cases

  • Live metrics endpoint integration to display current system health and PR processing metrics.
  • Fallback metrics derived from data/state.json for offline or crash-recovery scenarios.
  • Anomaly detection and health signaling to surface potential degradation and bottlenecks.
  • Quick drill-downs by PR status, verdict distribution, error phases, and skip reasons for targeted investigation.

Quick Start

Query the live metrics endpoint at /metrics to view the dashboard.

Frequently Asked Questions about inspect-metrics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor CLAUDE Code Reviewer metrics and PR processing activity?

Monitor CLAUDE Code Reviewer metrics by querying the live /metrics endpoint to display current system health, review counts, verdict distribution, and skip reasons across multiple PRs. The dashboard aggregates live endpoint data with a persisted state file for comprehensive operational visibility.

What metrics can I track for PR review activity, errors, and verdicts?

Track PR review activity, errors, and verdicts by viewing metrics that include review counts, verdict distribution, errors by phase, and skip reasons. Drill down by PR status for targeted investigation to surface potential degradation and bottlenecks.

How does anomaly detection work for code review observability dashboards?

Anomaly detection for code review observability works by applying health signaling to surface potential performance degradation and bottlenecks. It aggregates live endpoint metrics and persisted state data to identify operational performance signals requiring investigation.

Do I need a running instance and config.yaml to access live metrics dashboards?

Yes, you need a running CLAUDE Code Reviewer instance with a valid config.yaml, plus access to the live metrics endpoint and data/state.json. These components provide the real-time health data and persisted state required for dashboard generation.

Can I retrieve review metrics from state.json for offline or crash-recovery scenarios?

Yes, you can retrieve review metrics from data/state.json as a fallback for offline or crash-recovery scenarios. The skill derives fallback metrics from the persisted state file when the live endpoint is unavailable, ensuring historical context and continuity.

What's the best way to investigate PR review errors by phase and skip reasons?

The best way to investigate PR review errors by phase and skip reasons is using the dashboard's quick drill-down capabilities. Filter by PR status, verdict distribution, error phases, and skip reasons for targeted investigation of operational bottlenecks.