Guide · Agent skill
How to use the Retail Product Search agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The Retail Product Search skill is an agent skill that guides an AI coding agent through building a product search assistant on Google Cloud. It loads a product catalog into BigQuery, sets up a Vector Search collection for meaning-based lookup, scaffolds an ADK agent, and prepares evaluation and Cloud Run deployment. This guide explains what an agent skill is, how to install this one, how to trigger it, and what it needs before you start.
Quick start
- 1Download and unzip the skill. Download the ZIP from this page and unzip it into ~/.claude/skills/ or a project's .claude/skills/ folder, or upload it under Settings → Capabilities → Skills in the Claude apps.
- 2Install the companion skills. Run npx skills add google/skills --skill bigquery-basics gemini-api so the BigQuery and Gemini guidance is available.
- 3Confirm prerequisites. Make sure Python 3.11 or newer, a billed Google Cloud project, and gcloud CLI access are ready, with BigQuery and Vector Search enabled.
- 4Ask for a product search agent. Send a natural request such as build a product search agent. The skill will present the setup mode choice.
- 5Answer the setup questions. Give your GCP project ID and data source, or press Enter to accept the bundled sample catalog and defaults.
- 6Let setup run. The skill runs its setup script, which can take 2-5 minutes, and reports errors from its troubleshooting reference if it fails.
- 7Test a product query. Open the ADK web UI or run the Python smoke test and search the catalog by meaning.
What an agent skill is and what this one does
An agent skill is a folder containing a SKILL.md file and supporting scripts and reference documents. When you ask a compatible AI agent for a matching task, the agent reads the skill and follows its instructions.
This skill creates product search agents with semantic search and retrieval-augmented generation (RAG) on Google Cloud. It handles the full pipeline: ingesting catalog data into BigQuery, setting up a Vector Search collection, scaffolding an ADK agent, running evaluation, and deploying to Cloud Run.
- Loads a catalog: a bundled 5-product demo CSV or your own file (local path or gs:// location).
- Creates a Vector Search collection for meaning-based product lookup.
- Scaffolds a reference ADK agent with a retrieval tool.
- Prepares evaluation and Cloud Run deployment.
Install the skill on macOS, Linux or Windows
Download the skill ZIP from this page and unzip it into one of two locations. For a personal install available in all projects, unzip into ~/.claude/skills/. For a single project, unzip into that project's .claude/skills/ folder.
Alternatively, in the Claude apps, open Settings → Capabilities → Skills and upload the ZIP there.
The companion skills must also be installed. The skill recommends this command when they are missing: npx skills add google/skills --skill bigquery-basics gemini-api. This requires Node with npx.
npx skills add google/skills --skill bigquery-basics gemini-apiCheck the requirements before you start
You need Python 3.11 or newer, a Google Cloud project with billing enabled, and gcloud CLI access. BigQuery and Vector Search (Gemini Enterprise Agent Platform) must be enabled in the project. The skill's own setup uses us-central1, which the source describes as the only confirmed-working region for Vector Search 2.0.
- Python 3.11 or newer
- Google Cloud project with billing
- gcloud CLI access
- BigQuery and Vector Search enabled
- Node/npx for the companion skill install
Trigger the skill with a natural request
Ask your agent in plain language. The skill's description lists phrases that match it, such as build a product search agent, create an e-commerce search, make a shopping assistant, set up semantic catalog discovery, ingest products into Vector Search, or deploy a retail RAG agent.
The skill then opens with a setup mode choice. Quick start asks two questions and takes defaults for the rest. Full setup asks four, adding product fields level and GCP region. Quick start is intended for demos and first-timers; Full setup is intended for real builds.
- "Build a product search agent for my shop catalog."
- "Make a shopping assistant that searches my products by meaning."
- "Ingest my products CSV into Vector Search and deploy a retail RAG agent."
Run the guided setup
Quick start asks for your GCP project ID and the product data location. Press Enter on the data question to use the bundled sample-products.csv. The skill then runs its setup script, which creates a BigQuery dataset and a Vector Search collection. The source notes this can take 2-5 minutes.
After setup succeeds, the skill sets the VECTOR_SEARCH_COLLECTION variable and lets you test with a query. You can test in the ADK web UI or with a direct Python smoke test.
- Quick start: project ID and data source only.
- Full setup: adds product fields level (Basic, Standard, Extended or Full) and GCP region.
export VECTOR_SEARCH_COLLECTION="projects/$GOOGLE_CLOUD_PROJECT/locations/us-central1/collections/retail-skill-products-collection"Safety notes: scripts and network access
This skill runs scripts and uses the network. Its setup scripts create cloud resources, including BigQuery datasets and Vector Search collections, which can incur charges. Review the project, region and IAM settings before running setup, and do not use it with sensitive customer data until you have reviewed the IAM and network setup.
Use the workspace .venv Python and adk binaries, as the skill instructs, so the skill's own install is found.
- Setup creates cloud resources in your GCP project.
- Review IAM and network configuration before using sensitive data.
- Cleanup is handled by a separate cleanup script that the skill documents.
Tips for a smooth first run
Keep your CSV columns consistent with the product fields level you choose. The skill's validation rejects a Custom level. Semantic retrieval works on meaning; the bundled skill does not add structured filters on price or stock, so do not expect those from this version.
If something fails, the skill points to references/troubleshooting.md in its install folder.
- Match Full setup product fields to your CSV columns.
- Use the bundled demo CSV first to confirm the pipeline works.
- Stay in us-central1 unless you have confirmed another region works.
What people use it for
- Prototype a shopping assistant that answers questions like "laptop for video editing" from a product catalog.
- Learn how semantic search and ADK agents fit together using the bundled 5-product demo CSV.
- Load your own product CSV from a local path or gs:// location and build a catalog search agent.
- Scaffold a retail RAG agent as a starting point for a team's evaluation and Cloud Run deployment.
Frequently asked questions
Is the Retail Product Search skill free to use?
The skill is licensed under Apache-2.0. Running it creates Google Cloud resources such as BigQuery datasets and Vector Search collections, which are billed to your project.
What do I need to run it?
You need Python 3.11 or newer, a Google Cloud project with billing, gcloud CLI access, and BigQuery and Vector Search enabled. The companion skills bigquery-basics and gemini-api are also required and need Node/npx to install.
Where do I put the skill folder?
Unzip it into ~/.claude/skills/ for a personal install, or into a project's .claude/skills/ folder. In the Claude apps you can instead upload the ZIP under Settings → Capabilities → Skills.
Can I use it for generic document or keyword search?
No. The skill says it does not cover generic document search, simple keyword search, or non-retail use cases.
Why does setup use us-central1?
The source identifies us-central1 as the only confirmed-working region for Vector Search 2.0. Other regions return a 501 MethodNotImplemented error.
Why does adk web fail or show no agents?
The skill says to point adk web at the skill's scripts folder and to use the workspace .venv/bin/adk rather than a bare adk. Running adk web . fails with 'No agents found in current folder'.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use this skill if you are a developer, team or student who wants a guided, scripted way to build a retail semantic search agent on Google Cloud, and you are comfortable with cloud billing. Pick something else if you need generic document or keyword search, cannot create GCP projects, or plan to handle sensitive customer data without first reviewing IAM and network setup.
Download the skill