tts-setup

tts-setup is a command for Claude Code from HariFatherKR/claude-qwen-tts. It costs 19 tokens per session (710 once invoked), scanned A, original, MIT.

A setup command for creating the Python environment, installing packages and Qwen TTS, and copying its scripts and sample voices.

In plain words
What is it for?
Checking the Python version, creating configuration folders and a virtual environment, installing text-to-speech software, and copying required files.
Why use it?
It gathers the environment preparation into a defined sequence instead of requiring each dependency and model file to be set up manually.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the claude-qwen-tts plugin — 1 skill, 5 commands shipped together

Good fit Checking the Python version, creating configuration folders and a virtual environment, installing text-to-speech software, and copying required files.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/harifatherkr/claude-qwen-tts/tts-setup
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/HariFatherKR/claude-qwen-tts

Made for: Claude Code.

Or install claude-qwen-tts, the plugin that ships this one along with the rest of its 1 skill, 5 commands.

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 tts-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/harifatherkr/claude-qwen-tts/tts-setup"><img src="https://agentmods.dev/badge/commands/harifatherkr/claude-qwen-tts/tts-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 710 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.00019 $0.00710
Opus 5 $0.00010 $0.00355
Sonnet 5 $0.00004 $0.00142
Haiku 4.5 $0.00002 $0.00071

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

Security

Grade A, and why

tts-setup 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 10d 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.

plugins/claude-qwen-tts/commands/tts-setup.md · 117 lines

How it starts

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

TTS-Setup - Environment Setup

Set up the Qwen TTS environment including Python virtual environment, packages, and models.

Instructions

Execute the following steps and report progress to the user:

Step 1: Check Python Version

python3 --version
  • Requires Python 3.10 or higher
  • If version is too low, inform user to upgrade Python

Step 2: Create Config Directory

mkdir -p ~/.config/claude-qwen-tts/scripts
mkdir -p ~/.config/claude-qwen-tts/samples

Step 3: Create Virtual Environment

python3 -m venv ~/.config/claude-qwen-tts/venv

Step 4: Install Packages

source ~/.config/claude-qwen-tts/venv/bin/activate && \
pip install --upgrade pip && \
pip install torch soundfile librosa pyyaml numpy

Then install qwen_tts:

source ~/.config/claude-qwen-tts/venv/bin/activate && \
pip install qwen-tts

Step 5: Copy Plugin Scripts

Copy scripts from the plugin directory to config:

cp -r /path/to/plugin/scripts/* ~/.config/claude-qwen-tts/scripts/

The plugin scripts location can be found at the plugin installation path.

Step 6: Copy Sample Voices

cp -r /path/to/plugin/samples/* ~/.config/claude-qwen-tts/samples/

Step 7: Test Installation

source ~/.config/claude-qwen-tts/venv/bin/activate && \
python -c "import torch; import qwen_tts; print('Installation successful!')"

Step 8: Detect Device

source ~/.config/claude-qwen-tts/venv/bin/activate && \
python -c "
import torch
if torch.backends.mps.is_available():
    print('Device: mps (Apple Silicon)')
elif torch.cuda.is_available():
    print('Device: cuda (NVIDIA GPU)')
else:
    print('Device: cpu (No GPU - will be slower)')
"

Progress Messages

Report to user:

  • "1/6 Checking Python version... Python X.X found"
  • "2/6 Creating directories..."
  • "3/6 Creating virtual environment..."
  • "4/6 Installing packages... (this may take 2-3 minutes)"
  • "5/6 Copying scripts and samples..."
  • "6/6 Testing installation..."

Read the full file on GitHub · 117 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. 10d ago First seen · 117 lines · 19 tokens per session scan A 67f4361eda49

Subscribe to this mod's changes

tts-setup is a command published in the GitHub repository HariFatherKR/claude-qwen-tts (16 stars, last pushed 7mo ago), licensed MIT. It adds 19 tokens to every session and 710 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-30.