Install the "retail-virtual-tryon" agent skill from https://github.com/google/adk-recipes/tree/main/plugins/retail/skills/virtual-tryon into .claude/skills/retail-virtual-tryon/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "retail-virtual-tryon", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add google/adk-recipes --skill retail-virtual-tryon -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "retail-virtual-tryon" agent skill from https://github.com/google/adk-recipes/tree/main/plugins/retail/skills/virtual-tryon into .agents/skills/retail-virtual-tryon/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "retail-virtual-tryon", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add google/adk-recipes --skill retail-virtual-tryon -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "retail-virtual-tryon" agent skill from https://github.com/google/adk-recipes/tree/main/plugins/retail/skills/virtual-tryon into .cursor/skills/retail-virtual-tryon/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "retail-virtual-tryon", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add google/adk-recipes --skill retail-virtual-tryon -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "retail-virtual-tryon" agent skill from https://github.com/google/adk-recipes/tree/main/plugins/retail/skills/virtual-tryon into .gemini/skills/retail-virtual-tryon/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "retail-virtual-tryon", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add google/adk-recipes --skill retail-virtual-tryon -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "retail-virtual-tryon" agent skill from https://github.com/google/adk-recipes/tree/main/plugins/retail/skills/virtual-tryon into .github/skills/retail-virtual-tryon/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "retail-virtual-tryon", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add google/adk-recipes --skill retail-virtual-tryon -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "retail-virtual-tryon" agent skill from https://github.com/google/adk-recipes/tree/main/plugins/retail/skills/virtual-tryon into .opencode/skills/retail-virtual-tryon/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "retail-virtual-tryon", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
retail-virtual-tryon
GitHub stars
10k
Token cost
~3.5k tokens
SKILL.md length
1,434 words
Files
37 (incl. scripts, references, assets)
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0
At a glance
Sets up a virtual try-on agent on Google Cloud that generates image and catwalk-video try-ons with Gemini, from first setup through local testing.
Works in 6 steps: Q-MODE first, always. No exceptions. No… → One question at a time. Show the… → Execute steps in order. Do NOT jump… → …
Setting up a retail virtual try-on demo on Google Cloud
SKILL.md covers STOP -- READ THIS BEFORE…, Execution Rules, Workspace Setup and Mode 1: Quick start (4-5…, plus 9 more sections
Runs Shell and JavaScript scripts from its folder; calls python, gcloud and bash
What it does
The skill distinguishes two modes. A deployed agent answers try-on queries directly with no setup talk. A first-time setup, by contrast, must open with an exact short menu offering a quick-start local sandbox with an interactive six-question configuration, or exporting a web app with GCS catalog sync, and then wait for the user's choice before doing anything else, including before explaining a plan.
During setup it asks one question at a time, shows the default, and accepts an empty answer as that default; answers are saved to a `design-spec.md` file and then passed to a bundled setup script, with each step confirmed before moving to the next. The broader skill covers resource setup, uploading a user's photo, the image and video generation pipelines, and evaluation of the results.
When your agent uses it
Setting up a retail virtual try-on demo on Google Cloud
Generating a catwalk-style video try-on from a product photo
Exporting the try-on agent as a web app with a catalog sync
Example prompts
“Set up a virtual try-on agent for our sunglasses catalog on GCP.”
“Export the try-on sandbox as a web app synced to our GCS bucket.”
“Generate a catwalk video try-on for shirt_001 on the sample user photo.”
Requirements
A Google Cloud project with Gemini access
Python with a virtual environment for the bundled scripts
Workflow steps
6 steps, taken from the first numbered list in SKILL.md.
1Q-MODE first, always. No exceptions. No preamble.
2One question at a time. Show the default. Accept empty input.
3Execute steps in order. Do NOT jump ahead or skip steps.
4Verify each step succeeded before moving to the next.
5Save all answers to ./design-spec.md (in the workspace) as you collect them.
6Confirm completion of each step before proceeding.
What it can do on your machine
Read from SKILL.md and the folder at commit c339821. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Ships 1 file in scripts/ (Shell and JavaScript, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
python
gcloud
bash
From the folder's file list and the shell code blocks in SKILL.md.
Network
No URLs in SKILL.md. Its commands use gcloud, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Retail Virtual Try-On Agent loads about 3.5k tokens when it runs, and up to ~4.1k if it reads all its reference files. Until then it costs about 75 tokens; SKILL.md has 1,434 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~75
When it runs· the whole SKILL.md, loaded when a task matches
~3.5k
With references· SKILL.md plus every file in references/, read only if the agent opens them
~4.1k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
Download SKILL.mdSave it as .claude/skills/retail-virtual-tryon/SKILL.md (or your agent's skills folder). This skill also uses 36 other files; get the full folder from GitHub.
name
retail-virtual-tryon
description
Creates virtual try-on agents supporting image and video (catwalk animation) try-ons on Google Cloud (Gemini image models and Veo on Gemini Enterprise Agent Platform). Handles resource setup, user photo uploading, image/video generation pipelines, local testing, and evaluation.
metadata.author
Google
metadata.license
Apache-2.0
metadata.version
0.2.0
Virtual Try-On Agent
Creates virtual try-on (VTO) agents on Google Cloud supporting image and video (catwalk animation) try-on modes.
STOP -- READ THIS BEFORE RESPONDING
Check your operating mode first — there are two distinct modes:
Mode A: Deployed Try-On Agent
If the system context tells you that setup is complete (e.g. it says "You are a DEPLOYED try-on agent", or the conversation history shows setup has already been completed) —
skip Q-MODE entirely. Respond directly to the user's try-on query.
Do NOT output the Q-MODE block. Do NOT mention setup.
Mode B: First-time Setup (default)
If there is no such context (fresh invocation, no prior setup) —
your VERY FIRST response MUST be the Q-MODE block below. Nothing else.
Do NOT ask about products, industry, GCP project, or anything else first.
Do NOT propose a plan. Do NOT explain what you will do.
Your first message to the user must be EXACTLY this (copy-paste, no changes):
[skill: retail-virtual-tryon] active.
Q-MODE: Pick a setup mode? [default: 1]
1. Quick start -- Local testing sandbox, interactive 6-question config, ~90s. Best for demos.
2. Export Web App & GCS Catalog Sync -- Generate standalone containerized codebase, GCS catalog sync, and Cloud Run config, ~3 min.
Then STOP and wait for the user's answer.
Accept: 1, quick, empty/Enter (= Quick Start), 2, export, sync or webapp (= Export Web App & GCS Catalog Sync).
Execution Rules
Q-MODE first, always. No exceptions. No preamble.
CRITICAL WARNING: Do NOT automatically run setup or deployment scripts (e.g. setup_tryon.py, export_app.py, deploy_cloudrun.sh) upon receiving a general request like "I want to create/deploy a VTO app on GCP". You MUST first present the Q-MODE setup menu choice and wait for the user to select Mode 1, 2, or 3.
One question at a time. Show the default. Accept empty input.
Format: Q: <question text>? [default: <value>]
Pressing Enter = use the default. NEVER ask multiple questions in one turn.
Execute steps in order. Do NOT jump ahead or skip steps.
Verify each step succeeded before moving to the next.
Save all answers to ./design-spec.md (in the workspace) as you collect them.
After the interview, run .venv/bin/python "$SKILL_DIR/scripts/setup.py" --config ./design-spec.md
(see the Workspace Setup section to resolve $SKILL_DIR).
Confirm completion of each step before proceeding.
Before Quick Start has launched setup, the user can say "export", "webapp",
or "deploy" to switch to Mode 2 (Export Web App & GCS Catalog Sync). Carry
over answers already given for project, mode, and region; ask only the
remaining Mode-2 questions (GCS catalog bucket, export directory). After
setup.py has already started buckets/APIs, the workflow is committed -- to run
Mode 2 instead, start a fresh workspace.
Workspace Setup
The skill has two locations:
Install dir -- where SKILL.md and scripts live (varies by host)
Workspace -- the agent's cwd; design-spec.md, .venv, and per-run state live here
By the end of this section the workspace must have .venv/ (with the skill
installed editable), design-spec.md, and SKILL_DIR
exported in the shell.
Run this as ONE shell command -- splitting it across tool calls loses state:
bash
SKILL_DIR=$(for d in ~/.claude/skills ~/.agents/skills ~/.gemini/skills ~/.cursor/skills; do
[ -f "$d/retail-virtual-tryon/SKILL.md" ] && echo "$d/retail-virtual-tryon" && break
done)
bash "$SKILL_DIR/scripts/bootstrap.sh"
bootstrap.sh finds a Python 3.11+ interpreter (with absolute-path fallback
for sandboxed shells), creates .venv, installs the skill editable, and copies
design-spec.md into the workspace.
All scripts run from the install dir against the workspace config. Use
.venv/bin/python, not bare python -- bare python may resolve to a
Python without the skill's editable install on sys.path.
Stream the output. On success, start the local sandbox server in the background:
.venv/bin/python "$SKILL_DIR/scripts/start_sandbox.py" --config ./design-spec.md
Provide the user with the clickable localhost link to test: "VTO fitting room sandbox is running! Open http://localhost:8080 in your browser to test it."
Run GCS sync verification: .venv/bin/python "$SKILL_DIR/scripts/setup_tryon.py" --config ./design-spec.md
Build and Deploy container to Google Cloud Run:
gcloud run deploy vto-retail-app --source ./vto-retail-app/ --region us-west1 --project {gcp_project_id} --allow-unauthenticated
Get the deployed service URL:
gcloud run services describe vto-retail-app --region us-west1 --project {gcp_project_id} --format="value(status.url)"
Output the following structured instructions to the user:
Clickable Cloud Run service link:
"🚀 VTO App is deployed and running on Cloud Run! Open [Cloud Run App URL] in your browser to test it directly."
How to Sync Catalog Images to GCS:bash
gsutil -m rsync -r ./my_clothes/ gs://{gcs_catalog_bucket}/
# Then force index refresh:
curl -X GET "https://{cloud_run_url}/api/catalog?force=true"
How to Embed in Your Website:html
<!-- Place this iframe widget on your product details page -->
<iframe src="https://{cloud_run_url}" width="100%" height="800px" style="border:none; border-radius:12px; box-shadow: 0 4px 20px rgba(0,0,0,0.15);"></iframe>
When to Use
Building virtual try-on fitting rooms for e-commerce.
Creating interactive catwalk-style video animations showing how clothes look when walking.
Enabling general retail try-on for accessories, jewelry, eyewear, or clothes.
Do NOT use for furniture/home styling (use room placement tools), or complex 3D avatar creation.
Resource Setup
Set the parameters in ./design-spec.md (in the workspace), then run:
On success, local sample catalog images will be generated under ./catalog_images/ (unless a GCS bucket or custom catalog path was specified, in which case bucket access will be verified).
Testing & Verification
Set the required environment variables in the shell that runs the agent:
bash
export GOOGLE_CLOUD_PROJECT="<your-project-id>"
export TRYON_OUTPUT_BUCKET="<your-project-id>-tryon-output"
export TRYON_UPLOAD_BUCKET="<your-project-id>-tryon-uploads"
export GEMINI_IMAGE_MODEL="flash" # or pro / gemini-2.5-flash-image / gemini-2.5-pro-image
Run using adk web
Launch the interactive web UI. Use .venv/bin/adk, not bare adk -- bare
adk may resolve to a global Python (pyenv, brew, etc.) whose ADK can't find
the skill and reports an empty app list (UI loads, but /list-apps returns
[] and queries time out).
bash
.venv/bin/adk web .
You can start a chat session and test VTO by providing:
Product ID: shirt_001 or sunglasses_001
User Photo: Upload catalog_images/sample_user.jpg or any photo of yourself.
Request: "Try on this shirt for me" or "Show me a catwalk video wearing these sunglasses".
Direct Python Smoke Test
Run a quick test script without the UI:
bash
# Test image try-on
.venv/bin/python -c "
from scripts.tryon_agent import try_on_product_image
res = try_on_product_image('shirt_001', 'catalog_images/sample_user.jpg', 'catalog_images/shirt_001.jpg', 'clothing', 'red shirt')
print(res)
"
# Test video try-on (Veo)
.venv/bin/python -c "
from scripts.tryon_agent import try_on_product_video
res = try_on_product_video('sunglasses_001', 'catalog_images/sample_user.jpg', 'catalog_images/sunglasses_001.jpg', 'eyewear', 'sunglasses')
print(res)
"
Evaluation
Verify outputs using the local evaluation YAML. Ensure image consistency, correct garment placement, and no visual distortions.
Sandbox Visual Testing
To test the VTO skill interactively with your own catalog of product images, launch the Sandbox Dashboard:
Upload your own portrait photo, select any product card from the scanned catalog, and click Generate Try-On Image.
To index a custom local folder of images, type the folder path in the search header input and click Scan (uses Gemini to automatically catalog and describe them).
Gotchas
Veo video resolution/duration: Video generation via Veo takes ~30-60s. Be patient.
Image Models: Use flash (recommended) or pro for general try-on.
Privacy Compliance: ephemerally upload user photos into the uploads bucket with a 24-hour Lifecycle auto-delete rule (configured automatically by setup_tryon.py).
Retail Virtual Try-On Agent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Retail Virtual Try-On Agent compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Retail Virtual Try-On Agent this skillgoogle/adk-recipes
A skill your agent uses when the user wants to generate a cinematic still image on Higgsfield, asks about shot framing, camera angle, or composition for image prompts, needs a specific shot type…
Use the Gemini API (Nano Banana image generation, Veo video, Gemini TTS speech and audio understanding) to deliver end-to-end multimodal media workflows and code templates for "generation +…
Generates an image or an image-to-video clip through a configured provider API or a signed-in Codex or Grok CLI, and reports the route, file, hash and cost estimate.
Builds a retail product search agent on Google Cloud, from catalog ingestion into BigQuery and Vector Search to ADK scaffolding, evaluation and Cloud Run deployment.
Brings a Python recipe's pyproject.toml in line with the repo's CI rules, either as a read-only dry run or by rewriting the file while keeping comments.
Generates a minimal tests/test_runnability.py for a Python agent recipe that imports the agent module and checks root_agent, adding only the mocks and env vars it needs.
Creates a new Python recipe for the ADK recipes repository by running a scaffold script that copies template files, after confirming the output directory and recipe name.
Reviews a GitHub pull request and drafts a small set of inline comments in a human reviewing voice, each checkable from the line it points at, then posts them after approval.
Makes an existing Python recipe deployable: generates the serving files a container needs (Dockerfile, .dockerignore, fastapiapp.py, apputils/a2a.py, apputils/services.py…
Sets up a virtual try-on agent on Google Cloud that generates image and catwalk-video try-ons with Gemini, from first setup through local testing. The skill distinguishes two modes. A deployed agent answers try-on queries directly with no setup talk.
When should I use Retail Virtual Try-On Agent?
Retail Virtual Try-On Agent fits situations like: setting up a retail virtual try-on demo on Google Cloud; generating a catwalk-style video try-on from a product photo; exporting the try-on agent as a web app with a catalog sync.
How do I install Retail Virtual Try-On Agent in Claude Code?
Run `npx skills add google/adk-recipes --skill retail-virtual-tryon -a claude-code`. Or copy the skill folder (plugins/retail/skills/virtual-tryon in google/adk-recipes) into .claude/skills/retail-virtual-tryon in your project. Claude Code loads it when a task matches its description.
How do I install Retail Virtual Try-On Agent in Codex?
Run `npx skills add google/adk-recipes --skill retail-virtual-tryon -a codex`. Or copy the skill folder (plugins/retail/skills/virtual-tryon in google/adk-recipes) into .agents/skills/retail-virtual-tryon in your project. Codex loads it when a task matches its description.
Can I use Retail Virtual Try-On Agent in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add google/adk-recipes --skill retail-virtual-tryon -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/retail-virtual-tryon, .gemini/skills/retail-virtual-tryon, .github/skills/retail-virtual-tryon and .opencode/skills/retail-virtual-tryon in your project.
What does Retail Virtual Try-On Agent need to run?
Going by SKILL.md and its folder, Retail Virtual Try-On Agent needs a shell and JavaScript for the scripts in its folder and the command-line tools its instructions call (python, gcloud and bash). Our summary lists: A Google Cloud project with Gemini access; Python with a virtual environment for the bundled scripts.
Does Retail Virtual Try-On Agent access the network?
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Is Retail Virtual Try-On Agent safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
What licence does Retail Virtual Try-On Agent use?
Retail Virtual Try-On Agent is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Retail Virtual Try-On Agent use?
About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 614 tokens, read only when the agent opens those files.
What are the alternatives to Retail Virtual Try-On Agent?
Skills that share tags, products or a category with Retail Virtual Try-On Agent: Higgsfield Image Shots (OSideMedia/higgsfield-ai-prompt-skill, 701 stars), Mulerouter (aiskillstore/marketplace, 430 stars), Google Gemini Media (sundial-org/awesome-openclaw-skills, 663 stars) and Seedance Storyboard Generator (liangdabiao/Seedance2-Storyboard-Generator, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Retail Virtual Try-On Agent?
google (a GitHub organization, an official publisher) maintains it in google/adk-recipes, which has 10,421 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 8, 2026.
Source: google/adk-recipes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.