tts
Skill394 starsChanged 7 months agoApache-2.0View on GitHub
Generates spoken narration with Gemini TTS through Vercel AI Gateway. Use for text-to-speech, audio samples, voiceovers, or speaking as Junior with the reusable Junior voice. Do not use for transcription, voice cloning, music generation, or rendering a video without a narration request.
- Reads credentials
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use the bundled scripts/speech.mjs from this directory.
- Very specific: line 13
Use the default junior-v1 preset: a bright, warm, mischievous adult helper with dry humor.
- Distinctive: line 14
Write narration to a UTF-8 file.
- Very specific: line 16
Use sendFiles to deliver the returned path as audio/wav.
- Very specific: line 34
Read assets/junior-v1.json when the user asks how the voice is defined.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Text to Speech
Use the bundled scripts/speech.mjs from this directory. Node.js and the installed plugin's host-managed Gateway key are required. Do not install an SDK or ask for secrets in chat.
Workflow
- Resolve the requested spoken text. For a sample of Junior's voice, use the bundled sample. Do not send unrelated private context or the full persona to the provider.
- Use the default
junior-v1preset: a bright, warm, mischievous adult helper with dry humor. Use--delivery plainfor serious or sensitive text. Do not present it as an imitation or recording of a real performer. - Write narration to a UTF-8 file. Keep each clip at 1–5000 characters. Generation spends Gateway credits. Do not generate extra variants without a request.
- Generate to a fresh
.wavpath. Inspect an existing file before trying again. Do not automatically retry timeouts or failures: generation may already have spent credits. - Use
sendFilesto deliver the returned path asaudio/wav. Say it is synthetic narration. For a video, measure the new audio and pass it to the rendering workflow; speech generation alone does not update the video.
Commands and Assets
# Local, no API call: show the reusable voice preset.
node scripts/speech.mjs --profile
# Paid: generate the bundled Junior sample.
node scripts/speech.mjs --sample --output /tmp/junior-sample.wav
# Paid: generate requested narration.
node scripts/speech.mjs --text-file /tmp/narration.txt --output /tmp/narration.wav
# Paid: use the same voice without snark.
node scripts/speech.mjs --text-file /tmp/incident.txt --output /tmp/incident.wav --delivery plainRead assets/junior-v1.json when the user asks how the voice is defined. Read assets/sample.txt when previewing the sample script. The script sends delivery instructions separately from text. Do not prepend those directions to narration.
Results are JSON with path, bytes, MIME type, model, voice, profile, delivery, and synthetic status. Use --help for the command surface. No key argument is accepted.
Failures
- Missing host key or HTTP 401/403: ask the operator to check
AI_GATEWAY_API_KEY, plugin registration, and team speech access, then redeploy. A missing key in the Sandbox is expected. Core's OIDC authentication is not reused by this manifest-only plugin. - HTTP 402: ask the operator to check credits and spending limits.
- HTTP 404: report that the requested Gemini model is unavailable for the team. Do not silently choose a different model or provider.
- Timeout, provider warning, or bad audio: stop and check Gateway usage before a user-authorized retry. Do not claim that an audio file was created or approved by listening.
- Missing script or Node.js: report plugin setup failure. Do not improvise a token-bearing command.
- Missing credentials: share the preset and script as a recipe, clearly labeled as not generated audio.
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- jjyaoao/HelloAgents★ 3.2ksame name
- NoizAI/skills★ 526same name
- momori777/Artemis★ 424same name
- marswaveai/skills★ 79same name
- crazynomad/skills★ 27same name
- sneakers-the-rat/muse-skills★ 24same name
- obra/muse-skills★ 20same name
- wpgaurav/WordPress-skills★ 19same name
- choupiyang/ZAI_SKILLS★ 13same name
- LocalKinAI/kinclaw★ 9same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use Video Generation, VLM and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
huang-x-hSkillVideo Generation
Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.
Also in 6 projects that use this
huang-x-hSkillVLM
Implement vision-based AI chat capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze images, describe visual content, or create applications that combine image understanding with conversational AI. Supports image URLs and base64 encoded images for multimodal interactions.
Also in 6 projects that use this
dav-niu474Skillgift-evaluator
The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.
Also in 5 projects that use this
dav-niu474SkillPodcast Generate
Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).
Also in 5 projects that use this
- +2 more from huang-x-h
- +6 more from dav-niu474
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- packages/docs/public/llms.txtllms.txt
- nitroSkill
- pi-agent-integrationSkill
- public-docsSkill
- slack-developmentSkill
- vercel-queuesSkill
- vercel-sandboxSkill
- example-bundle-helpSkill
- example-localSkill
- agent-browserSkill
- demo-videoSkill
- visual-web-qaSkill
- amplitudeSkill
- cloudflareSkill
- datadogSkill
- eval-authSkill
- eval-oauthSkill
- coding-workspace-fixtureSkill
- github-headless-pr-fixtureSkill
- eval-directorySkill
- eval-guardian-actionsSkill
- eval-mcpSkill
- incident-briefSkill
- resilient-working-directorySkill
- source-handbookSkill
- weather-lookupSkill
- figmaSkill
- github-codeSkill
- github-issuesSkill
- hexSkill
- linearSkill
- self-updateSkill
- notionSkill
- octolensSkill
- pagerdutySkill
- sentrySkill
- jr-rpcSkill
- eval-authSkill
- vercelSkill
- junior-qaSkill
- juniorSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

