Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add hamzabellouch/agent-skills --skill gemini-live-apigit clone --depth 1 https://github.com/hamzabellouch/agent-skillsWrote 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.
[](https://agentmods.dev/skills/hamzabellouch/agent-skills/gemini-live-api)<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/gemini-live-api"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/gemini-live-api/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.
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/gemini-live-api"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/gemini-live-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00117 | $0.02181 |
| Opus 5 | $0.00059 | $0.01091 |
| Sonnet 5 | $0.00023 | $0.00436 |
| Haiku 4.5 | $0.00012 | $0.00218 |
Grade B, and why
liveapi-service scanned grade B with 1 finding 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 9d ago.
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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
site-packages, and never instruct the user to run `sudo pip install`. This is a copy
95% identical to gemini-live-api — 6 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.
How it starts
The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LiveAPI Service Skill
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).
Prerequisites
Before running the generation flow, ensure the following are available on the host:
-
A Google Cloud project with the Vertex AI / Gemini Enterprise Agent Platform APIs enabled.
-
Application Default Credentials configured on the host running the generated client:
gcloud auth application-default login -
A destination output folder supplied by the user (e.g.
/tmp/liveapi_out) where the generated code, environment, and demo will be written. Never mutate the host's system Python environment. -
The user's chosen implementation language (Python is the default and reference language for this skill).
Reference Files
Provided files in references/ (do not treat these as standalone skills —
they are loaded on demand):
client_server_messages.md: Public reference for theClientMessage/ServerMessageschemas used by the Live API.client_server_messages.proto: The proto definition generated fromclient_server_messages.md.session_manager.md: Describes how to correctly handle sessions, buffering, and resumption on disconnection.
Steps
Step 1: Copy the reference files
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.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 221 lines · 117 tokens per session scan B ea3b48263c0f
liveapi-service is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 117 tokens to every session and 2,181 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 95% identical to gemini-live-api, differing in 6 lines, and is treated as a copy.
Other skills, from other repositories
api-and-interface-design
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
ubiquitous-language
Maintain a project thesaurus (domain glossary) following DDD ubiquitous language principles. Use PROACTIVELY when naming anything: variables, functions, classes, modules, database fields, API endpoints, events, files, or directories. Also use when the user asks to "create thesaurus", "update glossary", "add term"…
laravel-expert
Laravel & PHP Development Instructions for GitHub Copilot.
nodejs-codestyle
Custom Instructions: Node.js Backend & Architecture Expert.
php-laravel-codestyle
Custom Instructions: PHP 8+ & Laravel Architecture Expert.
api-design
Design and implement REST APIs with consistent conventions, versioning, error contracts, and security.