gemini_live

gemini_live is a skill for Claude Code, Codex from razzant/ouroboros. It costs 16 tokens per session (998 once invoked), scanned A, original, MIT.

A Gemini Live provider for real-time audio and image conversations. It connects Gemini's live service to the host's selected history, tools, captions, and function responses.

In plain words
What is it for?
Use it for Gemini voice and image conversations, spoken captions, tool responses, session resumption, and fresh-context renewal when needed.
Why use it?
It handles Gemini-specific live transport, session renewal, context changes, and interruptions so the host can keep a conversation going across provider events.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for Gemini voice and image conversations, spoken captions, tool responses, session resumption, and fresh-context renewal when needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/razzant/ouroboros/gemini_live
About the project

Ouroboros is a general-purpose AI agent that maintains its identity, memory, and task history across restarts while working on external projects and coordinating specialist agents. It runs as a desktop application or headless command-line tool, using configured remote APIs or a local model for inference. The catalogue skills support working with or modifying Ouroboros.

razzant/ouroboros · 1,738 stars · on GitHub · ouroboros-agent.ai

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 razzant/ouroboros --skill gemini_live
Clone the repo
git clone --depth 1 https://github.com/razzant/ouroboros

Made for: Claude Code, 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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/razzant/ouroboros/gemini_live"><img src="https://agentmods.dev/badge/skills/razzant/ouroboros/gemini_live.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 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 original No closer match found 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.00016 $0.00998
Opus 5.5 $0.00006 $0.00399
Sonnet 5.5 $0.00003 $0.00200
Haiku 4.5 $0.00002 $0.00100

Measured 22d ago against content hash 690ceb81fc08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gemini_live 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 22d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (plugin.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/gemini_live/SKILL.md · 76 lines

How it starts

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

Registers gemini_live:gemini. It reuses the preserved Gemini Live transport mechanisms: native audio, function responses, caption accumulation and explicit fresh-context renewal. The full ordinary selected history is an ordered role archive in Gemini's system layout; this is provider packaging, not a separate memory or summary. An unexplained drop in the speech Gemini retains (its usage shows earlier audio gone without a compression that explains it), or a tool-catalog change, asks the host for a fresh refit after pending work finishes. The latest unexplained drop is the learned span; there is no fixed span. Context-window compression is on: the catalog window triggers it and the window minus the working reserve is its target. The host also owns usage-driven total-window renewals; both use the same quiet boundary. Idle time alone does not renew. GoAway asks for server-side resumption. Session resumption is enabled; handle updates reach the feature, and transport loss is marked resumable only while a valid handle exists; otherwise the shared feature can continue through a fresh fitted session. Provider refusals remain terminal. A replacement using that handle restores in-process caption, tool, held-context and usage state. Completed response ids, timestamped transcripts and function-call ids prevent identified replays from being counted twice; identical words without native identity are never guessed to be a replay. Reconnecting state is consumed once, expires with Google's two-hour handle lifetime and is never written to disk. The feature must retain playback acknowledgements and defer partial-caption and response settlement across a resumed connection; Stop still finalizes them. Native VAD and input transcription open input work; sent PCM (including silence) does not. Unfinished captions and unanswered tools keep renewal pending. Late output captions retain their audio item's identity; generation completion alone cannot release that caption barrier. Extended thinking finalizes received text at turnComplete/IDLE; later transcription tails emit a full replacement final for the same item, including across resumption. A local schema change wakes the receiver without cancelling its socket read. Expiry with pending work ends explicitly; Stop retains any known unfinished text as a partial transcript. Call instructions follow the host system text. Language hints, voice, pauses, interruptions and optional Google search follow LiveOptions. Extended thinking uses the selected level (low by default); the ordinary model has interleaved reasoning without a level control. Respond opens a host-labelled greeting fact. Silent tool results use native SILENT scheduling on the ordinary model; the extended-thinking model does not support scheduling, so the feature must finish hangup locally. Tool-schema changes coalesce into one pending fresh renewal. The catalog offers both models and 30 prebuilt voices. Its 92k o200k window is measured for the ordinary model and a labelled hypothesis for extended thinking; the documented 131,072 provider-token input limit is a separate quantity. Every completed response reports modality usage, cached input and thinking units where Gemini supplies them, with raw evidence and status. Sparse modality lists prove omitted zeroes when their counts cover the reported total, or for an input modality never submitted to this session. Selected images and retained media across resumed connections count as submitted; an unknown resume has no such absence evidence. Missing lists, unaccounted modalities and missing cache or thinking counts stay unknown. Reported thinking tokens are billed in addition to response modalities; an explicitly empty cache list proves zero cached tokens. The provider accepts inline images and sends 16 kHz mono PCM input / 24 kHz output. Installing or granting it does not enable the Live Conversation beta.

Wire reference: https://ai.google.dev/api/live (updated 2026-10-09 UTC), model pages and capabilities guide (read 2026-10-21). Live-provider probes remain necessary to verify the deployed dialect and the labelled retention hypotheses.

Read the full file on GitHub · 76 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. 22d ago First seen · 76 lines · 16 tokens per session scan A 690ceb81fc08

Subscribe to this mod's changes

gemini_live is a skill published in the GitHub repository razzant/ouroboros (1,738 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 998 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-08.

Related

gemini_live compared with skills from other repositories

gemini_live next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gemini_liverazzant/ouroborosSkill1.7ktodayMITA16Claude Code, Codex
cuga-github-issuescuga-project/cuga-agentSkill1.2ktodayApache-2.0A101Claude Code, Codex
cuga-contributor-workflowscuga-project/cuga-agentSkill1.2ktodayApache-2.0A97Claude Code, Codex
web-designdrewnekota/cetusSkill15021d agoMITA80Claude Code, Codex
data-analysisUpsonic/UpsonicSkill8.0k5mo agoMITA138Claude Code, Codex
summarizationUpsonic/UpsonicSkill8.0k5mo agoMITA144Claude Code, Codex
experiment_managementUpsonic/UpsonicSkill8.0k5mo agoMITA0Claude Code, Codex