Agent skill · Google Agent Skills
/agent-platform-eval-flywheel Evaluate and improve AI agents with a repeatable eval loop
This skill runs Google's evaluation flywheel for models and agents on Agent Platform: prepare a dataset, generate responses, grade them with rubric or custom metrics, analyse failures, then fix and re-grade until targets are met. It asks for confirmation before every evaluation run, saves results as JSON and HTML, and compares runs to catch regressions.
Works with
- Any agent supported by the skills CLI
- Claude Code
- Codex
- Antigravity CLI
Used forMachine learning and evals
When to use it
- You want to measure whether an agent completes user goals and uses tools well.
- You have no test data and need synthetic multi-turn user scenarios.
- You changed a prompt or tool and need proof nothing else regressed.
How it works
- 1Prepare data
The agent builds an evaluation dataset from eval cases, a DataFrame, ADK traces, or server-generated scenarios when you have none.
- 2Run inference
It fills in responses from a model, an agent callable or a managed agent, skipping this step when your dataset already has responses.
- 3Grade with confirmation
It picks rubric metrics that fit the goal, shows a dry-run preview of the evaluation call, and runs it only after you approve.
- 4Analyse failures
It reads real scores, maps each failing metric to a likely fix, and clusters failures when one metric has many.
- 5Fix and compare
It applies a targeted change, re-grades, and diffs against the baseline to confirm the target improved without regressions elsewhere.
What it steers the agent away from
- Lowering metric thresholds so failing cases pass.
- Claiming scores that were not read from an actual result object.
- Overwriting a user's supplied responses by running inference on them.
Install this skill
It installs with the Google Agent Skills pack.
Any agent supported by the skills CLIPrompts you to choose skills, target agents and project or global scope; the update command can also remove skills that were dropped.
npx skills add google/skills
npx skills updateClaude Code (plugins)Plugins bundle skills with the matching Google MCP servers.
claude plugin marketplace add google/skills
claude plugin install <plugin>@google-pluginsCodex (plugins)After adding the marketplace, install plugins from the /plugins browser.
codex plugin marketplace add google/skillsAntigravity CLIPoint the command at the path of the plugin you want inside the repository.
agy plugin install https://github.com/google/skills/<plugin-path>Commands come from the author’s README; check it for changes before you run them.
Questions
Which SDK does it use?
The agentplatform client from the current evaluation SDK; it warns against the superseded vertexai.evaluation classes.
How many iterations should I expect?
The skill expects five to ten or more rounds per failing case and only widens coverage once a case passes.
More guides from Google Agent Skills
/gcloudRun gcloud commands safely with checked syntax and small outputValidates gcloud syntax with leaf-level help, trims output with filters and limits, and holds deletes, IAM and billing for approval.Read the guide →/google-cloud-recipe-authChoose the right Google Cloud credentials for each situationExplains which identity and credential to use, from ADC and impersonation to attached service accounts and workload federation.Read the guide →/google-ads-api-quickstartGet a first Google Ads API request working end to endGets a first Google Ads API campaign query running in a client library or REST and diagnoses the usual access errors.Read the guide →/cloud-logging-finopsAudit Cloud Logging costs and find logs you can dropAudits Cloud Logging spend per service, stream and severity and builds an HTML report with exclusion filters you can paste.Read the guide →/cloud-run-basicsDeploy services, jobs and worker pools to Cloud RunDeploys Cloud Run services, jobs and worker pools from an image or source, with the roles needed and fixes for failed deploys.Read the guide →/compute-vm-creationProvision a hardened Compute Engine VM from a plain requestTurns a plain request into a hardened Compute Engine VM: sizing tier, private networking, OS Login, Shielded VM and teardown.Read the guide →
Also in this pack
/google-cloud-recipe-onboardingWalks a solo developer from tool checks and login to a billed project and a first deployed resource, one question at a time.↗/retrieving-developer-knowledgeSearches official Google developer documentation via MCP tools, or the REST endpoint as fallback, and says when a lookup failed.↗/google-analytics-data-api-basicsEnables the Analytics Data API, configures read-only credentials and builds Google Analytics reports in code.↗/alloydb-basicsSets up AlloyDB clusters, primary instances and backups, and uses the AlloyDB MCP tools for routine operations.↗/bigquery-ai-mlPicks the right BigQuery AI or ML SQL function for forecasting, anomalies, key drivers, semantic search or LLM generation.↗/bigquery-basicsCreates BigQuery datasets and tables, loads data and runs queries with bq and gcloud.↗/bigquery-bigframesWrites BigQuery DataFrames Python that keeps work in BigQuery, using partial ordering, peek() and built-in accessors.↗/bigquery-migration-sql-translatorConverts Teradata, Oracle, Redshift, Snowflake, Spark or Hive SQL to GoogleSQL with the BigQuery Migration Service MCP server.↗/bigquery-optimizationReviews BigQuery editions, reservations, storage billing, partitioning, clustering and individual queries to cut cost.↗/cloud-armor-crs-rule-upgraderAudits Cloud Armor policies and upgrades their OWASP CRS 3.0 or 3.3 rules to CRS 4.22 while keeping opt-in and opt-out lists.↗/cloud-build-basicsCovers cloudbuild.yaml, builders and triggers, and sets up and manually runs a first build trigger.↗/cloud-databases-onboardingAsks about data model, workload and scale, recommends a Google Cloud database and drafts starter provisioning code.↗
Summary by trendhub. The skill itself lives in google/skills/skills/cloud/agent-platform-eval-flywheel by Google (Apache-2.0); read the full, current text there.