agent-platform-tuning
できること
Google Cloudのチューニングサービスを使って、AIモデルのファインチューニングを、エージェントが段階的に進められるようにします。自分の例で、モデルをさらに学習させたい人向けです。
使う場面
- ✓Google Cloudで、オープンモデルまたはGeminiモデルをファインチューニングしたいとき。
- ✓Agent Platformのモデルのチューニングジョブ用に、学習データを準備する必要があるとき。
- ✓セットアップから完成したモデルまで、チューニングジョブを監視したいとき。
スキルのリンク
https://github.com/google/skills/blob/main/skills/cloud/agent-platform-tuning/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私自身の例を使って、Google Cloud上のオープンモデルをファインチューニングする手伝いをしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはまず、Google Cloudのプロジェクトとリージョンを尋ね、データの準備、ジョブの設定、監視を一度に1つのステップで案内します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Agent Platform Model Tuning
Overview
This skill provides procedural knowledge for fine-tuning Large Language Models (both Open Models and Gemini Models) using Agent Platform's tuning service. It covers the entire lifecycle from environment setup and data preparation to job configuration, monitoring, and deployment.
Workflow Decision Tree
Project & Region Verification Check: Has the user provided the Google Cloud project and region?
- No → STOP tool execution immediately. Do NOT run verification
commands (
gcloud services list,gcloud projects get-iam-policy), do NOT create resources, and do NOT begin dataset preparation. Prompt the user to specify or confirm the project and region (e.g. "Could you please specify which Google Cloud project and region you would like to use?").- If the user's inquiry is solely to check or verify environment readiness (APIs, IAM, service agents), ask ONLY for the project and region. Do NOT ask for the model category.
- If the user is requesting a tuning workflow and also omitted whether they want to tune an Open Model or a Gemini Model, you may ask both questions together.
- Yes → Proceed.
- No → STOP tool execution immediately. Do NOT run verification
commands (
Model Category Identification: Has the user explicitly stated whether they want to tune an Open Model or a Gemini Model?
- No →
- EXCEPTION for Environment Verification Inquiries: If the user is only asking to check or verify that the environment, APIs, IAM permissions, or service agents are ready for tuning, do NOT ask for the model category. Verify the environment once the project and region are known and confirm readiness.
- Otherwise, STOP tool execution. Ask the user if they want to tune an Open Model or a Gemini Model. General Setup and Prerequisite Inquiries (e.g., "What environment setup is needed?"): If the user asks what environment setup, prerequisites, APIs, or permissions are needed to start fine-tuning, and has not yet chosen a model category:
- Describe the setup requirements (APIs, IAM permissions/service agents, and Python SDKs).
- Regarding Cloud Storage: state that an existing Cloud Storage bucket
is needed for datasets and artifacts (e.g.,
gs://<existing-bucket>). CRITICAL: Do NOT instruct the user to create a bucket, do NOT output agcloud storage buckets createcommand in setup instructions, and do NOT assume a non-existent bucket exists (users may not have bucket creation permissions and will provide their own existing bucket). - You MUST explicitly conclude your response by asking whether they want to tune an Open Model or a Gemini Model. Never provide setup instructions without asking for the model category choice. (Note: if they ask to actively check or verify a project whose ID or region is missing, ask for the project and region first without running tool calls).
- If the user provides a specific tuning purpose, you should recommend
three models: one Open Model, one Gemini Model, and a third generally
recommended choice. Briefly list the pros and cons of each (e.g., Gemini
models might be more expensive, etc.). CRITICAL: You must read
references/models.mdduring this step and only recommend models explicitly listed in that catalog. Never recommend uncataloged or unsupported models likegoogle/gemma-2-9b-it,gemma-2, orMistral— only recommend supported models such as Gemma 3 (google/gemma3@gemma-3-12b-it), Qwen 3 (qwen/qwen3@qwen3-8b), or Llama 3.1 (meta/llama3_1@llama-3.1-8b). For Gemini models, ONLY recommendgemini-2.5-flash(recommended for general/coding/chat) orgemini-2.5-pro. Never recommendgemini-1.5-flash-002,gemini-1.5-pro-002, orgemini-1.5-flash, which are deprecated and unsupported by the tuning service. If the user names a model that is not in the catalog, follow the fallback rule in that catalog. Do not proceed with model configuration until the category is confirmed. - Yes → Procee
- No →
よくある質問
ファインチューニングにGoogle Cloudのプロジェクトが必要ですか?
はい。スキルは、コマンドを実行する前に、プロジェクトとリージョンを尋ねます。
オープンモデルとGeminiモデルの両方をチューニングできますか?
はい。両方に対応しており、どちらをチューニングするかを尋ねます。
チューニングしたモデルも自動でデプロイしますか?
いいえ。デプロイとエンドポイントの設定は、別のスキルが扱います。
詳細
作者による元の説明
Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use `agent-platform-deploy`), or managing serving endpoints (use `agent-platform-endpoint-management`).
repo: google/skills
人気
- GitHubのスター
- 22k
- ランキング
- #10211
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
finding-google-skills
22kセットアップ作業に合うGoogleの公式ガイドを探すようエージェントを支援します。ホスティング、データベース、ストレージ、サインイン、AIモデルの提供などが対象です。
gcloud
22kエージェントが、Google CloudのgcloudコマンドについてWeb検索に頼らず、正確な構文を確かめてから書いたり確認したりできるよう支援します。
google-cloud-recipe-auth
22kエージェントが、Google Cloudのアイデンティティとアクセス(人やサービスがどうサインインし、どの権限を得るか)について、手順を案内できるよう支援します。
google-cloud-recipe-onboarding
22k新しい開発者が、プロジェクトの選択、請求の設定、最初のリソースのデプロイなど、Google Cloudの最初の手順を進められるよう案内します。