writing-livekit-scenarios

writing-livekit-scenarios is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 178 tokens per session (2,168 once invoked), scanned A, original, Apache-2.0.

A guide for writing reusable scenarios for LiveKit agent simulations. A scenario describes what a pretend user wants and what a successful conversation should achieve.

In plain words
What is it for?
Use it to create, organize, and maintain tests for multi-turn conversations, including expected outcomes and scenario-specific data.
Why use it?
Saved scenarios can be reviewed, rerun, and compared after prompt or code changes, unlike a one-off manual conversation.

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, organize, and maintain tests for multi-turn conversations, including expected outcomes and scenario-specific data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/writing-livekit-scenarios
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,178 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 writing-livekit-scenarios
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 writing-livekit-scenarios

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/writing-livekit-scenarios"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/writing-livekit-scenarios.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 178 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,168 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.00178 $0.02168
Opus 5.5 $0.00071 $0.00867
Sonnet 5.5 $0.00036 $0.00434
Haiku 4.5 $0.00018 $0.00217

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

Security

Grade A, and why

writing-livekit-scenarios 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 14d 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

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/livekit-skills/skills/writing-livekit-scenarios/SKILL.md · 174 lines

How it starts

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

Writing simulation scenarios

A scenario is a simulated user's instructions (who they are, what they want) plus agent_expectations (what counts as success). A simulation plays the scenario against the real agent, and an LLM judge grades the transcript.

Runs are disposable. The scenario file is what lasts: it gets reviewed in diffs, re-run for years, and it's what catches a prompt edit that breaks something without anyone noticing.

Before writing a file, look up the exact schema and CLI flags with reading-livekit-docs. Field names and commands change, so this skill doesn't restate them. Conceptually, a file is a named group of scenarios. Each scenario has the simulated user's instructions, the pass criteria, and optionally tags for grouping and per-scenario data the agent can read at runtime. If the CLI offers to add stable per-scenario ids to a file, accept and commit them.

Start from a generated baseline

Don't start from an empty file. LiveKit's generator reads the agent's source and produces a decent first pass much faster than you'd write ten scenarios by hand:

lk agent simulate text -n 10    # confirm the exact flags with --help

Generating from source uploads the code to LiveKit Cloud so the generator can read it, which is why the CLI asks for confirmation first. Tell the user that before running it and let them decline. Some code can't leave the machine, and in that case you write the scenarios by hand. A flag skips the prompt for non-interactive runs.

When the run finishes, the CLI either tells you where it saved the generated scenarios or offers to save them into the project. Either way, get that file into the repo as the starting point.

You can't steer the generator. It infers intent from the code, so it writes plausible conversations instead of the ones this agent's users have, and it doesn't know what the user is worried about. Treat its output as a draft:

  1. Read every scenario and delete the ones that don't matter. A file you haven't read isn't a test suite.
  2. Sharpen vague expectations. If the judge can't decide an agent_expectations, its verdict flips between runs. This is the biggest cause of flaky scenarios.
  3. Add what generation misses. It drifts toward happy paths. references/risk-coverage.md explains how to turn the agent's constraints into a checklist and give each item a scenario.
  4. Add what the user is worried about. If they haven't said, ask what they want stress-tested. That input is why a suite a person steers is better than a generated one.

Read the full file on GitHub · 174 lines

Files

What ships with it

3 files 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. 14d ago First seen · 174 lines · 178 tokens per session scan A 6660d0790031

Subscribe to this mod's changes

writing-livekit-scenarios is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,178 stars, last pushed yesterday), licensed Apache-2.0. It adds 178 tokens to every session and 2,168 once invoked, about $0.0007 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

update-package-skill

Updates an existing package Skill for a new release of its npm or local package by testing only what changed since the version the Skill names. Use when a maintainer asks to refresh a package Skill after a release, or when a SKILL.md names an older tested version than the package.

skilld-dev/skilld · 62 tokens

lov-atom-feature-dev

An end-to-end workflow for building a small, self-contained feature across its shared core, command-line tool, API, user interface, saved parameter presets, agent tool, and debugging panel. It uses one contract and shared test cases across the pieces.

lovstudio/skills · 62 tokens

lov-runtime-verification

Verify client runtime fixes on actual desktop builds, physical iOS/Android devices, React Native/Flutter hosts, and deployed Web/PWA browsers with comparable workloads and lifecycle checks.

lovstudio/skills · 40 tokens

lov-wechat-parity-validation

A review workflow for checking whether a WeChat compatibility fix works across data parsing, shared meaning, interfaces, downstream uses, and the real user path. It treats regression checks as proof that the fix is complete.

lovstudio/skills · 58 tokens

lov-fix-until-no-error

A verification-focused debugging workflow that repeatedly runs specified checks, fixes the highest-priority failure, and stops when the checks pass or a genuine external blockage remains.

lovstudio/skills · 48 tokens

lov-atom-operations

A checklist and implementation workflow for making a completed feature ready to explain, test, find, authorize, sell, measure, and maintain. It decides which supporting work applies instead of adding every integration by default.

lovstudio/skills · 62 tokens