К основному содержанию
скилл CX Codex

reading-livekit-docs — скилл для Claude Code

Направляет агента в документацию LiveKit через MCP или CLI вместо генерации API по памяти. Пригодится при написании кода для агентов и проверке флагов.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add livekit/agent-skills --skill reading-livekit-docs -a claude-code
Открыть на GitHub

Что делает reading-livekit-docs

Библиотеки LiveKit обновляются быстрее обучающих выборок нейросетей. Ошибочные догадки ломают сборку проекта. Скилл задаёт чёткий регламент проверки фактов: агент сначала обращается к серверу LiveKit Docs MCP, если он подключён, либо вызывает утилиту lk docs в терминале.

Инструмент учит модель искать выжимки перед загрузкой полных страниц и проверять примеры кода в репозиториях. Если в системе нет ни MCP, ни установленного lk, скилл переводит агента на поиск по docs.livekit.io и обязывает пометить код как непроверенный.

При расхождениях между текстом документации и кодом приоритет всегда отдаётся выводу --help установленного CLI и реальным исходникам SDK.

Какие задачи решает

  • найти актуальные сигнатуры функций в SDK LiveKit
  • проверить изменения и новые параметры в ченджлоге нужной версии
  • подобрать примеры вызова методов из официальных репозиториев
  • узнать стоимость тарифов и поддержку провайдеров моделей

Примеры запросов агенту

  • Проверь по документации LiveKit, какие аргументы принимает класс WorkerOptions
  • Найди в репозиториях LiveKit пример реализации симуляции агента
  • Что изменилось в LiveKit Agents версии 1.8?

Как установить reading-livekit-docs

1Через Skills CLI (Vercel)

npx skills add livekit/agent-skills --skill reading-livekit-docs -a claude-code

2Вручную: положить файлы

~/.claude/skills/reading-livekit-docs/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/reading-livekit-docs/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о reading-livekit-docs

Как установить reading-livekit-docs в Claude Code?

Выполните команду npx skills add livekit/agent-skills --skill reading-livekit-docs -a claude-code. Конфигурация сохранится по пути ~/.claude/skills/reading-livekit-docs/SKILL.md.

Зачем нужен этот скилл?

Он запрещает ИИ угадывать параметры LiveKit из памяти и заставляет проверять сигнатуры, флаги и цены через MCP-сервер или команду lk docs.

Что делает агент, если документация противоречит коду?

Скилл требует доверять поведению локально установленного CLI и коду SDK, сверяясь с выводом команды --help, а о найденном расхождении прямо сообщить пользователю.

Исходный текст

SKILL.md · MIT
---
name: reading-livekit-docs
description: '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. Use whenever a question touches LiveKit specifics: "does LiveKit support X", "what changed in agents 1.8", "what are the arguments to Y", "how much does LiveKit cost", "find an example of Z in the LiveKit repos", or before writing any LiveKit code. Other LiveKit skills load this one first. Covers the LiveKit Docs MCP server and the `lk docs` CLI.'
license: MIT
metadata:
  author: livekit
---

# 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`

© livekit · MIT · livekit/agent-skills

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок ask-matt Matt Pocock Помогает выбрать подходящий скилл или рабочий поток из набора Matt Pocock. Пригодится, когда непонятно, с чего начать задачу: от идеи до разбора бага. 766 587установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. 711 230установок writing-plans Jesse Vincent Скилл превращает требования к многошаговой задаче в подробный план реализации до начала работы с кодом. Пригодится, когда исполнителю нужно зафиксировать файлы, интерфейсы и проверки. CX Codex 282 859установок caveman-review JuliusBrussee Пишет замечания к коду одной строкой: место, проблема, исправление. Пригодится, когда ревью диффа или PR надо пройти быстро и без воды. CX Codex +1 411 800установок caveman-compress JuliusBrussee Сжимает CLAUDE.md, списки задач и другие текстовые файлы в краткий формат, сохраняя читаемую резервную копию. CX Codex +1 411 500установок

Из того же набора6

building-livekit-agents Скилл для проектирования голосовых и чат-агентов на LiveKit Agents: разбивка на handoffs, работа с задержкой, разделение смысла и состояния. CX Codex +1 419установок debugging-livekit-agents Гоняет локального агента LiveKit по одному ходу за раз через lk agent debugger, чтобы видеть вызовы инструментов и слышать, что агент разобрал. CX Codex +1 399установок testing-livekit-agents Генерирует пошаговые тесты для агентов LiveKit в pytest или Vitest. Помогает проверить вызовы тулов, передачи диалога и регрессии прямо в коде. CX Codex +1 379установок operating-livekit-agents Скилл помогает развернуть агента в LiveKit Cloud, настроить предзагрузку моделей в воркерах, откат версий и корректное завершение звонков. CX Codex +1 366установок writing-livekit-scenarios Помогает создавать и оформлять сценарии симуляций для агентов LiveKit. Пригодится при подготовке стресс-тестов перед релизом и для отлова регрессий в логике. CX Codex +1 362установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой