livekit/agent-skills

reading-livekit-docs

Looks up current LiveKit facts (API signatures, CLI flags, config options, model and provider support, SDK changelogs, pricing) from the docs instead of answering from memory.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/livekit/agent-skills --skill reading-livekit-docs

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Reading LiveKit documentation

LiveKit's SDKs change faster than model training data, so anything you remember about a LiveKit API, CLI flag, or default is a guess. Wrong guesses cost time: a wrong flag wastes a run, a wrong signature wastes a build.

Every LiveKit-specific fact you state or put in code should come from a lookup in this session. That includes facts you're confident about and patterns you've seen in other repos.

Where to look, in order of preference

1. The LiveKit Docs MCP server. If its tools are in your session, use them. They're the same source the CLI uses, with less friction.

2. `lk docs`. Available wherever the LiveKit CLI is installed, with no MCP setup. Use it when the MCP tools aren't there; don't stop to ask the user to install anything first. It can search the docs, fetch pages, search code across LiveKit's repositories, show an SDK's recent changelog, report pricing, and submit feedback. Start with:

bash
lk docs --help
lk docs search "agent simulations"

Once search has shown you the right page, fetch it. There's machine-readable output if you'd rather parse than read.

3. Web search against `docs.livekit.io`. Only when neither of the above is available. Tell the user you fell back to it, and mark generated code as unverified.

How to research

  • Search before you read. Search returns per-page excerpts, which is usually enough to pick the

right page. Fetch full pages only once you know which one you need, or you'll fill the context window with pages you don't use.

  • Use code search for how, docs for what. Docs tell you a parameter exists. LiveKit's own

examples show how it's called. When a docs page and a working example disagree, go with the example and mention the discrepancy.

  • Use the changelog for version questions. "Is X available yet", "when did Y change", and "why

doesn't this argument exist" are answered by the changelog, not search.

  • Check the version you're on. The installed SDK and CLI determine what works, and a documented

feature may not exist in the installed version. For any CLI command, --help on the installed binary outranks every other source.

Reporting what you found

  • Cite the page when a decision rests on it, so the user can check you.
  • Say when you couldn't verify something. "I could not confirm this signature against the docs"

is useful to the user. A silent guess isn't.

  • Mark unverified code. If you had to write LiveKit code without a lookup, add a comment at the

call site saying it's unverified, and say so in your reply.

  • Don't invent a flag or parameter to make an example look complete. An incomplete example with

a note is better than a plausible fabrication.

When the docs are wrong

Sometimes a page contradicts the SDK source or the CLI's --help. When that happens:

  • Go with what runs. --help, the installed SDK's source, and a working example outrank a

prose page. Tell the user which one you followed and why.

  • Report it with the docs feedback command, and tell the user you did, so the next person

doesn't hit the same error.

lk docs sometimes warns about version skew when the docs server is a little ahead of the CLI. That's routine and the results are still good. Suggest updating lk and keep going.

Related skills

  • Building an agent: building-livekit-agents
  • Live-testing one during development: debugging-livekit-agents
  • Unit tests: testing-livekit-agents
  • Simulations: writing-livekit-scenarios, running-livekit-simulations

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills
livekit
公式

building-livekit-agents

Builds voice and chat AI agents with LiveKit Agents and LiveKit Cloud. Use when the user asks to "build a voice agent", "create a LiveKit agent", "add voice AI to my app", "implement handoffs", "structure an agent workflow", "my agent is slow / too chatty", "it says it booked but nothing was saved", "make it confirm before committing", "it keeps re-asking things the caller already said", or is writing code against the LiveKit Agents SDK. Covers architecture: designing for latency, keeping contex

導入数
0
GitHub Stars
74
更新日
10月21日
livekit
公式

debugging-livekit-agents

Drives a live multi-turn conversation with a LiveKit agent running locally, using lk agent debugger. Use when the user says "test my agent", "try my agent", "does this work", or "why did it call that tool", after editing an agent to check how it behaves, or when an agent on a speech-to-speech model or one that mishears users needs checking. The default for a bare "test"; for regression tests use testing-livekit-agents, for graded runs running-livekit-simulations.

導入数
0
GitHub Stars
74
更新日
10月21日
livekit
公式

operating-livekit-agents

Deploys and operates a LiveKit agent in production: shipping a version to LiveKit Cloud and rolling it back, secrets and configuration, the worker process model and prewarming, safe async inside worker processes, provider timeouts and degradation, graceful shutdown, SDK upgrades, and observability. Use when the user says "deploy my agent", "roll back the deployment", "tail the agent logs", "the first call after a restart is slow", "attached to a different loop / event loop is closed", "prewarm t

導入数
0
GitHub Stars
74
更新日
10月21日
livekit
公式

running-livekit-simulations

Runs LiveKit agent simulations and acts on the results. Use when the user says "run my simulations", "regression test my agent before deploying", "run the scenarios", "use lk agent simulate", "did my agent pass", "why did this scenario fail", "run simulations in CI", "test the audio pipeline", "check turn-taking and interruptions", or wants to check whole-conversation behavior before shipping. Covers text and audio mode and what each catches, running against a local or deployed agent, degraded-a

導入数
0
GitHub Stars
74
更新日
10月21日