gemini-live-api-dev

gemini-live-api-dev is a skill for Codex from PracticalSwan/agent-skills. It costs 88 tokens per session (4,610 once invoked), scanned A, a copy of gemini-live-api-dev, MIT.

A development skill for building real-time applications with Google's Gemini Live API. The API sends and receives audio, video, or text continuously over WebSockets, a connection designed for two-way live communication.

In plain words
What is it for?
It helps build live voice, video, and text interactions with features such as speech detection, transcripts, function calls, session handling, and client authentication.
Why use it?
It covers the application concerns that arise when an AI interaction must continue live rather than use separate request-and-response calls.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Claude Code; mentions Codex.

Good fit It helps build live voice, video, and text interactions with features such as speech detection, transcripts, function calls, session handling, and client authentication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/gemini-live-api-dev
Install

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.

Any agent
npx skills add PracticalSwan/agent-skills --skill gemini-live-api-dev
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: 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 gemini-live-api-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/gemini-live-api-dev/github.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/gemini-live-api-dev)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/gemini-live-api-dev"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/gemini-live-api-dev/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 gemini-live-api-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/gemini-live-api-dev"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/gemini-live-api-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,610 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 86% 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.00088 $0.04610
Opus 5 $0.00044 $0.02305
Sonnet 5 $0.00018 $0.00922
Haiku 4.5 $0.00009 $0.00461

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

Security

Grade A, and why

gemini-live-api-dev 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 4d 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.

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

86% identical to gemini-live-api-dev — 57 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.

gemini-live-api-dev/SKILL.md · 451 lines

How it starts

The opening of the file, as written. The whole thing — 451 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gemini Live API Development Skill

Overview

The Live API enables low-latency, real-time voice and video interactions with Gemini over WebSockets. It processes continuous streams of audio, video, or text to deliver immediate, human-like spoken responses.

Key capabilities:

  • Bidirectional audio streaming — real-time mic-to-speaker conversations
  • Video streaming — send camera/screen frames alongside audio
  • Text input/output — send and receive text within a live session
  • Audio transcriptions — get text transcripts of both input and output audio
  • Voice Activity Detection (VAD) — automatic interruption handling
  • Native audio — thinking (with configurable thinkingLevel)
  • Function calling — synchronous tool use
  • Google Search grounding — ground responses in real-time search results
  • Session management — context compression, session resumption, GoAway signals
  • Ephemeral tokens — secure client-side authentication

[!NOTE] The Live API currently only supports WebSockets. For WebRTC support or simplified integration, use a partner integration.

Models

  • gemini-3.1-flash-live-preview — Optimized for low-latency, real-time dialogue. Native audio output, thinking (via thinkingLevel). 128k context window. This is the recommended model for all Live API use cases.
  • gemini-3.5-transcribe-live — Real-time streaming speech-to-text with interim hypotheses, finalized transcripts, smart formatting, and Hybrid VAD.
  • gemini-3.5-live-translate-preview — Real-time streaming translation model.

[!WARNING] The following Live API models are deprecated and will be shut down. Migrate to gemini-3.1-flash-live-preview.

  • gemini-2.5-flash-native-audio-preview-12-2025 — Migrate to gemini-3.1-flash-live-preview.
  • gemini-live-2.5-flash-preview — Released June 17, 2025. Shutdown: December 9, 2025.
  • gemini-2.0-flash-live-001 — Released April 9, 2025. Shutdown: December 9, 2025.

Read the full file on GitHub · 451 lines

Files

What ships with it

1 file 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.

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. 4d ago Changed 4da668c7344e
  2. 6d ago First seen · 451 lines · 88 tokens per session scan A 0913a7fcab9d

Subscribe to this mod's changes

gemini-live-api-dev is a skill published in the GitHub repository PracticalSwan/agent-skills (14 stars, last pushed 4d ago), licensed MIT. It adds 88 tokens to every session and 4,610 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to gemini-live-api-dev, differing in 57 lines, and is treated as a copy.

Related

Other skills, from other repositories

gemini-api-dev

Use when build applications using Google Gemini API. Handle chat completions, multimodal inputs, function calling, streaming, and grounding with Google Search. Use when building applications using google gemini api. handle chat completions, multimodal.

oyi77/1ai-skills · 52 tokens

pydantic-ai

Build production-ready AI agents with PydanticAI — type-safe tool use, structured outputs, dependency injection, and multi-model support.

davila7/claude-code-templates · 32 tokens

gemini-api-dev

Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. Covers SDK usage and best…

google-gemini/gemini-skills · 73 tokens

clawrouter

Hosted-gateway LLM router — save 84% on inference costs. A local proxy that forwards each request to the blockrun.ai gateway, which routes to the cheapest capable model across 78 models from OpenAI, Anthropic, Google, DeepSeek, xAI, Z.AI, and more. 7 free open-weight models included. Also exposes realtime market data…

BlockRunAI/ClawRouter · 222 tokens

data-engineering

A guide to data engineering, the work of collecting, moving, processing, and checking data. It covers workflow tools such as Airflow, Dagster, and Prefect, plus streaming and data-quality tools.

fengshao1227/ccg-workflow · 53 tokens

ai

An index of skills for AI and language-model work, including agent development, security, retrieval-augmented generation, prompting, and evaluation. Retrieval-augmented generation gives a model relevant information from a knowledge base before it answers.

fengshao1227/ccg-workflow · 45 tokens