/artcraft-skills:soundcraft-ttsfrom artcraft-skills
Generates spoken audio from text using local or cloud TTS engines (Kokoro, Piper, ElevenLabs, Google Cloud TTS, Amazon Polly), then imports and masters in SoundCraft DAW. Handles engine selection, voice auditions, chunked synthesis, and loudness targeting for podcasts, audiobooks, and videos.
Ships in artcraft-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
SoundCraft has no text-to-speech command: speech is generated outside it by a TTS engine (a local
model or a cloud API), written as audio files into a work folder, then imported into a SoundCraft session
where it is edited, cleaned, mastered to a loudness target and handed to the user. SoundCraft imports WAV,
AIFF, FLAC, MP3, OGG, AAC/M4A, ALAC and CAF. This skill covers the engine choice, safe setup, script
preparation, voice auditions and synthesis; for everything that happens inside SoundCraft it points to
the soundcraft-audio skill (load it too) instead of repeating it.
Fit the voice to the brief, not the default. Left alone, an agent takes the engine's first voice at speed 1.0 with the same pause everywhere, and every narration sounds alike. Choose the voice, pace and pauses from the brief (audience, tone, length, brand, language), audition 2-3 genuinely different candidates and let the user pick. The user's explicit choice of voice or engine always wins.
references/providers.mdreferences/scripts.mdreferences/sources.mdsudo dnf install … on Fedora), which the user runs in their own terminal, never you.~/Audio/<project>-tts/). It must lie inside SoundCraft's
--automation-read-root (and the write root for bounces and the session; see soundcraft-audio,
"File access and sessions"). Generated audio, scripts and chunks live there. Venvs and model caches
never go inside a git repository (git -C DIR rev-parse 2>/dev/null prints nothing); if the work
folder is in one, put them in a folder outside it. Deliverables go wherever the user names.Ask one question with the multiple-choice question tool (AskUserQuestion in Claude Code; else a numbered list) and wait:
| Option | Runs | Cost | Text leaves the machine | Setup | Notes |
|---|---|---|---|---|---|
| Local: Kokoro (default) | CPU or NVIDIA GPU | free | no | Python 3.12 venv + espeak-ng + ~0.4 GB model (more with GPU PyTorch) | Apache-2.0, 24 kHz, 54 voices in 9 languages (Italian: if_sara F, im_nicola M) |
| Local: Piper (light) | CPU (GPU optional) | free | no | venv + ~63 MB per voice | GPL-3.0 engine, per-voice licences, 22.05 kHz, robotic-to-good |
| ElevenLabs | cloud | free tier then paid plans | yes (stored in the US) | account + API key | most expressive; commercial use needs a paid plan (inferred: check the plan terms) |
| Google Cloud TTS | cloud | free monthly quota then per character | yes | GCP project + billing + ADC login | Neural2, WaveNet, Chirp 3 HD voices; SSML on most (providers.md) |
| Amazon Polly | cloud | per character | yes | AWS account + IAM credentials | generative/neural/standard voices; SSML |
If the narration is for a FilmCraft video, also offer FilmCraft's built-in tts.voices /
tts.create / tts.render (voice models may need tts.downloadVoices, a network download: ask
first). That path stays in FilmCraft and belongs to the filmcraft-video skill.
Other local engines exist (Chatterbox Multilingual, XTTS-v2); mention them only if the user asks for
voice cloning or more expressiveness (providers.md lists their caveats).
Show the requirements for the chosen engine only, collect what is missing, get an OK, then set up. Full commands: providers.md (what and why) and scripts.md (the code).
Run read-only checks and report them in one short block:
nvidia-smi --query-gpu=name,driver_version,memory.total --format=csv,noheader and the
"CUDA Version" in the nvidia-smi header (the highest CUDA the driver supports). No nvidia-smi or
an error means CPU. Kokoro (82M parameters) and Piper run acceptably on CPU; a GPU mainly speeds
up long jobs. RTX 50-series (Blackwell) needs CUDA 12.8 or newer wheels (inferred from NVIDIA/PyTorch
support matrices; unverified on hardware).python3.12 --version, uv --version. Kokoro needs a 3.12 venv (why and how:
providers.md).command -v espeak-ng.command -v ffmpeg.df -h WORKDIR.Then present the install list for the chosen route, for example (sizes approximate, see providers.md):
To use Kokoro on CPU I need to install, in
WORKDIR/.venv-kokoro(Python 3.12):kokoro,soundfileand the CPU build of PyTorch (several hundred MB). On first use Kokoro downloads its model (327 MB) and each voice (~0.5 MB) to the Hugging Face cache (~/.cache/huggingface/hub). You needespeak-ng: please install it with your system package manager in your own terminal (e.g.sudo dnf install espeak-ngon Fedora). Total roughly 1 GB. OK to proceed?
Kokoro has two routes; pick with the user (sizes, GPU builds and caveats in providers.md): Route A,
PyTorch (kokoro), the best-supported path but heavy with GPU; Route B, ONNX (kokoro-onnx),
lighter and CPU by default.
Piper: piper-tts in a venv plus one voice file per voice (~63 MB medium quality). Light and CPU-friendly.
After installing, measure what was actually used (du -sh on the venv, the model files and the
Hugging Face cache entries) and tell the user.
List what the user needs before anything else, and stop until they have it:
ELEVENLABS_API_KEY, pip install elevenlabs in a venv.gcloud auth application-default login, preferred) or a
service-account JSON kept outside any repo and pointed to by GOOGLE_APPLICATION_CREDENTIALS;
pip install google-cloud-texttospeech.polly:SynthesizeSpeech (e.g. the
AmazonPollyReadOnlyAccess managed policy), credentials from aws configure / aws sso login /
a named profile (AWS_PROFILE), a region (AWS_REGION); pip install boto3.Give an estimate of the cost for the script length (characters x the provider's rate, minus any free quota; providers.md) and say that prices must be checked on the pricing page.
.env, print it,
or ask the user to paste it into the chat.export it before starting the agent, or create an env
file outside any repo with mode 600, entering the key with a hidden prompt (scripts.md §1). Your
Bash calls load that file in the same command that runs the synthesis (set -a; . FILE; set +a).[ -n "$ELEVENLABS_API_KEY" ] && echo set || echo missing.<phoneme>, <say-as> and <sub> on Google and Polly where
the voice supports it (providers.md).<break time="600ms"/> where supported; elsewhere punctuation, line breaks and inserted silence.
Speed: most engines take a rate (Kokoro/kokoro-onnx speed, Google speaking_rate, Polly SSML
<prosody rate>); keep it within about 0.9-1.1 unless the brief says otherwise.script.txt
and chunks/NNNN.txt in the work folder.GET /v2/voices, Google
list_voices(language_code=...), Polly describe_voices). Do not just take the first entry.WORKDIR/auditions/01-if_sara-1.00.wav, 02-im_nicola-0.95.wav, ...xdg-open FILE, or import them on separate tracks of an audition session and
open SoundCraft, see soundcraft-audio, "Show and approve"). You cannot hear them: say so.WORKDIR/tts/NNNN.wav (or .mp3
for ElevenLabs and Polly), logging chunk id, characters and duration. Retry a failed chunk alone.ffprobe or soundcraft-cli info): non-zero duration roughly proportional to its
text, expected sample rate, no clipping. A chunk far shorter than its text means truncation: re-render it.WORKDIR/narration-48k.wav. For long-form work (audiobook chapters) you may instead import the
chunks as separate clips (section 6) so that a single sentence can be re-taken later.Load the soundcraft-audio skill and follow it; the TTS-specific parts are:
new_session {name, sample_rate:48000} (or execute session.new {name, sample_rate:48000, bit_depth:24}), then import_audio {path:"WORKDIR/narration-48k.wav", track:"Voice"} (or
file.import_audio {paths:[...], new_tracks:true} for separate chunks). Paths must be inside the
read root (soundcraft-audio, "File access and sessions").soundcraft-audio, "Craft know-how", Editing): tighten or lengthen pauses where the pacing is wrong,
edit.strip_silence_preview before any edit.strip_silence, head and tail fades, short fades on
every cut.soundcraft-audio, "Craft know-how", insert order; recipe 1 in its references/recipes.md):
eq_7band -> de_esser -> compressor -> maximizer. Synthetic voices are usually clean and
even: skip the gate, compress lightly (1-3 dB of gain reduction), use the de-esser when the voice is
bright, high-pass around 70-90 Hz.soundcraft-audio, "Craft know-how", Loudness and formats; recipe 3): bounce, read lufs and
true_peak_db from bounce_mix, correct the gain, re-bounce. Targets:
bounce_mix
reports LUFS, not RMS: measure RMS with ffmpeg -af astats (soundcraft-audio, "Verify loop").
Pure digital silence between chunks may be flagged by ACX review (unverified): a very low room-tone
bed avoids it. ACX has historically required human narration for its catalogue: check its current
policy on synthetic voices before producing for ACX (unverified).ffmpeg after approval
(soundcraft-audio, "Save and export").inspect_session: one voice track (or the chunk clips in order, no overlaps), the
inserts in the planned order, nothing muted.bounce_mix meets the target (lufs within 0.5 LU, true_peak_db at or under
the ceiling; ACX RMS and peaks via ffmpeg).Follow soundcraft-audio, "Show and approve": save the session in the work folder with a descriptive name, keep a
rough bounce beside it, open SoundCraft on the session detached, give the absolute paths, the voice and
engine used and the measured LUFS / true peak, and stop and ask the user to listen and accept or
describe changes. No final export, MP3 encode or delivery before explicit acceptance. Changes loop back
to section 5 (re-render chunks) or section 6 (mix). Inside a subagent: save, open, return the paths and
summary, and state that user approval is pending.
du -sh) and
the command that would remove it (venv folder, Kokoro ONNX model files, Piper voice files, the Hugging
Face cache entry models--hexgrad--Kokoro-82M). Do not delete them unasked; they make the next job
instant. Mention system packages you asked the user to install (espeak-ng) so they can remove them.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
text-to-speech, voice-synthesis, audio-production, soundcraft, narration
16 skills in this plugin
/artcraft-routerSelector for the ArtCraft skills: picks which ArtCraft skill(s) to load for a request and loads nothing else itself. Use when a creative request spans several ArtCraft apps (FigCraft, VectorCraft, DesignCraft, DeckCraft, PhotoCraft, LightCraft, FilmCraft, EffectCraft, SoundCraft, WordCraft, GridCraft, PdfCraft, CadCraft, SolidCraft) or when it is unclear which one fits: brand identity, landing page with custom icons, video with narration or animated titles, podcast from a script, magazine with retouched photos, report or deck with data, part plus drawing. Skip it when one skill clearly matches./cadcraft-drawingsDraft, dimension, annotate and plot 2D technical drawings in CadCraft (ArtCraft's AutoCAD-class 2D drafting app, driven through the `cadcraft` MCP server, tools mcp__cadcraft__*, or through `cadcraft-cli`). Use whenever the user mentions CadCraft or the cadcraft MCP tools, or asks for a 2D technical drawing: floor plan, site or room layout, elevation or section, mechanical/part drawing with dimensions, schematic or detail sheet, title block, layers, blocks, hatching, dimensions and annotations, plot or print to PDF at a scale (1:50, 1:100), or to open, inspect, fix, convert (DXF to DWG, SVG, PDF, PNG) or measure DXF/DWG files. Covers units and scale planning, layers, geometry, dimension styles, layouts and viewports, the render-and-verify loop, save/export and the mandatory show-and-approve phase. 3D parts (solid modelling, STEP/STL) belong to solidcraft-cad, vector artwork to vectorcraft-illustration, multi-page print layout to designcraft-layout./deckcraft-presentationsBuild and edit slide decks in DeckCraft (ArtCraft's PowerPoint-style presentation app, driven through the `deckcraft` MCP server, tools mcp__deckcraft__*). Use whenever the user mentions DeckCraft or the deckcraft MCP tools, or asks to create, design, restyle or edit a presentation, slide deck, pitch deck, keynote/talk, training or sales deck, or report-as-slides in/with DeckCraft (slides, layouts, themes, text, shapes, charts, tables, images, SmartArt, speaker notes, transitions, animations, .deckcraft/.pptx/.pdf output). Covers the outline, theme and layout choices, build, render-and-verify, save/export and the mandatory show-and-approve workflow. Not for cases where the user explicitly asked for another format or tool (a .pptx made with python-pptx, Google Slides, a Claude Slides artifact, PDF editing in PdfCraft, UI design in FigCraft)./designcraft-layoutLay out magazines, books, brochures, flyers, catalogues, designed annual reports and other multi-page print documents in DesignCraft (ArtCraft's InDesign-class layout app, via the `designcraft` MCP server or `designcraft-cli`). Use whenever the user mentions DesignCraft or the designcraft MCP tools, or asks for page layout or desktop publishing work: a magazine or book layout, spreads with facing pages, parent (master) pages, running heads and page numbers, columns and grids, paragraph/character styles, text flow across threaded frames, image placement, tables, table of contents, footnotes, bleed and crop marks, preflight, print-ready PDF/X, IDML/InDesign import/export, EPUB. Covers setup, parents, styles, content flow, render-and-verify and the mandatory show-and-approve phase. Single-flow documents (letters, reports, contracts) belong to wordcraft-documents, vector artwork and logos to vectorcraft-illustration, editing an existing PDF to pdfcraft-documents, UI design to figcraft-design./effectcraft-motionBuild motion graphics, animated titles, lower thirds, logo stings, kinetic typography, compositing and visual effects in EffectCraft (ArtCraft's After Effects-class compositor, via the `effectcraft` MCP server (mcp__effectcraft__*) or `effectcraft-cli`). Use whenever the user mentions EffectCraft or the effectcraft MCP tools, or asks for an animated composition, motion graphics, animated title/intro/lower third, keyframes, expressions, text animators, shape layers, particles, glow/blur/distortion, green-screen keying, rotoscoping, motion tracking, stabilizing, 3D cameras/lights, Lottie export, or to render a comp to MP4/ProRes/WebM/GIF/PNG sequence (with alpha); also .ecproj files. Covers comp, layers, keyframes, effects, frame-preview verify, render and the mandatory show-and-approve phase. Cutting/assembling footage on a timeline and colour grading belong to filmcraft-video, audio-only work to soundcraft-audio, still images to photocraft-images, static vector artwork to vectorcraft-illustration./figcraft-designDesign UI in FigCraft (ArtCraft's Figma-class design app, driven through the `figcraft` MCP server) and turn FigCraft designs into frontend code. Use whenever the user mentions FigCraft or the figcraft MCP tools, or asks to design a screen, app screen, mobile screen, landing page, dashboard, UI mockup, wireframe, design system, design tokens, color/text styles, variables, Light/Dark themes, components with variants, a clickable prototype or user flow; asks for a distinctive, unique, non-generic or 'not AI-looking' UI, a new product-UI visual direction, several divergent design directions to choose from or an art-director critique; or to implement, build, code up or hand off a FigCraft design (design to code, React, Tailwind, CSS variables, export assets/icons). Covers brief → divergent directions → tokens → anchor component → screens → screenshot-verify → adversarial review → prototype, with distinctive (non-generic) design as the default, and pixel-faithful implementation in the user's stack.npx claudepluginhub dnviti/artcraft-skills --plugin artcraft-skillsOther plugins' skills for the same job