agent-platform-tuning-management
Ce qu’il fait
Cette skill aide un agent IA à suivre les tâches d'ajustement de modèles déjà en cours sur Google Cloud. Elle s'adresse aux personnes qui veulent suivre leurs entraînements ou arrêter une tâche qui a duré trop longtemps.
Quand l’utiliser
- ✓Quand vous voulez voir l'état de vos ajustements de modèles sur Google Cloud.
- ✓Quand vous devez retrouver une tâche d'ajustement active qui tourne encore.
- ✓Quand une tâche d'ajustement a duré trop longtemps et que vous voulez l'annuler après confirmation.
Lien du skill
https://github.com/google/skills/blob/main/skills/cloud/agent-platform-tuning-management/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Montre-moi l'état de mes tâches d'ajustement de modèles sur Google Cloud, et annule celles qui tournent depuis trop longtemps.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Il utilise le SDK Python d'Agent Platform pour lister ou consulter les tâches d'ajustement. Avant une annulation, il affiche le nom de la tâche et la commande exacte, puis attend votre confirmation saisie.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Agent Platform Tuning Management
This skill provides instructions on how to manage GenAI Tuning Jobs using the Agent Platform Python SDK. Use this skill when a user wants to check the status of their tuning runs, find an active tuning job, or cancel a job that is running too long.
Safety & Confirmation Tiers (CRITICAL)
Before executing any commands on behalf of the user, you MUST adhere to the following safety tiers based on the action requested:
- Tier R: Read-only (
list,get)- Rule: No confirmation needed. You may execute these commands immediately to gather information for the user.
- Tier D: Destructive & Interruptive (
cancel)- Rule: Cancellation is a Tier D action requiring explicit typed confirmation (e.g. "I confirm" or "Yes, cancel it").
- Required Fields in Dry-Run Confirmation Card: Before cancelling a
tuning job, you MUST present a dry-run confirmation preview clearly
listing:
- Target Resource: The full tuning job resource name or ID (e.g.
projects/<PROJECT_ID>/locations/<REGION>/tuningJobs/<JOB_ID>). - Command / Script: The exact cancellation command or Python code to be executed.
- Expected Effect: Stops the ongoing tuning job; any in-progress training will be halted and cannot be resumed.
- Ask the user to explicitly confirm (e.g., "Do you confirm? Please reply with 'I confirm' or 'Yes, cancel it'.").
- Target Resource: The full tuning job resource name or ID (e.g.
- Same-turn restriction: NEVER execute the cancellation in the same turn as presenting the preview card. Stop immediately and wait for the user to confirm in a new turn. Even if the user provided pre-emptive confirmation (e.g. "Yes, I confirm, cancel tuning job ...") or provides a corrected job ID, you MUST present the dry-run preview for that specific job ID and wait for confirmation in a separate turn before issuing the cancellation.
Phase 0: Environment Setup
CRITICAL: Before running any of the Python snippets below, you MUST ensure the environment is correctly initialized by following these steps:
Google Cloud Authentication: Authenticate with your Google Cloud account and configure active Application Default Credentials (ADC) for Agent Platform access:
gcloud auth login gcloud auth application-default loginPython Dependencies: This skill needs
google-cloud-aiplatform. Do not create a virtual environment — it starts empty and hides packages the environment already provides, forcing a redundant install. Probe, and install only what is missing:python3 -c "import vertexai" || pip install google-cloud-aiplatformExecution: Run Python snippets with a plain
python3. There is no environment to activate first.
Workflow Decision Tree
Information Gathering: Do you have a Project ID and Region?
- No -> You MUST ask the user for the missing Project ID and Region in plain text, or advise them to check their gcloud configuration. If neither location has this information, then ask the user to provide it. Do not attempt to search random regions on your own.
- Yes -> Proceed to Step 2.
Task Type: What does the user want to do?
- Find or List Jobs -> Use the Python SDK to list tuning jobs. (Tier R)
- Check Status / Inspect a Specific Job -> Use the Python SDK to get tuning job details. (Tier R)
- Cancel a Job -> Ask for confirmation, then use the Python SDK to cancel the tuning job. (Tier D)
Using the Python SDK
[!NOTE]
Resource Verification & Missing Projects/Jobs: If the execution of the Python snippet fails with an error (such as
403 Permission Denied,404 Not Found,INVALID_ARGUMENT, or indicating a dummy/missing project or job ID), you MUST inform the user that the project or tuning job does not exist or cannot be accessed. You MUST prompt the user to provide a valid Project ID or Job ID, and stop tool execution immediately to wait for their response. Do NOT retry or loop, do NOT assume the resource is valid, and do NOT execute further scripts before receiving valid details from the user.
1. Listing Tuning Jobs (Tier R)
If the user asks "What tuning jobs do I
Questions fréquentes
Peut-il lancer une nouvelle tâche d'ajustement ?
Non. Cette skill se limite à lister, vérifier ou annuler des tâches existantes.
Que se passe-t-il quand j'annule une tâche ?
L'entraînement s'arrête et ne peut pas reprendre, donc annulez seulement si vous en êtes certain.
Annule-t-il des tâches sans demander ?
Non. L'annulation exige une confirmation explicite, par exemple Oui, annule-la.
Détails
Description originale de l’auteur
Manages GenAI tuning jobs in Agent Platform. Use this to list, get, or cancel ongoing model tuning jobs. Don't use for fine-tuning models (use `agent-platform-tuning`), deploying models to endpoints (use `agent-platform-deploy`), or managing serving endpoints (use `agent-platform-endpoint-management`).
repo: google/skills
Popularité
- Étoiles GitHub
- 22k
- Position au classement
- #10210
- Licence
- Apache-2.0
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
finding-google-skills
22kAide votre agent à trouver les bons guides Google pour configurer un projet : hébergement, bases de données, stockage, connexion ou modèles IA.
gcloud
22kAide votre agent à écrire et vérifier les commandes gcloud de Google Cloud, en consultant la syntaxe exacte avant toute exécution pour ne pas deviner les options.
google-cloud-recipe-auth
22kGuide votre agent dans la gestion des identités et des accès Google Cloud, y compris la façon dont les personnes et les services se connectent et les permissions qu'ils obtiennent.
google-cloud-recipe-onboarding
22kAccompagne un nouveau développeur dans ses premiers pas sur Google Cloud, y compris le choix d'un projet, la liaison de la facturation et le déploiement d'une première ressource.
Skills similaires
pytorch-patterns
280kAide votre agent à utiliser PyTorch pour les modèles de machine learning. Il applique les bonnes pratiques pour un entraînement efficace et des résultats reproductibles.
evm-token-decimals
280kAide votre agent à éviter les erreurs de nombres décimaux sur différents réseaux blockchain. Il garantit des valeurs de tokens exactes dans les transactions et les calculs.
ito-inference
280kPermet à votre agent de vérifier la disponibilité des modèles d'IA. Il relie la demande de calcul au service de modèle prêt à l'emploi.