switch

switch is a command for Claude Code from paulpreibisch/AgentVibes. It costs 0 tokens per session (668 once invoked), scanned A, original, Apache-2.0.

A command that changes the voice AgentVibes uses to read responses aloud. It checks the active speech provider and offers voices available from that provider.

In plain words
What is it for?
Use it to list available voices and switch to a named voice, with optional changes to the speaking style.
Why use it?
It avoids manually editing voice settings or choosing a voice that the active provider cannot use.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to list available voices and switch to a named voice, with optional changes to the speaking style.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/paulpreibisch/agentvibes/switch
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.

Clone the repo
git clone --depth 1 https://github.com/paulpreibisch/AgentVibes

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 switch

README.md
[![agentmods](https://agentmods.dev/badge/commands/paulpreibisch/agentvibes/switch/github.svg)](https://agentmods.dev/commands/paulpreibisch/agentvibes/switch)
Your own site
<a href="https://agentmods.dev/commands/paulpreibisch/agentvibes/switch"><img src="https://agentmods.dev/badge/commands/paulpreibisch/agentvibes/switch/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 switch

Your own site · 80×15
<a href="https://agentmods.dev/commands/paulpreibisch/agentvibes/switch"><img src="https://agentmods.dev/badge/commands/paulpreibisch/agentvibes/switch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 668 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.00000 $0.00668
Opus 5.5 $0.00000 $0.00267
Sonnet 5.5 $0.00000 $0.00134
Haiku 4.5 $0.00000 $0.00067

Measured 1mo ago against content hash 192038da652a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

switch 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 1mo 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.

.claude/commands/agent-vibes/switch.md · 88 lines

How it starts

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

Voice Selection

Step 1: Detect Active Provider

First, check which TTS provider is active by running:

!bash .claude/hooks/voice-manager.sh whoami

This will show the current provider (Piper TTS or Piper) and current voice.

Step 2: Display Voice List Based on Provider

If Provider is Piper TTS:

Show this list:

🎤 Available Piper TTS Voices

  1. Amy - Young and friendly
  2. Aria - Clear professional
  3. Cowboy Bob - Western charm
  4. Demon Monster - Deep and spooky
  5. Dr. Von Fusion - Eccentric scientist
  6. Drill Sergeant - Military authority
  7. Grandpa Spuds Oxley - Wise elder
  8. Jessica Anne Bogart - Wickedly eloquent
  9. Lutz Laugh - Jovial and giggly
  10. Matthew Schmitz - Deep baritone
  11. Michael - British urban
  12. Ms. Walker - Warm teacher
  13. Northern Terry - Eccentric British
  14. Ralf Eisend - International speaker

If Provider is Piper:

Run this command to list Piper voices:

!bash .claude/hooks/voice-manager.sh list

This will show all downloaded Piper voices including multi-speaker voices.

Step 3: Voice Switching

If user provides a voice name or number:

  1. Parse arguments for --sentiment flag
  2. If --sentiment is present:
    • Extract voice name/number (everything before --sentiment)
    • Extract sentiment name (after --sentiment)
    • Execute: !bash .claude/hooks/voice-manager.sh switch
    • Then execute: !bash .claude/hooks/sentiment-manager.sh set
  3. If no --sentiment flag:
    • Execute: !bash .claude/hooks/voice-manager.sh switch $ARGUMENTS

If no arguments provided:

  • Show the voice list based on active provider (as described in Step 2)
  • Inform user: "To switch voices, use /agent-vibes:switch <number> or /agent-vibes:switch <name>"

Examples

# Switch voice only
/agent-vibes:switch Jessica Anne Bogart  # Piper TTS
/agent-vibes:switch en_US-lessac-medium  # Piper

# Switch voice by number
/agent-vibes:switch 5

# Switch voice and set sentiment
/agent-vibes:switch Aria --sentiment sarcastic
/agent-vibes:switch 5 --sentiment flirty

Read the full file on GitHub · 88 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. 1mo ago First seen · 88 lines · 0 tokens per session scan A 192038da652a

Subscribe to this mod's changes

switch is a command published in the GitHub repository paulpreibisch/AgentVibes (156 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 668 tokens. 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-09-03.