agent-platform-tuning

agent-platform-tuning is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 64 tokens per session (4,066 once invoked), scanned A, a copy of agent-platform-tuning, MIT.

A guide for fine-tuning open or Gemini AI models using Google Agent Platform’s managed tuning service. Fine-tuning means adapting a trained model with additional examples for a specific use.

In plain words
What is it for?
It is for tuning supported open or Gemini models through Agent Platform, from environment setup and data preparation through job completion and deployment.
Why use it?
It helps developers prepare data, configure tuning jobs, monitor them, and deploy the resulting model without confusing model tuning with ordinary training or endpoint management.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/tune_gemini_model.py.

Good fit It is for tuning supported open or Gemini models through Agent Platform, from environment setup and data preparation through job completion and deployment.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/hamzabellouch/agent-skills
agentmods
npx agentmods add skills/hamzabellouch/agent-skills/agent-platform-tuning

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-platform-tuning

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/agent-platform-tuning/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/agent-platform-tuning)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/agent-platform-tuning"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/agent-platform-tuning/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-platform-tuning

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/agent-platform-tuning"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/agent-platform-tuning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,066 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 83% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.04066
Opus 5 $0.00032 $0.02033
Sonnet 5 $0.00013 $0.00813
Haiku 4.5 $0.00006 $0.00407

Measured 12d ago against content hash 7363015fcdfe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

agent-platform-tuning scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/calculate_cost.py, scripts/cancel_tuning_job.py, scripts/monitor_tuning_job.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

83% identical to agent-platform-tuning — 360 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AI API and Agent Platform/agent-platform-tuning/SKILL.md · 393 lines

How it starts

The opening of the file, as written. The whole thing — 393 lines — stays where its author put it; the contents beside it link to each section on 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

  1. Model Category Identification: Has the user explicitly stated whether they want to tune an Open Model or a Gemini Model?

    • NoSTOP. Ask the user if they want to tune an Open Model or a Gemini Model. CRITICAL EXCEPTION for Environment Setup Requests: If the user is specifically asking for environment setup instructions (e.g. "What environment setup is needed?"), you MUST provide the full Phase 0 environment setup instructions in your initial response, simultaneously with asking clarifying questions about the model category.
    • 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.md during this step and only recommend models explicitly listed in that catalog. Do not recommend unsupported models like Mistral. Do not proceed with model configuration until the category is confirmed.
    • Yes → Proceed.
  2. Environment Check: Has the environment (Auth, APIs, IAM, Venv) been initialized?

  3. Dataset Status: Is the dataset ready in JSONL format, is its structure valid for tuning, and is it uploaded to Google Cloud Storage?

    -   **No** → Go to [Phase 1: Dataset Preparation & Upload](#phase-1).
    -   **Yes** → Proceed.
    

Read the full file on GitHub · 393 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 393 lines · 64 tokens per session scan A 7363015fcdfe

Subscribe to this mod's changes

agent-platform-tuning is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 4,066 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 83% identical to agent-platform-tuning, differing in 360 lines, and is treated as a copy.