[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71H2XYV3YR2JG8ZXPNVQN7J":3,"skill-same:01M71H2XYV3YR2JG8ZXPNVQN7J":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M71H2XYV3YR2JG8ZXPNVQN7J","tts",null,"Text-to-speech synthesis with ElevenLabs and system voices","JSGforever\u002Fskillguard","JSGforever","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F85541948?v=4","01M71FQD3E132VMR5F4TAYX3YS","01M71FQD4DYW0XJ4XQ4YQH75Y9",2,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--tts\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25],"speech","system","api","text-to-speech","text","with","elevenlabs","Synthesis","2026-11-10 10:12:30",false,"---\nname: tts\ndescription: \"Text-to-speech synthesis with ElevenLabs and system voices\"\nemoji: \"🔊\"\ngates:\n  envs:\n    anyOf:\n      - ELEVENLABS_API_KEY\n---\n\n# TTS (Text-to-Speech) - Complete API Reference\n\nConvert text to natural-sounding speech using ElevenLabs, macOS say, or espeak.\n\n---\n\n## Chat Commands\n\n### Synthesize Speech\n\n```\n\u002Fspeak \"Your order has been filled\"         Speak text aloud\n\u002Fspeak \"Market alert\" --voice rachel        Use specific voice\n\u002Fspeak \"Portfolio up 5%\" --speed 1.2        Adjust speed\n```\n\n### Voice Management\n\n```\n\u002Fvoices                                     List available voices\n\u002Fvoices preview rachel                      Preview a voice\n\u002Fvoice set rachel                           Set default voice\n```\n\n### Settings\n\n```\n\u002Ftts status                                 Check TTS status\n\u002Ftts provider elevenlabs                    Set provider\n\u002Ftts speed 1.0                              Set default speed\n\u002Ftts volume 0.8                             Set volume (0-1)\n```\n\n---\n\n## TypeScript API Reference\n\n### Create TTS Service\n\n```typescript\nimport { createTTSService } from 'clodds\u002Ftts';\n\nconst tts = createTTSService({\n  provider: 'elevenlabs',\n  apiKey: process.env.ELEVENLABS_API_KEY,\n\n  \u002F\u002F Defaults\n  defaultVoice: 'rachel',\n  defaultSpeed: 1.0,\n  defaultPitch: 1.0,\n});\n```\n\n### Synthesize Speech\n\n```typescript\n\u002F\u002F Basic synthesis\nconst audio = await tts.synthesize('Hello, your trade was executed.');\n\n\u002F\u002F Play immediately\nawait tts.speak('Portfolio value is $10,000');\n\n\u002F\u002F With options\nawait tts.speak('Market alert: BTC crossed $100k', {\n  voice: 'josh',\n  speed: 1.2,\n  pitch: 1.0,\n  volume: 0.8,\n});\n```\n\n### Streaming Synthesis\n\n```typescript\n\u002F\u002F Stream for long text (lower latency)\nconst stream = await tts.streamSynthesize(longText, {\n  voice: 'rachel',\n});\n\nstream.on('data', (chunk) => {\n  \u002F\u002F Play audio chunks as they arrive\n  audioPlayer.write(chunk);\n});\n\nstream.on('end', () => {\n  console.log('Synthesis complete');\n});\n```\n\n### List Voices\n\n```typescript\n\u002F\u002F Get available voices\nconst voices = await tts.listVoices();\n\nfor (const voice of voices) {\n  console.log(`${voice.id}: ${voice.name}`);\n  console.log(`  Gender: ${voice.gender}`);\n  console.log(`  Accent: ${voice.accent}`);\n  console.log(`  Use case: ${voice.useCase}`);\n}\n```\n\n### Voice Preview\n\n```typescript\n\u002F\u002F Preview a voice\nawait tts.preview('rachel', 'This is a preview of the Rachel voice.');\n```\n\n### Queue Management\n\n```typescript\n\u002F\u002F Queue multiple messages\ntts.queue('First message');\ntts.queue('Second message');\ntts.queue('Third message');\n\n\u002F\u002F Messages play in order\n\n\u002F\u002F Clear queue\ntts.clearQueue();\n\n\u002F\u002F Skip current\ntts.skip();\n```\n\n---\n\n## ElevenLabs Voices\n\n| Voice ID | Name | Gender | Accent | Best For |\n|----------|------|--------|--------|----------|\n| `rachel` | Rachel | F | American | Narration |\n| `domi` | Domi | F | American | Conversational |\n| `bella` | Bella | F | American | Soft, gentle |\n| `antoni` | Antoni | M | American | Narration |\n| `josh` | Josh | M | American | Deep, authoritative |\n| `arnold` | Arnold | M | American | Gruff, character |\n| `adam` | Adam | M | American | Deep, narration |\n| `sam` | Sam | M | American | Raspy, character |\n\n---\n\n## Providers\n\n| Provider | Quality | Latency | Cost | Setup |\n|----------|---------|---------|------|-------|\n| **ElevenLabs** | Premium | ~500ms | $5\u002F100k chars | API key |\n| **say** (macOS) | Good | ~100ms | Free | Built-in |\n| **espeak** | Basic | ~50ms | Free | Install |\n\n### Provider Configuration\n\n```typescript\n\u002F\u002F ElevenLabs (best quality)\nconst tts = createTTSService({\n  provider: 'elevenlabs',\n  apiKey: process.env.ELEVENLABS_API_KEY,\n});\n\n\u002F\u002F macOS say (free, local)\nconst tts = createTTSService({\n  provider: 'say',\n  defaultVoice: 'Samantha',  \u002F\u002F macOS voice\n});\n\n\u002F\u002F espeak (cross-platform, free)\nconst tts = createTTSService({\n  provider: 'espeak',\n  defaultVoice: 'en-us',\n});\n```\n\n---\n\n## Audio Output\n\n```typescript\n\u002F\u002F Set output device\ntts.setOutputDevice('Built-in Speakers');\n\n\u002F\u002F Get available devices\nconst devices = await tts.listOutputDevices();\n```\n\n---\n\n## SSML Support (ElevenLabs)\n\n```typescript\n\u002F\u002F Use SSML for advanced control\nawait tts.speak(`\n  \u003Cspeak>\n    \u003Cprosody rate=\"slow\">Important alert:\u003C\u002Fprosody>\n    \u003Cbreak time=\"500ms\"\u002F>\n    Your stop loss was triggered.\n  \u003C\u002Fspeak>\n`, { ssml: true });\n```\n\n---\n\n## Best Practices\n\n1. **Use streaming** — For long text, reduces time to first audio\n2. **Cache common phrases** — \"Order filled\", \"Alert triggered\"\n3. **Adjust speed** — Faster for alerts, slower for details\n4. **Queue management** — Don't overlap important messages\n5. **Fallback provider** — Use say\u002Fespeak if ElevenLabs unavailable\n","# TTS (Text-to-Speech) - Complete API Reference\n\nConvert text to natural-sounding speech using ElevenLabs, macOS say, or espeak.\n\n---\n\n## Chat Commands\n\n### Synthesize Speech\n\n```\n\u002Fspeak \"Your order has been filled\"         Speak text aloud\n\u002Fspeak \"Market alert\" --voice rachel        Use specific voice\n\u002Fspeak \"Portfolio up 5%\" --speed 1.2        Adjust speed\n```\n\n### Voice Management\n\n```\n\u002Fvoices                                     List available voices\n\u002Fvoices preview rachel                      Preview a voice\n\u002Fvoice set rachel                           Set default voice\n```\n\n### Settings\n\n```\n\u002Ftts status                                 Check TTS status\n\u002Ftts provider elevenlabs                    Set provider\n\u002Ftts speed 1.0                              Set default speed\n\u002Ftts volume 0.8                             Set volume (0-1)\n```\n\n---\n\n## TypeScript API Reference\n\n### Create TTS Service\n\n```typescript\nimport { createTTSService } from 'clodds\u002Ftts';\n\nconst tts = createTTSService({\n  provider: 'elevenlabs',\n  apiKey: process.env.ELEVENLABS_API_KEY,\n\n  \u002F\u002F Defaults\n  defaultVoice: 'rachel',\n  defaultSpeed: 1.0,\n  defaultPitch: 1.0,\n});\n```\n\n### Synthesize Speech\n\n```typescript\n\u002F\u002F Basic synthesis\nconst audio = await tts.synthesize('Hello, your trade was executed.');\n\n\u002F\u002F Play immediately\nawait tts.speak('Portfolio value is $10,000');\n\n\u002F\u002F With options\nawait tts.speak('Market alert: BTC crossed $100k', {\n  voice: 'josh',\n  speed: 1.2,\n  pitch: 1.0,\n  volume: 0.8,\n});\n```\n\n### Streaming Synthesis\n\n```typescript\n\u002F\u002F Stream for long text (lower latency)\nconst stream = await tts.streamSynthesize(longText, {\n  voice: 'rachel',\n});\n\nstream.on('data', (chunk) => {\n  \u002F\u002F Play audio chunks as they arrive\n  audioPlayer.write(chunk);\n});\n\nstream.on('end', () => {\n  console.log('Synthesis complete');\n});\n```\n\n### List Voices\n\n```typescript\n\u002F\u002F Get available voices\nconst voices = await tts.listVoices();\n\nfor (const voice of voices) {\n  console.log(`${voice.id}: ${voice.name}`);\n  console.log(`  Gender: ${voice.gender}`);\n  console.log(`  Accent: ${voice.accent}`);\n  console.log(`  Use case: ${voice.useCase}`);\n}\n```\n\n### Voice Preview\n\n```typescript\n\u002F\u002F Preview a voice\nawait tts.preview('rachel', 'This is a preview of the Rachel voice.');\n```\n\n### Queue Management\n\n```typescript\n\u002F\u002F Queue multiple messages\ntts.queue('First message');\ntts.queue('Second message');\ntts.queue('Third message');\n\n\u002F\u002F Messages play in order\n\n\u002F\u002F Clear queue\ntts.clearQueue();\n\n\u002F\u002F Skip current\ntts.skip();\n```\n\n---\n\n## ElevenLabs Voices\n\n| Voice ID | Name | Gender | Accent | Best For |\n|----------|------|--------|--------|----------|\n| `rachel` | Rachel | F | American | Narration |\n| `domi` | Domi | F | American | Conversational |\n| `bella` | Bella | F | American | Soft, gentle |\n| `antoni` | Antoni | M | American | Narration |\n| `josh` | Josh | M | American | Deep, authoritative |\n| `arnold` | Arnold | M | American | Gruff, character |\n| `adam` | Adam | M | American | Deep, narration |\n| `sam` | Sam | M | American | Raspy, character |\n\n---\n\n## Providers\n\n| Provider | Quality | Latency | Cost | Setup |\n|----------|---------|---------|------|-------|\n| **ElevenLabs** | Premium | ~500ms | $5\u002F100k chars | API key |\n| **say** (macOS) | Good | ~100ms | Free | Built-in |\n| **espeak** | Basic | ~50ms | Free | Install |\n\n### Provider Configuration\n\n```typescript\n\u002F\u002F ElevenLabs (best quality)\nconst tts = createTTSService({\n  provider: 'elevenlabs',\n  apiKey: process.env.ELEVENLABS_API_KEY,\n});\n\n\u002F\u002F macOS say (free, local)\nconst tts = createTTSService({\n  provider: 'say',\n  defaultVoice: 'Samantha',  \u002F\u002F macOS voice\n});\n\n\u002F\u002F espeak (cross-platform, free)\nconst tts = createTTSService({\n  provider: 'espeak',\n  defaultVoice: 'en-us',\n});\n```\n\n---\n\n## Audio Output\n\n```typescript\n\u002F\u002F Set output device\ntts.setOutputDevice('Built-in Speakers');\n\n\u002F\u002F Get available devices\nconst devices = await tts.listOutputDevices();\n```\n\n---\n\n## SSML Support (ElevenLabs)\n\n```typescript\n\u002F\u002F Use SSML for advanced control\nawait tts.speak(`\n  \u003Cspeak>\n    \u003Cprosody rate=\"slow\">Important alert:\u003C\u002Fprosody>\n    \u003Cbreak time=\"500ms\"\u002F>\n    Your stop loss was triggered.\n  \u003C\u002Fspeak>\n`, { ssml: true });\n```\n\n---\n\n## Best Practices\n\n1. **Use streaming** — For long text, reduces time to first audio\n2. **Cache common phrases** — \"Order filled\", \"Alert triggered\"\n3. **Adjust speed** — Faster for alerts, slower for details\n4. **Queue management** — Don't overlap important messages\n5. **Fallback provider** — Use say\u002Fespeak if ElevenLabs unavailable\n",{"name":5,"emoji":31,"gates":32,"description":7},"🔊",{"envs":33},{"anyOf":34},[35],"ELEVENLABS_API_KEY","main","f2ec4b3b9133d34eeaf9b38e4b0a97e8e5705a7f","benchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--tts",0,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard","https:\u002F\u002Fgithub.com\u002FJSGforever","2026-08-29 18:27:56",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add JSGforever\u002Fskillguard --skill tts",{"tool":49,"command":50},"bunx","bunx skills add JSGforever\u002Fskillguard --skill tts",{"tool":52,"command":53},"pnpm","pnpm dlx skills add JSGforever\u002Fskillguard --skill tts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--tts\u002FSKILL.md",true,[57],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"index.ts","SCRIPT","脚本",4505,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--tts\u002Findex.ts",[64,91,102,129,148,167],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":26},"01M71HY2SNXBA9Q00WZDTZQ31Z","skillguard-codex-scanner","Hybrid deterministic+LLM agent-skill security scanner. Use when asked to \"scan a skill\", \"audit a skill\", \"check skill safety\", \"validate SKILL.md\", \"is this skill safe to install\", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fsrc\u002Fskillguard\u002Fstatic_scanner\u002Fskillguard-codex-scanner\u002FSKILL.md",[],[71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],"scanner","skillguard codex scanner","skillguard","codex","chain","skill security","security-review","review report","structural","secret","prompt injection","security scanner","when","review","malicious","permissions","exposure","audit","scripts","safe",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":26},"01M71HY0SPKTT3S27BC2HPAC5M","data-exfiltrator","Analyzes data files","MIT","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Fsmoke-one-skill\u002Fasset1__cisco-ai-defense--data-exfiltrator\u002FSKILL.md",[],[99,100,101],"data","data exfiltrator","files",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":26},"01M71HXVS9EMN44BGDW215FZ72","real-time-collaboration-engine","Build real-time collaborative editing with WebSockets, OT\u002FCRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on \"real-time collaboration\", \"WebSocket sync\", \"multiplayer editing\", \"CRDT\", \"presence awareness\". NOT for simple chat, request-response APIs, or single-user apps.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--real-time-collaboration-engine\u002FSKILL.md",[],[109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],"time","real time collaboration engine","real time collaboration","collaboration","engine","real time","Video","reliability","video editing","performance","conflict resolution","presence","access","apps","updates","Bash","activate","optimizer","react","streaming",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":26},"01M71HXP6CTY4KFN0QVMMN0V7J","react-performance-optimizer","Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on \"React performance\", \"slow render\", \"useMemo\", \"bundle size\", \"virtualization\". NOT for backend optimization, non-React frameworks, or premature optimization.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--react-performance-optimizer\u002FSKILL.md",[],[118,136,126,127,137,138,139,140,141,142,109,143,144,122,124,145,125,128,146,147],"react performance optimizer","react performance","performance optimizer","app","nextjs","expert","re","render","2025","code","router","strategies",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":26},"01M71HXH7QXSQB4QTDZ7SP7YXQ","llm-streaming-response-handler","Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI\u002FAnthropic\u002FClaude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on \"LLM streaming\", \"SSE\", \"token stream\", \"chat UI\", \"real-time AI\". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--llm-streaming-response-handler\u002FSKILL.md",[],[155,128,156,157,158,159,118,109,160,161,162,124,125,126,163,127,164,22,165,166],"llm streaming response handler","handler","error","processing","retry","chat ui","error recovery","critical","batch","display","server","read",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":26},"01M71HXCB0E1YRKYW1Y8T0Y106","github-actions-pipeline-builder","Build production CI\u002FCD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on \"GitHub Actions\", \"CI\u002FCD\", \"workflow\", \"deployment pipeline\", \"automated testing\". NOT for Jenkins\u002FCircleCI, manual deployments, or non-GitHub repositories.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002FSKILL.md",[],[174,175,176,177,178,179,180,116,141,181,182,183,125,147,184,166,185,186,187,188],"github actions pipeline builder","actions","github actions","pipeline builder","github","builder","pipeline","testing","ci","workflows","run","release","write","edit","git"]