Lilly Community Research
ssaaffaakk/Lilly
Lilly community-research skill. An agent skill from ssaaffaakk/Lilly.
Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches.
$ npx skills add sammcj/agentic-coding --skill piper-tts-training -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sammcj/agentic-coding piper-tts-training --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skills_disabled/piper-tts-training .claude/skills/piper-tts-training && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "piper-tts-training" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/piper-tts-training into .claude/skills/piper-tts-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "piper-tts-training", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/piper-tts-trainingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sammcj/agentic-coding --skill piper-tts-training -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sammcj/agentic-coding piper-tts-training --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .agents/skills && cp -r skills-src/Skills_disabled/piper-tts-training .agents/skills/piper-tts-training && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "piper-tts-training" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/piper-tts-training into .agents/skills/piper-tts-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "piper-tts-training", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sammcj/agentic-coding --skill piper-tts-training -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sammcj/agentic-coding piper-tts-training --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/Skills_disabled/piper-tts-training .cursor/skills/piper-tts-training && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "piper-tts-training" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/piper-tts-training into .cursor/skills/piper-tts-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "piper-tts-training", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sammcj/agentic-coding.git --path Skills_disabled/piper-tts-training--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sammcj/agentic-coding --skill piper-tts-training -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sammcj/agentic-coding piper-tts-training --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/Skills_disabled/piper-tts-training .gemini/skills/piper-tts-training && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "piper-tts-training" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/piper-tts-training into .gemini/skills/piper-tts-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "piper-tts-training", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sammcj/agentic-coding piper-tts-trainingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sammcj/agentic-coding --skill piper-tts-training -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .github/skills && cp -r skills-src/Skills_disabled/piper-tts-training .github/skills/piper-tts-training && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "piper-tts-training" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/piper-tts-training into .github/skills/piper-tts-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "piper-tts-training", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sammcj/agentic-coding --skill piper-tts-training -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sammcj/agentic-coding piper-tts-training --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/Skills_disabled/piper-tts-training .opencode/skills/piper-tts-training && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "piper-tts-training" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/piper-tts-training into .opencode/skills/piper-tts-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "piper-tts-training", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
piper-tts-trainingTrain custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches.
Piper Tts Training is an agent skill from sammcj/agentic-coding. Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches. Use when creating new synthetic voices, fine-tuning existing Piper checkpoints, preparing audio datasets for TTS training, or deploying voice models to devices like Raspberry Pi or Home Assistant. Covers dataset preparation, Whisper-based validation, training configuration, and ONNX export.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/american_spellings.json`, `references/localisation.md` and `scripts/convert_spelling.py`).
It sits in AI & LLM Engineering, covering Text to speech and voice, Fine-tuning and Speech recognition and synthesis. It works with ONNX and Home Assistant. The repository describes itself as: Agentic Coding Rules, Templates etc... The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2f25ced. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Piper Tts Training loads about 1.4k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 101 tokens; SKILL.md has 461 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from sammcj/agentic-coding at commit 2f25ced, republished under its Apache-2.0 licence (© sammcj). 461 words, ~1,449 tokens.
.claude/skills/piper-tts-training/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Train custom text-to-speech voices compatible with Piper's lightweight ONNX runtime.
Piper produces fast, offline TTS suitable for embedded devices. Training involves:
Fine-tuning vs from-scratch:
Gather 1,300-1,500+ phrases covering broad phonetic range:
Critical for non-US English: Ensure corpus uses correct regional spelling. See Localisation.
Generate or record training audio at 22050Hz mono WAV.
If using voice cloning (e.g., Chatterbox TTS):
sox -v 0.95 input.wav -r 22050 -t wav output.wav-v 0.95 prevents clipping during resamplingRecording requirements:
Automate quality checks rather than manual listening:
import whisper
from piper_phonemize import phonemize_text
model = whisper.load_model("base")
def validate_sample(audio_path, expected_text):
result = model.transcribe(audio_path)
transcribed = result["text"].strip()
# Compare phonemically to handle spelling/punctuation differences
expected_phonemes = phonemize_text(expected_text, "en-gb")
transcribed_phonemes = phonemize_text(transcribed, "en-gb")
return expected_phonemes == transcribed_phonemesRetry failed samples up to 3 times. Target 95%+ dataset coverage.
Structure your dataset:
dataset/
├── metadata.csv
└── wavs/
├── sample_0001.wav
├── sample_0002.wav
└── ...metadata.csv format: {id}|{text} (pipe-separated, no headers)
sample_0001|The quick brown fox jumps over the lazy dog.
sample_0002|Pack my box with five dozen liquor jugs.Convert to PyTorch tensors:
python3 -m piper_train.preprocess \
--language en-gb \
--input-dir dataset/ \
--output-dir piper_training_dir/ \
--dataset-format ljspeechUse en-gb for Australian/NZ/UK voices (espeak-ng phoneme set).
Fine-tuning (recommended):
python3 -m piper_train \
--dataset-dir piper_training_dir/ \
--accelerator gpu \
--devices 1 \
--batch-size 12 \
--max_epochs 3000 \
--resume_from_checkpoint ljspeech-2000.ckpt \
--checkpoint-epochs 100 \
--quality high \
--precision 32Key parameters:
--batch-size: Reduce if VRAM limited (12 works on 8GB)--resume_from_checkpoint: Start from LJSpeech high-quality checkpoint--precision 32: More stable than mixed precision--validation-split 0.0 --num-test-examples 0: Skip validation for small datasetsMonitor with TensorBoard: watch loss_disc_all for convergence.
python3 -m piper_train.export_onnx checkpoint.ckpt output.onnx.unoptimized
onnxsim output.onnx.unoptimized output.onnxCreate metadata file output.onnx.json from training config.json.
Piper uses espeak-ng for phonemisation. American pronunciations in training data cause accent drift.
Corpus preparation:
scripts/convert_spelling.py on corpus text before trainingen-gb or en-au espeak-ng voice for phonemisationCommon spelling conversions:
| American | Australian/UK |
|---|---|
| -ize | -ise |
| -or | -our |
| -er | -re |
| -og | -ogue |
| -ense | -ence |
Phoneme considerations:
For complete word lists and phonetic details, see references/localisation.md.
Validation: Use Whisper with language="en" and verify transcriptions match expected regional forms.
Pin versions to avoid API breakage:
pytorch-lightning==1.9.3
torch<2.6.0
piper-phonemize
onnxruntime-gpu
onnxsimDocker containerisation recommended for reproducibility.
Minimum (fine-tuning):
From scratch: Multiply time by ~200x.
| Issue | Solution |
|---|---|
| CUDA OOM | Reduce batch-size (try 8 or 4) |
| Checkpoint won't load | Check pytorch-lightning version matches checkpoint |
| Garbled output | Insufficient training epochs or dataset too small |
| Wrong accent | Check espeak-ng language code and corpus spelling |
© sammcj, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts, references) in Skills_disabled/piper-tts-training of sammcj/agentic-coding.
Open the folder on GitHubat commit 2f25ced
Piper Tts Training next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Piper Tts Training this skillsammcj/agentic-coding | 162 | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Lilly Community Researchssaaffaakk/Lilly | 171 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Xybrid Initxybrid-ai/xybrid | 469 | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Agentstadaspetra/loop | 296 | 1 repos | ~2.5k | Automated safety check: Pass | MIT | |
| Agentselevenlabs/skills | 482 | — | ~6.5k | Automated safety check: Pass | MIT | |
| Parakeet Sttsundial-org/awesome-openclaw-skills | 663 | — | ~771 | Automated safety check: Pass | None |
ssaaffaakk/Lilly
Lilly community-research skill. An agent skill from ssaaffaakk/Lilly.
xybrid-ai/xybrid
Generate model metadata for an ML model so it works with xybrid.
tadaspetra/loop
Build voice AI agents with ElevenLabs. An agent skill from tadaspetra/loop.
elevenlabs/skills
Build voice AI agents with ElevenLabs. An agent skill from elevenlabs/skills.
sundial-org/awesome-openclaw-skills
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU).
xybrid-ai/xybrid
Test a model end-to-end using the xybrid execution system. An agent skill from xybrid-ai/xybrid.
sammcj/agentic-coding
A skill your agent uses when generating songs with YuE2, covering a recording via SheetSage2 audio-to-ABC, editing a score or lyrics with melody preservation, or building a reproducible listening…
sammcj/agentic-coding
A skill your agent uses when creating or editing Bento (.bento.html) slide decks, including any request for a single-file HTML slide deck.
sammcj/agentic-coding
A skill your agent uses whenever the user wants you to manage, discuss or diagnose iDrive Backup configuration on macOS
sammcj/agentic-coding
Convert a PPTX slide deck into per-slide markdown that preserves both the verbatim text and the meaning of embedded screenshots, diagrams and charts in their original layout positions.
sammcj/agentic-coding
You MUST load this skill before the skill-creator skill AND before making ANY change to, or conducting a review of ANY Agent Skill.
sammcj/agentic-coding
Delays execution of a task until a specified time or after a duration.
Works with
Categories
Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches. Piper Tts Training is an agent skill from sammcj/agentic-coding. Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches.
Piper Tts Training fits situations like: creating new synthetic voices; fine-tuning existing Piper checkpoints; preparing audio datasets for TTS training; deploying voice models to devices like Raspberry Pi.
Run `npx skills add sammcj/agentic-coding --skill piper-tts-training -a claude-code`. Or copy the skill folder (Skills_disabled/piper-tts-training in sammcj/agentic-coding) into .claude/skills/piper-tts-training in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sammcj/agentic-coding --skill piper-tts-training -a codex`. Or copy the skill folder (Skills_disabled/piper-tts-training in sammcj/agentic-coding) into .agents/skills/piper-tts-training in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sammcj/agentic-coding --skill piper-tts-training -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/piper-tts-training, .gemini/skills/piper-tts-training, .github/skills/piper-tts-training and .opencode/skills/piper-tts-training in your project.
Going by SKILL.md and its folder, Piper Tts Training needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; Docker.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Piper Tts Training is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Piper Tts Training: Lilly Community Research (ssaaffaakk/Lilly, 171 stars), Xybrid Init (xybrid-ai/xybrid, 469 stars), Agents (tadaspetra/loop, 296 stars) and Agents (elevenlabs/skills, 482 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sammcj (a GitHub user) maintains it in sammcj/agentic-coding, which has 162 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on October 9, 2026.
Source: sammcj/agentic-coding on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.