agent-platform-tuning
Skill by google
Guides an AI assistant through fine-tuning open models and Gemini models on Google Cloud's Agent Platform. It is for developers who want to run tuning jobs with Agent Platform infrastructure.
Install agent-platform-tuning
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/agent-platform-tuning ~/.claude/skills/agent-platform-tuningRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/agent-platform-tuning ~/.gemini/antigravity-cli/skills/agent-platform-tuningAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install agent-platform-tuning in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The agent-platform-tuning skill gives an AI assistant procedural steps for fine-tuning Large Language Models, including both Open Models and Gemini Models, with Agent Platform's tuning service. It covers the lifecycle from environment setup and data preparation to job configuration, monitoring, and deployment.
The skill follows a decision tree. It asks for the Google Cloud project, region, and model category before running commands, and it checks authentication, required APIs, IAM roles, and service agents. It recommends models only from its catalog, such as Gemma 3, Qwen 3, Llama 3.1, Gemini 2.5 Flash, and Gemini 2.5 Pro. It is aimed at developers who want to tune models on Agent Platform.
Written from the project's SKILL.md and checked against it.
What it can do
- Environment setupChecks gcloud installation, authentication, and read-only status of required APIs, IAM roles, and service agents.
- Dataset preparationPrepares a JSONL dataset, confirms the column mapping with the user, and uploads it to Cloud Storage.
- Model recommendationsSuggests one open model, one Gemini model, and one general choice from the supported catalog.
- Location selectionValidates the requested location for open or Gemini models and proposes global for open models.
- Distillation guidanceCovers distillation requests using only the teacher and student models listed in the catalog.
- Tuning job executionConfigures hyperparameters and submits the tuning job.
- Job monitoringTracks the tuning job until it completes.
- Model deploymentCovers deploying the tuned model when it is required.
What you need
- Google Cloud project and region
- gcloud CLI installed and authenticated
- Existing Cloud Storage bucket
- Agent Platform API (aiplatform.googleapis.com) enabled
- Cloud Storage API (storage.googleapis.com) enabled
Try asking
- Fine-tune Gemma 3 on my JSONL dataset in my Google Cloud project
- Check that my project is ready for Agent Platform model tuning
- Recommend a model to tune for customer support chat
Good to know
- Does not cover model training outside Agent Platform.
- Endpoint deployment and endpoint management are handled by other skills.
- Gemini tuning recommendations are limited to gemini-2.5-flash and gemini-2.5-pro.
- The global location is not accepted for Gemini models.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud/agent-platform-tuning/SKILL.md, skills/cloud/agent-platform-tuning/scripts/calculate_cost.py, skills/cloud/agent-platform-tuning/scripts/cancel_tuning_job.py, skills/cloud/agent-platform-tuning/scripts/list_models.py, skills/cloud/agent-platform-tuning/scripts/monitor_tuning_job.py, skills/cloud/agent-platform-tuning/scripts/prepare_dataset.py, skills/cloud/agent-platform-tuning/scripts/tune_open_model.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md41 KB -
references/attribution.md2 KB -
references/data_prep.md4 KB -
references/hf_datasets.md5 KB -
references/models.md10 KB
Show all 13 files
-
references/requirements.txt100 B -
references/tuning_guide.md2 KB -
scripts/calculate_cost.py13 KB -
scripts/cancel_tuning_job.py1 KB -
scripts/list_models.py1 KB -
scripts/monitor_tuning_job.py2 KB -
scripts/prepare_dataset.py12 KB -
scripts/tune_open_model.py4 KB
Alternatives to agent-platform-tuning
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
agent-platform-tuning: common questions
Does it create a Cloud Storage bucket?
No. The skill says an existing bucket is needed and tells users not to create one through its setup instructions.
Which locations work for open model tuning?
The source lists global, us-central1, europe-west4, us-west1, us-east5, and asia-southeast1. It recommends global.
Can it deploy the tuned model?
It includes a deployment phase when deployment is required. Deployment to endpoints is listed as a separate skill, agent-platform-deploy.
How do I install agent-platform-tuning?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is agent-platform-tuning free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is agent-platform-tuning safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to agent-platform-tuning?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
