speech-studio: Instructions file for Codex

AGENTS.md

speech-studio AGENTS.md is an instructions file for Codex, OpenCode from soniqo/speech-studio. It costs 4,490 tokens per session, scanned A, original, Apache-2.0.

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

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

This is soniqo/speech-studio's own configuration. It tells Codex and OpenCode how to work on speech-studio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything speech-studio configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is -DSPEECH_CORE_DIR=../speech-core \.

Reuse

Borrowing it

Nothing to install: this file belongs to soniqo/speech-studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/soniqo/speech-studio/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/soniqo/speech-studio

Made for: Codex, OpenCode.

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 speech-studio AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/soniqo/speech-studio/agents-md/github.svg)](https://agentmods.dev/instructions/soniqo/speech-studio/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/soniqo/speech-studio/agents-md"><img src="https://agentmods.dev/badge/instructions/soniqo/speech-studio/agents-md/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 speech-studio AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/soniqo/speech-studio/agents-md"><img src="https://agentmods.dev/badge/instructions/soniqo/speech-studio/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.04490 $0.04490
Opus 5.5 $0.01796 $0.01796
Sonnet 5.5 $0.00898 $0.00898
Haiku 4.5 $0.00449 $0.00449

Measured 2mo ago against content hash c7a323a7df19, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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 frontend — React + 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. 2mo 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 (81 stars, last pushed 14d ago), licensed Apache-2.0. It adds 4,490 tokens to every session, about $0.0180 per session on Opus 5.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

speech-studio AGENTS.md compared with instructions from other repositories

speech-studio AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speech-studio AGENTS.mdsoniqo/speech-studioInstructions file8114d agoApache-2.0A4,490Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot