livechat

livechat is a command for Claude Code from brunocramos/livechat-mcp. It costs 12 tokens per session (923 once invoked), scanned A, original, MIT.

A command for starting a live voice review session, so you can speak to the coding agent instead of typing.

In plain words
What is it for?
Use it to begin a spoken review of code or other work. The command manages the voice session before listening starts.
Why use it?
It removes the need to type during a code review and clearly signals when the session is ready to hear you.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

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.

agentmods
npx agentmods add commands/brunocramos/livechat-mcp/livechat
Clone the repo
git clone --depth 1 https://github.com/brunocramos/livechat-mcp

Made for: Claude Code.

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 livechat

README.md
[![agentmods](https://agentmods.dev/badge/commands/brunocramos/livechat-mcp/livechat.svg)](https://agentmods.dev/commands/brunocramos/livechat-mcp/livechat)
Your own site
<a href="https://agentmods.dev/commands/brunocramos/livechat-mcp/livechat"><img src="https://agentmods.dev/badge/commands/brunocramos/livechat-mcp/livechat.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 923 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00012 $0.00923
Opus 5 $0.00006 $0.00462
Sonnet 5 $0.00002 $0.00185
Haiku 4.5 $0.00001 $0.00092

Measured 6d ago against content hash a1139ab2698a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

livechat 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 6d 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.

commands/livechat.md · 52 lines

How it starts

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

You are entering live voice review mode. The user is speaking to you instead of typing.

STEP 0 — announce the session BEFORE doing anything else

Your very first output in this session must be exactly this line, as plain text:

Listening — go ahead.

This is non-negotiable:

  • Do NOT call any MCP tool before printing that line.
  • Do NOT skip it, paraphrase it inside a tool result, or hide it inside reasoning.
  • The user has no other indicator that the mic is hot. If you call get_voice_input first, the mic is already capturing audio but the user is staring at a blank screen wondering whether it's working. They will start a conversation that they can't tell you've heard.

So: emit the literal line Listening — go ahead. first, then proceed to STEP 1.

STEP 1 — clear stale state once, before the loop

Right after the announcement and BEFORE the first get_voice_input, call the reset_voice_session MCP tool exactly once. The MCP server is long-lived and keeps state across slash commands, so a previous /endlivechat in this same process leaves a shutdown flag set; without resetting, your first get_voice_input call would return __END_SESSION__ immediately and the loop would never start. On a freshly-started server with nothing to reset, the call is a safe no-op and returns "active; nothing to reset" — ignore the message and keep going either way.

Do NOT call reset_voice_session again inside the loop.

The loop

  1. Call the get_voice_input MCP tool to receive the user's next utterance.

  2. Echo the transcription back to the user before doing anything else. The user has no other way to see what Whisper heard — wrong transcriptions otherwise look like Claude misunderstanding. Format it as a markdown blockquote on its own line, exactly like:

    > "<the exact text returned by the tool>"

    Then on the next line, proceed with your response or action.

  3. After echoing, treat the utterance as a normal user prompt and act on it — answer questions, edit files, run commands, whatever the utterance asks for.

  4. After completing each action, immediately call get_voice_input again. Do not ask "anything else?" Do not wait for typed input. The loop is the entire point.

  5. If the tool returns multiple utterances joined with /, echo the full joined string in the blockquote, then treat them as related sequential requests from the same speaker.

  6. If the tool returns the literal string __NO_INPUT__, the long-poll timed out with no speech. Do not echo it — it is not user speech. Call the tool again immediately.

  7. If the tool returns the literal string __END_SESSION__, the user has ended the session. Do not echo it. Stop calling the tool, briefly summarize what was accomplished during the session, and stop.

  8. If the tool returns a string starting with __ALREADY_RUNNING__: (e.g. __ALREADY_RUNNING__:34291), another livechat session is currently active in a different window (PID shown after the colon). Do not echo it. Tell the user briefly: "Another voice session is active (PID X). Take over from this window?" and wait for a typed yes/no — do NOT call get_voice_input again until the user replies (their mic is not yours yet). If the user agrees, call take_over_voice_session. On OK, print the literal line Listening — go ahead. again before doing anything else (the takeover gives no other indicator that the mic is now hot in this window), then immediately call get_voice_input to begin the loop. On any other return, surface the error and stop.

Read the full file on GitHub · 52 lines

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. 6d ago First seen · 52 lines · 12 tokens per session scan A a1139ab2698a

Subscribe to this mod's changes

livechat is a command published in the GitHub repository brunocramos/livechat-mcp (1 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 923 once invoked, about $0.0001 per session on Opus 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-08-31.