building-livekit-agents

building-livekit-agents is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 188 tokens per session (2,408 once invoked), scanned A, original, Apache-2.0.

A guide for building voice and chat AI agents with LiveKit Agents, a framework for connecting conversational agents to real-time audio or text sessions.

In plain words
What is it for?
Use it to create agents, add voice interactions, plan handoffs between agents, and improve conversation behavior.
Why use it?
It helps you choose an agent structure and workflow before writing code, while directing you to current documentation for changing APIs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the livekit-skills plugin — 7 skills shipped together

Good fit Use it to create agents, add voice interactions, plan handoffs between agents, and improve conversation behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/building-livekit-agents
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,191 stars · on GitHub · claudesettings.com

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 fcakyon/claude-codex-settings --skill building-livekit-agents
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings

Made for: Claude Code.

Or install livekit-skills, the plugin that ships this one along with the rest of its 7 skills.

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 building-livekit-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/building-livekit-agents/github.svg)](https://agentmods.dev/skills/fcakyon/claude-codex-settings/building-livekit-agents)
Your own site
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/building-livekit-agents"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/building-livekit-agents/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 building-livekit-agents

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/building-livekit-agents"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/building-livekit-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,408 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.00188 $0.02408
Opus 5.5 $0.00075 $0.00963
Sonnet 5.5 $0.00038 $0.00482
Haiku 4.5 $0.00019 $0.00241

Measured yesterday against content hash e004d7d2f4ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

building-livekit-agents 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 yesterday.

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

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/livekit-skills/skills/building-livekit-agents/SKILL.md · 180 lines

How it starts

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

Building LiveKit agents

This skill covers how to structure a voice agent. It has no API specifics, because those change; get them from reading-livekit-docs.

Where the agent runs and which LiveKit the project uses are separate questions. An agent the user self-hosts (on their own servers instead of LiveKit Cloud's agent hosting) still connects to LiveKit Cloud and can still use LiveKit Inference. Inference is a LiveKit Cloud feature, so it's only off the table when the project runs on LiveKit OSS. The architecture advice applies either way; on LiveKit OSS, models come from each provider's own plugin and API keys.

Models: default to LiveKit Inference

Use LiveKit Inference for each model that the agent uses: STT, LLM, TTS, or a realtime model. Many examples, and much of the LiveKit code that you remember, use a provider plugin for each model. Do not copy that pattern. Inference is better for these reasons:

  • No extra credentials. Inference uses the LiveKit Cloud credentials the agent already has. A plugin needs its own provider account, plus an API key in every environment the agent runs in.
  • Switching models is cheap. Trying another LLM or voice means changing the model name, not adding a dependency and a secret. Expect to switch several times while you tune latency and voice.
  • One dependency and one bill, instead of one per provider.

Use a provider plugin only when:

  • the project runs on LiveKit OSS
  • the model, voice, or provider feature the user needs isn't available through Inference (check the current model list with reading-livekit-docs; don't assume from memory)
  • the user explicitly wants their own provider account, for example for an existing contract or a custom model that isn't provided by Inference

If the code already uses plugins, leave them unless the user asks you to change them. Mention Inference once as an option.

Before you write code

  1. Load reading-livekit-docs and look up the APIs you're about to use. Don't write LiveKit code from memory.
  2. Confirm the project is connected to a LiveKit Cloud project (or a LiveKit OSS server): LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET, usually in .env. The CLI can set these up.
  3. Decide the workflow shape before writing the first agent class (see "Structure" below). Splitting a monolith into handoffs later is much more work than starting with two agents.
  4. Plan how you'll verify it. Decide now whether you'll use debugging-livekit-agents (drive a real conversation), testing-livekit-agents (assert on turns), or both, because it affects how you factor the code.

Read the full file on GitHub · 180 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. yesterday Changed · +26 lines e004d7d2f4ce
  2. 26d ago First seen · 154 lines · 188 tokens per session scan A f8765c7a4711

Subscribe to this mod's changes

building-livekit-agents is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,191 stars, last pushed yesterday), licensed Apache-2.0. It adds 188 tokens to every session and 2,408 once invoked, about $0.0008 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-10-02.

Related

Other skills, from other repositories