Gemini
Chapter 23 of 24
Expertise in analyzing time-series repository health metrics, investigating root causes, and proposing proactive workflow improvements.
3 minutes · 624 words · 12 sections
Test Data
24 chapters · 60 min
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:
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).
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).actions_spend_minutes and Gemini
usage 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):
gh CLI, GraphQL) to collect data
that supports or refutes EACH hypothesis. You may write temporary local
scripts to slice the data.Before blaming or proposing reflexes that rely on maintainer action:
Before proposing an intervention, accurately identify the blocker:
.github/workflows/ and scripts in tools/gemini-cli-bot/reflexes/scripts/.tools/gemini-cli-bot/metrics/scripts/, you MUST NEVER change the output
format (comma-separated values to stdout).Install this repository
npx skills add google-gemini/gemini-cliSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
main, last pushed 10 August 2026.SKILL.md, not by matching a directory convention. 5 distinct layouts observed: .gemini/skills/*/SKILL.md, packages/core/src/skills/builtin/*/SKILL.md, packages/sdk/test-data/skills/*/SKILL.md, tools/caretaker-agent/cloudrun/triage-worker/.gemini/skills/*/SKILL.md, tools/gemini-cli-bot/.gemini/skills/*/SKILL.md.h1 and no skipped levels:/google-gemini/gemini-cli.md, and each chapter at its own .md URL.