agent-platform-eval-flywheel Skill (Google's own repo): Evaluate AI Agents and Models
Guides your assistant through measuring and improving an AI model or agent on Google Cloud with the Eval Quality Flywheel.
- Installs
- 8.8K
- on skills.sh
- Stars
- 21.8K
- on GitHub
- Files
- 12
- besides SKILL.md
- Updated
- Nov 2026
- last repo commit
This skill, from Google's own skills repo, runs a five-stage loop for evaluating a model or agent on Google Cloud. It prepares an eval dataset, runs inference, grades with metrics, analyzes failures and compares results after each fix.
It bundles seven Python scripts. It needs a Google Cloud project, the GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION settings and a few Python packages. Evaluation calls cost compute, so the skill shows a preview and waits for your Yes before each run.
Good for
- Teams building agents on Google Cloud Agent Platform who need repeatable quality scores
- ML engineers comparing results before and after a prompt or tool fix
- Developers with no test data who need synthetic user scenarios
Install agent-platform-eval-flywheel
Claude Code
- 1
Download the skill folder from https://github.com/google/skills/tree/HEAD/skills/cloud/agent-platform-eval-flywheel.
- 2
Put it at ~/.claude/skills/agent-platform-eval-flywheel/ so that SKILL.md sits directly inside.
- 3
Start a new session; the skill loads when its description matches the task.
Requires Python 3, Google Cloud project and credentials.
Keep the references and scripts folders with SKILL.md. Setup in the SKILL.md probes for vertexai, google.genai, pandas and requests, and runs pip install for google-cloud-aiplatform[evaluation]>=1.163.0 and google-genai>=1.0.0 if they are missing. The skill runs Python scripts and gcloud commands, so there is no Claude app upload route.
Built from the package data we hold. Not yet tested by us.
What's in the skill
When it loads
Measures and improves the quality of AI models and agents on Google Cloud using the Eval Quality Flywheel methodology. Use when generating synthetic user scenarios, evaluating an agent or model, building an eval dataset, picking or writing evaluation metrics, analyzing failures, comparing results before and after a fix, or when guidance is needed on Agent Platform eval methodology — including dataset schema, LLM-as-judge scoring, and common failure causes. For fine-tuning, use agent-platform-tuning. For general production deployment, use agent-platform-deploy.
Sections in SKILL.md
- When to use this skill
- Safety & Confirmation Tiers (CRITICAL)
- Setup
- Correct SDK entrypoints
- The Quality Flywheel
- Shortcuts that waste time
- 1. Prepare Data
- 2. Run Inference
- 3. Grade (always run)
- 4. Analyze Failures
- 5. Optimize & Iterate
- Proving your work
- Rules of Engagement
- SDK Quick Reference
- Bundled scripts
Key facts
- Installs on skills.sh
- 8,760 (Nov 2, 2026)
- Last repo commit
- Nov 1, 2026
- Audits on skills.sh
- Gen Agent Trust Hub: pass, Socket: pass, Snyk: pass
- What it includes
- 13 files: SKILL.md, 5 reference files and 7 Python scripts
- Skill version
- 1.0.3 (SKILL.md metadata)
What it includes
Builds a dataset from EvalCases, a DataFrame, ADK traces or synthetic scenarios.
Cold start calls generate_conversation_scenarios on the server and needs your confirmation. The dataset, schema and ADK trace conversion are described in references/dataset_schema.md.
Write ·
Stage 1: Prepare dataFills in responses or traces by calling an agent, a model ID or a managed agent.
Skipped when traces are already complete. run_inference overwrites an existing response column, so the skill avoids it when you supply responses.
Runs code ·
Stage 2: Run inferenceRuns client.evals.evaluate with metrics, then saves JSON and HTML results.
Always run. Predefined metrics include multi_turn_task_success, general_quality, hallucination, grounding and safety. Custom LLM and code metrics are also supported.
Runs code ·
Stage 3: GradeReads scores, filters failures, and clusters 10+ failures on one metric into themes.
The clustering calls generate_loss_clusters and covers multi_turn_task_success and multi_turn_tool_use_quality only.
Network ·
Stage 4: Analyze failuresApplies a fix, re-grades, and compares baseline with candidate for regressions.
The SKILL.md expects 5 to 10 or more iterations per failing case.
Runs code ·
Stage 5: Optimize and iterateRead-only scripts run freely; paid evaluation calls need your Yes after a dry-run preview.
Every evaluation, re-evaluation, metric change or scenario generation needs its own preview. The agent ends its turn and waits for your reply.
Confirmation tiersEvaluates a deployed endpoint or a Model-as-a-Service model; can deploy a model first.
references/deployment.md uses gcloud ai model-garden models deploy and two scripts. It warns that this can take about 30 minutes per 50 samples.
Runs code ·
Endpoint and MaaS evaluationSeven Python scripts: validate, parse, inspect, compare, render, endpoint, MaaS.
validate_dataset, parse_adk_traces, inspect_results, compare_results, render_html_report, endpoint_evaluation and maas_evaluation.
Runs code ·
Bundled scripts
From the official docs
Permissions
Medium risk
Its evaluation calls spend Google Cloud compute and it can deploy models, so read each preview before you say Yes. It also runs Python scripts and pip install on your machine.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
Evaluation runs spend Google Cloud compute
run_inference, evaluate, generate_conversation_scenarios and generate_loss_clusters invoke LLMs or remote services that incur costs. The SKILL.md requires a preview and your explicit Yes before each one; do not approve blindly. github.com
It can deploy a model to an endpoint
references/deployment.md deploys with gcloud ai model-garden models deploy. It tells the assistant to stop and ask you for the machine type and accelerator, and to confirm the full command before deploying. github.com
Scripts use your gcloud login
endpoint_evaluation.py runs gcloud auth print-access-token and gsutil cat, then posts prompts to the endpoint. Use a project and account scoped to this work. github.com
It installs Python packages if they are missing
Setup probes the imports and runs pip install for google-cloud-aiplatform[evaluation] and google-genai. It says not to create a virtual environment. github.com
Technical details
| Turning on read-only | No switch. The SKILL.md labels five helper scripts Tier R (read-only): inspect_results, compare_results, validate_dataset, parse_adk_traces and render_html_report. Evaluation calls are Tier M and cost compute. |
|---|---|
| Talks to | Google Cloud Agent Platform APIs for your project and location. {location}-aiplatform.googleapis.com or a dedicated endpoint DNS (endpoint_evaluation.py) |
| Scopes |
|
Questions
What does agent-platform-eval-flywheel do?
It guides your assistant through measuring and improving a model or agent on Google Cloud's Agent Platform. The loop has five stages: prepare data, run inference, grade with metrics, analyze failures, then fix and re-grade. It uses the Agent Platform GenAI Evaluation SDK.
Is this Google's own skill?
Yes. It lives in the google/skills repo, which is Google's own collection of agent skills. The SKILL.md sends fine-tuning questions to agent-platform-tuning and general deployment to agent-platform-deploy.
What do I need to run it?
Python with google-cloud-aiplatform[evaluation], google-genai and pandas, a Google Cloud project, and the GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION values. The SKILL.md tells the agent to ask you if the project or location is missing. The endpoint scripts also need gcloud and gsutil with Application Default Credentials.
Does it cost money?
Its evaluation calls invoke LLMs or remote evaluation services that, per the SKILL.md, consume compute resources and incur costs. That is why each run needs a dry-run preview and your explicit Yes. Deploying a model first, for endpoint evaluation, is a separate step you must also confirm.
How do I install it?
Use the install box above. The README installs every skill in google/skills with npx skills add google/skills and lets you pick skills; the skills CLI tab here names just this one. Keep the scripts and references folders with SKILL.md.
Is it safe?
It bundles seven Python scripts that run on your machine, and it can install Python packages and write result files. Read-only helpers run without asking. Paid evaluation calls wait for your confirmation. Review any deployment command before you approve it.
Does it work in the Claude app?
The install box has no Claude app upload tab. The skill runs Python scripts and gcloud commands on your machine, so it needs an agent with a shell.
Information
updated Nov 2, 2026
- Repository
- google/skills
- Folder
skills/cloud/agent-platform-eval-flywheel
Sources
Docs, issue trackers and discussions this page is built from.
Show all 6Hide
- agent-platform-eval-flywheel SKILL.md · github.com
- references/deployment.md · github.com
- google/skills README · github.com
- google/skills marketplace.json · github.com
- endpoint_evaluation.py · github.com
- maas_evaluation.py · github.com