finding-google-skills
Locates and loads the right Google product skill on demand from a remote catalog index, instead of preloading every skill. Use at the START of any request…
Generates a Gemini LiveAPI client service class in the user's chosen programming language. Use when the user wants to build, scaffold, or integrate a client that connects to the Gemini Enterprise LiveAPI websocket endpoint, handles session setup/resumption, bearer token refresh,
$ npx -y skills add google/skills --skill gemini-live-api --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gemini-live-apiContext preview
The summary Claude sees to decide when to auto-load this skill.
Generates a Gemini LiveAPI client service class in the user's chosen programming language. Use when the user wants to build, scaffold, or integrate a client that connects to the Gemini Enterprise LiveAPI websocket endpoint, handles session setup/resumption, bearer token refresh,
name: gemini-live-api metadata: category: AiAndMachineLearning description: >- Generates a Gemini LiveAPI client service class in the user's chosen programming language. Use when the user wants to build, scaffold, or integrate a client that connects to the Gemini Enterprise LiveAPI websocket endpoint, handles session setup/resumption, bearer token refresh, and sending/receiving `ClientMessage`/`ServerMessage` protos. Don't use for general (non-live, non-bidirectional) Gemini API usage such as one-shot `generateContent`, embeddings, image/video generation, or fine-tuning — use the `gemini-api` skill for those.
This skill provides instructions for generating a **LiveAPI client service class** that connects to the Gemini Enterprise Live API over WebSockets. The generated client handles bidirectional streaming, bearer-token authentication via Application Default Credentials (ADC), transparent session resumption, and `ClientMessage` / `ServerMessage` proto exchange.
The skill also produces a demo frontend + backend service so the user can interactively validate the generated client (text, audio, video, transcription, and interrupt handling).
Before running the generation flow, ensure the following are available on the host:
APIs enabled.
client:
gcloud auth application-default login
where the generated code, environment, and demo will be written. **Never** mutate the host's system Python environment.
reference language for this skill).
Provided files in `references/` (do **not** treat these as standalone skills — they are loaded on demand):
`ServerMessage` schemas used by the Live API.
`client_server_messages.md`.
and resumption on disconnection.
Copy `client_server_messages.md`, `client_server_messages.proto`, and `session_manager.md` from this skill's `references/` folder into the user's destination output folder. These files become the source of truth for the generated client.
Examine the public documents linked from `client_server_messages.md`. If there are any discrepancies between the public documents and the copied `client_server_messages.md` / `client_server_messages.proto`, update the copies in the destination folder so the generated client compiles and runs against the current server contract.
Implement a class in the user's chosen language that:
`ServerMessage`).
model.
For languages that require an isolated runtime (e.g. Python), create an isolated environment (e.g. `venv`) **inside the destination folder** and generate a bash script (e.g. `setup.sh`) that recreates the environment and installs dependencies. **Never** install into the system interpreter or the user's global site-packages, and never instruct the user to run `sudo pip install`.
The user provides the following at construction time:
Obtain a bearer token via Application Default Credentials, attach it to the WebSocket connect request as `Authorization: Bearer <token>`, refresh the token before or upon expiry, and reuse the refreshed token on every reconnection (including `go_away` and unexpected disconnects). **Do not** hard-code a long-lived API key as the only auth mechanism.
The class MUST expose the following async methods, gated on receipt of a `setup_complete` `ServerMessage` before sending:
carrying a `realtime_input` field.
contributes to history. `data` is a `ClientMessage` carrying a `client_content` field.
stream.
Do not expose synchronous blocking variants as the primary API surface.
Once the client is implemented, generate a test file that initializes the connection and exercises sending `text`, `audio`, and `video` data and receiving the responses. Ask the user for any information required to run the test (project, model, media samples).
Provide a `how_to_run.md` in the destination folder that documents the generated class. Include full examples showing how to build `ClientMessage` payloads for every supported modality, how to send them, and how to receive data from the model.
Create scripts that deploy the implementation as a service with both a frontend UI and a backend service (any language). The service MUST reuse the `ClientMessage` / `ServerMessage` protos from Step 1 for wire traffic. Through the UI the user should be able to:
str
This repository contains Agent Skills for Google products and technologies, including Google Cloud.
Repo: google/skills
Locates and loads the right Google product skill on demand from a remote catalog index, instead of preloading every skill. Use at the START of any request…
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.…
Provides expert guidance on authenticating and authorizing to Google Cloud services and APIs, covering human users, service identities, Application Default…
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource. Use when a new…
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and…
Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager API and its associated client…