speech-studio AGENTS.md

Repository instructions for Speech Studio, a desktop app for content creators that clones voices, edits spoken lines over video, adds emotion markers, and exports the result.

In plain words
What is it for?
Useful when developing or building the Tauri application, its Rust and web components, speech-model integrations, video timeline, voice synthesis, and export pipeline.
Why use it?
They give an AI coding agent the project scope, supported platforms, speech engines, technology stack, and current end-to-end workflow.

Instructions file for CodexOpenCode

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 instructions/soniqo/speech-studio/agents-md
Clone the repo
git clone --depth 1 https://github.com/soniqo/speech-studio

Made for: Codex, OpenCode.

Per session 4,490 This file is loaded in full into every session.
When invoked 4,490 The same file — it is already loaded in full.
Security scan A 1 finding. 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 $0.04490 $0.04490
Opus 5 $0.02245 $0.02245
Sonnet 5 $0.00898 $0.00898
Haiku 4.5 $0.00449 $0.00449

Measured 3d ago against content hash c7a323a7df19, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

speech-studio AGENTS.md scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- A built `speech-core` checkout with LiteRT **and** the model downloader: `-DSPEECH_CORE_WITH_LITERT=ON -DLITERT_DIR=... -DSPEECH_CORE_WITH_HF_DOWNLOAD=ON`. The download feature needs libcurl (`find_package(CURL)`) — sy
AGENTS.md · 188 lines

How it starts

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

Agent Instructions

This file is for any AI coding agent working in this repo (Claude, Codex, Cursor, Aider, etc.).

Project

speech-studio — Speech Studio, a Soniqo project. Open-source desktop app for content creators.

MVP scope. Voice cloning + adjusting a cloned voice over a video timeline + emotional markers (style / prosody tags on the synthesized speech). The first end-to-end story:

  1. Drop a short reference clip → clone the speaker.
  2. Drop a video → extract / line up the existing dialogue.
  3. Rewrite or re-record lines in the cloned voice, with inline emotion markers (e.g. <whisper>, <excited>, <sad>).
  4. Preview against the video; export muxed output.

Status: the clone → script → synthesize → export pipeline works end to end. macOS runs the MLX engines — CosyVoice3 by default, with VoxCPM2, Qwen3-TTS, Chatterbox, OmniVoice, Indic-Mio, and Fish Audio S2 Pro selectable from the toolbar; Windows/Linux run VoxCPM2 and Indic-Mio through speech-core's LiteRT backend.

Stack

Tauri (Rust shell + web frontend) wrapping the Soniqo speech engines.

  • Rust process — Tauri app, owns the window, menu, file pickers, IPC, model lifecycle, file I/O. Talks to a voice-cloning TTS backend through a sidecar chosen at compile time per OS:
    • macOS (Apple Silicon)speech-swift (Swift / MLX) via the swift-sidecar/ binary. CosyVoice3 is the default cloning engine; VoxCPM2, Qwen3-TTS, Chatterbox, OmniVoice, Indic-Mio, and Fish Audio S2 Pro are also selectable (all MLX).
    • Windows / Linux (x86_64)speech-core (C++) via the core-sidecar/ binary, cloning + cloned-voice TTS with the VoxCPM2 and Indic-Mio LiteRT models through the C ABIs in include/speech_core/voxcpm2_c.h and include/speech_core/indic_mio_c.h.
    • v1+speech-core's broader C ABI (speech_core_c.h) for STT (Parakeet), VAD (Silero), noise suppression (DeepFilterNet3), audio utilities.
  • Web frontendReact + Vite, rendered into the OS WebView (WKWebView on macOS, WebView2 on Windows, WebKitGTK on Linux). Owns the video timeline, voice-clone manager, script editor with emotion markers, and waveform views. Talks to Rust via Tauri invoke() commands and events.
  • Bridge mechanism — a stateful sidecar binary bundled with the app. Tauri spawns it; Rust talks to it over stdin/stdout using an NDJSON protocol (one JSON object per line each way). The sidecar loads the model once and keeps it resident across calls, so per-line synthesis after warmup is fast. The protocol (ping / init_model / per-engine synthesize_*) is implemented by both sidecars — the Swift sidecar handles every macOS engine (synthesize_voxcpm2 / _cosyvoice / _chatterbox / _icl / _indic_mio), and the C++ sidecar handles synthesize_voxcpm2 and synthesize_indic_mio — so SidecarManager (src-tauri/src/lib.rs) only varies the binary path per OS. init_model carries the selected engine. Code: swift-sidecar/ (Swift package, macOS) and core-sidecar/ (CMake C++, Windows/Linux).

Read the full file on GitHub · 188 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. 3d ago First seen · 188 lines · 4,490 tokens per session scan A c7a323a7df19

Subscribe to this mod's changes

speech-studio AGENTS.md is an instructions file published in the GitHub repository soniqo/speech-studio (56 stars, last pushed 3d ago), licensed Apache-2.0. It adds 4,490 tokens to every session, about $0.0225 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

speech-swift AGENTS.md

Instructions for soniqo/speech-swift, covering agent instructions, communication style, workflow, running tests and benchmarks — sequential and memory-aware and git conventions.

soniqo/speech-swift · 5,001 tokens

Vocello AGENTS.md

Instructions for PowerBeef/Vocello, covering agents.md — vocello (qwenvoice), product and authority, start and resume work, hard invariants and domain routing.

PowerBeef/Vocello · 5,212 tokens

Logue CLAUDE.md

Instructions for bitwize-ai/Logue, covering logue — development guidelines, project overview, running the build you just made, where documentation goes and dependencies.

bitwize-ai/Logue · 7,535 tokens

DeepSeek-Harness-Desktop AGENTS.md

Instructions for web-casa/DeepSeek-Harness-Desktop, covering agents.md — dsh desktop, 项目本质, 不可违背的安全不变量, 版本单一事实源(改动版本时必须同时改全部) and harness 升级启动契约(bump pin 前必读).

web-casa/DeepSeek-Harness-Desktop · 2,781 tokens

Clutch CLAUDE.md

Instructions for fancy1108/Clutch, covering 📍 项目定位, ⛔ 铁律, ⚡ 核心命令, 🔄 long-running agent 规则 and layer 4 操作剧本(.claude/workflows/、.cursor/).

fancy1108/Clutch · 3,348 tokens

localvoxtral AGENTS.md

Instructions for T0mSIlver/localvoxtral, covering localvoxtral — agent guide, build & test — read this first on a non-mac dev box, proof culture — non-negotiable, test tiers — the short version and ci / shipping.

T0mSIlver/localvoxtral · 2,917 tokens