metrics

Analyzes time-series repository health metrics to identify trends and root causes.

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/rameshkumarchouhanr/gemni-cli --skill metrics-rameshkumarchouhanr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrics
Source: https://github.com/rameshkumarchouhanr/gemni-cli/tree/main/tools/gemini-cli-bot/.gemini/skills/metrics
Command: npx skills add https://github.com/rameshkumarchouhanr/gemni-cli --skill metrics-rameshkumarchouhanr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Repository maintainers struggle to spot deteriorating health trends, diagnose their root causes, and decide which workflow improvements to prioritize without a structured analysis process. ## Core Features & Use Cases - Time-Series Trend Analysis: Loads metrics-timeseries.csv to detect anomalies like rising PR latency or growing open issue backlogs. - Hypothesis-Driven Root Cause Investigation: Develops competing hypotheses and gathers evidence via gh CLI and GraphQL to confirm the most supported cause. - Workload-Aware Recommendations: Assesses maintainer capacity and actor-specific bottlenecks before proposing automation reflexes or policy changes. - Use Case: A maintainer notices PR review latency creeping up over weeks; this Skill analyzes the time-series data, tests hypotheses about reviewer overload versus CI delays, and proposes a targeted routing automation. ## Quick Start Analyze the repository metrics time-series to find the most significant health trend and investigate its root cause.

Frequently Asked Questions about metrics

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

FAQPage Schema
How do I analyze repository health metrics over time?

Load the metrics-timeseries.csv history file and compare it against recent point-in-time snapshots to detect deteriorating trends like rising PR latency or growing open issues. Then investigate the single most significant trend with hypothesis testing.

How to find the root cause of increasing PR review latency?

Develop competing hypotheses such as reviewer overload, author inaction, or CI delays, then gather evidence using the gh CLI and GraphQL queries to support or refute each one. Select the cause most strongly supported by the collected data.

Can this skill create pull requests with its proposed changes?

Only when the orchestrator's System Directive enables PR creation for the run. In that case it activates the prs skill to generate a PR description and stage changes; otherwise it only reports findings without staging files.

When should LLM classification be used instead of deterministic scripts?

Prefer deterministic TypeScript or Git logic whenever it achieves equivalent quality. Use the Gemini CLI only for semantic classification tasks like sentiment analysis or triage labeling, never for execution or decision-making.

What are the limitations of metrics-based repository analysis?

Analysis depends on the quality and coverage of the recorded time-series data and cannot modify the output format of existing metrics scripts. Cost-saving recommendations are the lowest priority and only apply after health and latency concerns are addressed.