用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/krishagel/geoffrey --skill local-tts命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Unified Google Workspace integration for managing email, calendar, files, and communication across multiple accounts
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. Make sure to use this skill whenever the user mentions creating, building, designing, or improving skills, even if they don't explicitly say "skill-creator".
Generate Peninsula School District Standard Operating Procedures using the official PSD SOP template and conventions. Conducts a structured interview to gather all required information before drafting. Use when creating new SOPs, updating existing procedures, or drafting operational documentation for any district department. Triggers on requests to create SOPs, standard operating procedures, operational procedures, process documentation, or procedural guides for PSD.
基于 SOC 职业分类
正在显示 SKILL.md
| name | local-tts |
| version | 1.0.0 |
| description | Local text-to-speech using MLX and Kokoro model |
| triggers | ["local-tts","local tts","generate audio locally","kokoro tts"] |
| dependencies | ["mlx-audio (via uv --with)","pydub (via uv --with)"] |
Generate high-quality speech audio locally using Apple Silicon MLX acceleration and the Kokoro-82M model. No API keys or recurring costs.
# Generate MP3 from text
uv run --with mlx-audio --with pydub skills/local-tts/scripts/generate_audio.py \
--text "Hello, this is a test." \
--output ~/Desktop/test.mp3
# Generate from file
uv run --with mlx-audio --with pydub skills/local-tts/scripts/generate_audio.py \
--file /tmp/script.txt \
--voice af_heart \
--output ~/Desktop/podcast.mp3
# List available voices
uv run --with mlx-audio skills/local-tts/scripts/list_voices.py
| Parameter | Required | Default | Description |
|---|---|---|---|
--text | One of text/file | - | Text to convert |
--file | One of text/file | - | Path to text file |
--voice | No | af_heart | Voice preset |
--output | Yes | - | Output file path (.mp3, .wav) |
--model | No | Kokoro-82M-bf16 | Model to use |
--list-voices | No | - | Show available voices |
af_heart - Warm, friendly (default)af_bella - Soft, calmaf_nova - Clear, professionalaf_river - Clear, confidentaf_sarah - Soft, expressiveam_adam - Clear, professionalam_echo - Deep, smootham_liam - Articulate, conversationalam_michael - Soft, measuredbf_emma - Clear, refined femalebm_daniel - Clear, professional malebm_george - Distinguished maleSee references/voices.md for full list.
{
"success": true,
"file": "/Users/hagelk/Desktop/podcast.mp3",
"voice": "af_heart",
"model": "Kokoro-82M-bf16",
"characters": 9824,
"chunks": 20,
"duration_seconds": 612.5,
"generation_time": 45.2
}
| Hardware | Speed | Notes |
|---|---|---|
| M3 Pro 36GB | ~3-4x realtime | First run slower (model loading) |
| M1/M2 Mac Mini 8GB | ~1.5x realtime | Works well for briefings |
| M1/M2 Mac Mini 16GB | ~2x realtime | Comfortable headroom |
MUST use --with flags - Do not use PEP 723 inline deps. mlx-audio requires uv's cached environment.
First run is slower - Model downloads ~200MB and espeak dependencies initialize.
Model cached at: ~/.cache/huggingface/hub/models--mlx-community--Kokoro-82M-bf16/
The morning-briefing skill uses this for podcast generation:
uv run --with mlx-audio --with pydub skills/local-tts/scripts/generate_audio.py \
--file /tmp/morning_briefing_podcast.txt \
--voice af_heart \
--output ~/Desktop/morning_briefing.mp3