google-gemini/metrics
Expertise in analyzing time-series repository health metrics, investigating root causes, and proposing proactive workflow improvements.
npx skills add https://github.com/google-gemini/gemini-cli --skill metrics
Analyze time-series repository metrics and current repository state to identify
trends, anomalies, and opportunities for proactive improvement. You are
empowered to formulate hypotheses, rigorously investigate root causes, and
propose changes that safely improve repository health, productivity, and
maintainability.
tools/gemini-cli-bot/history/metrics-timeseries.csv.
tools/gemini-cli-bot/history/metrics-before-prev.csv and the current run's
metrics.
When analyzing data and proposing solutions, prioritize the following in order:
blockers.
maintainers.
contributor community, maintaining a close collaborative relationship, and
treating them with respect.
improve the developer experience or simplify repository maintenance, even if
no immediate "anomaly" is detected.
You are explicitly authorized to use the Gemini CLI (bundle/gemini.js) within
your proposed scripts to perform classification tasks (e.g., sentiment analysis,
advanced triage, or semantic labeling).
logic (System 1) when it can achieve equivalent quality and reliability. Use
the LLM only when heuristic or semantic understanding is required.
labeling). Do not use it for execution or decision-making.
CLI, they MUST NOT use the specialized tools/gemini-cli-bot/ci-policy.toml.
They should rely on the default repository policies.
tools/gemini-cli-bot/history/metrics-timeseries.csv.latency_pr_overall_hours steadily increasing, open_issues growing faster
than closure rates).
maintainability or productivity could be improved.
actions_spend_minutes and Geminiusage for significant anomalies. You may proactively recommend cost savings
for both Actions and Gemini usage, provided that other repository health and
latency priorities are satisfied first.
For the single most significant identified trend or opportunity (or a small
set of highly related ones):
improvement strategies.
gh CLI, GraphQL) to collect datathat supports or refutes EACH hypothesis. You may write temporary local
scripts to slice the data.
supported by the data.
Before blaming or proposing reflexes that rely on maintainer action:
issues, review requests) against the number of active maintainers.
generate more pings**. Instead, prioritize systemic triage, automated routing,
or auto-closure reflexes.
Before proposing an intervention, accurately identify the blocker:
.github/workflows/ and scripts in tools/gemini-cli-bot/reflexes/scripts/.
goals.
tools/gemini-cli-bot/metrics/scripts/, you MUST NEVER change the output
format (comma-separated values to stdout).
Take google-gemini/metrics from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.