[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-letta-speech":3,"mdc--934rp9-key":36,"related-org-letta-speech":915,"related-repo-letta-speech":1078},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"speech","generate text-to-speech audio","Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI (`scripts\u002Ftext_to_speech.py`) with built-in voices and require `OPENAI_API_KEY` for live calls. Custom voice creation is out of scope.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"letta","Letta","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fletta.png","letta-ai",[13,17,20,23],{"name":14,"slug":15,"type":16},"Accessibility","accessibility","tag",{"name":18,"slug":19,"type":16},"Text-to-Speech","text-to-speech",{"name":21,"slug":22,"type":16},"Audio","audio",{"name":24,"slug":4,"type":16},"Speech",127,"https:\u002F\u002Fgithub.com\u002Fletta-ai\u002Fskills","2026-07-13T06:23:58.303558",null,20,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"A shared repository for skills. Intended to be used with Letta Code, Claude Code, Codex CLI, and other agents that support skills.","https:\u002F\u002Fgithub.com\u002Fletta-ai\u002Fskills\u002Ftree\u002FHEAD\u002Ftools\u002Fspeech","---\nname: \"speech\"\ndescription: \"Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI (`scripts\u002Ftext_to_speech.py`) with built-in voices and require `OPENAI_API_KEY` for live calls. Custom voice creation is out of scope.\"\n---\n\n\n# Speech Generation Skill\n\nGenerate spoken audio for the current project (narration, product demo voiceover, IVR prompts, accessibility reads). Defaults to `gpt-4o-mini-tts-2025-12-15` and built-in voices, and prefers the bundled CLI for deterministic, reproducible runs.\n\n## When to use\n- Generate a single spoken clip from text\n- Generate a batch of prompts (many lines, many files)\n\n## Decision tree (single vs batch)\n- If the user provides multiple lines\u002Fprompts or wants many outputs -> **batch**\n- Else -> **single**\n\n## Workflow\n1. Decide intent: single vs batch (see decision tree above).\n2. Collect inputs up front: exact text (verbatim), desired voice, delivery style, format, and any constraints.\n3. If batch: write a temporary JSONL under tmp\u002F (one job per line), run once, then delete the JSONL.\n4. Augment instructions into a short labeled spec without rewriting the input text.\n5. Run the bundled CLI (`scripts\u002Ftext_to_speech.py`) with sensible defaults (see references\u002Fcli.md).\n6. For important clips, validate: intelligibility, pacing, pronunciation, and adherence to constraints.\n7. Iterate with a single targeted change (voice, speed, or instructions), then re-check.\n8. Save\u002Freturn final outputs and note the final text + instructions + flags used.\n\n## Temp and output conventions\n- Use `tmp\u002Fspeech\u002F` for intermediate files (for example JSONL batches); delete when done.\n- Write final artifacts under `output\u002Fspeech\u002F` when working in this repo.\n- Use `--out` or `--out-dir` to control output paths; keep filenames stable and descriptive.\n\n## Dependencies (install if missing)\nPrefer `uv` for dependency management.\n\nPython packages:\n```\nuv pip install openai\n```\nIf `uv` is unavailable:\n```\npython3 -m pip install openai\n```\n\n## Environment\n- `OPENAI_API_KEY` must be set for live API calls.\n\nIf the key is missing, give the user these steps:\n1. Create an API key in the OpenAI platform UI: https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n2. Set `OPENAI_API_KEY` as an environment variable in their system.\n3. Offer to guide them through setting the environment variable for their OS\u002Fshell if needed.\n- Never ask the user to paste the full key in chat. Ask them to set it locally and confirm when ready.\n\nIf installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.\n\n## Defaults & rules\n- Use `gpt-4o-mini-tts-2025-12-15` unless the user requests another model.\n- Default voice: `cedar`. If the user wants a brighter tone, prefer `marin`.\n- Built-in voices only. Custom voices are out of scope for this skill.\n- `instructions` are supported for GPT-4o mini TTS models, but not for `tts-1` or `tts-1-hd`.\n- Input length must be \u003C= 4096 characters per request. Split longer text into chunks.\n- Enforce 50 requests\u002Fminute. The CLI caps `--rpm` at 50.\n- Require `OPENAI_API_KEY` before any live API call.\n- Provide a clear disclosure to end users that the voice is AI-generated.\n- Use the OpenAI Python SDK (`openai` package) for all API calls; do not use raw HTTP.\n- Prefer the bundled CLI (`scripts\u002Ftext_to_speech.py`) over writing new one-off scripts.\n- Never modify `scripts\u002Ftext_to_speech.py`. If something is missing, ask the user before doing anything else.\n\n## Instruction augmentation\nReformat user direction into a short, labeled spec. Only make implicit details explicit; do not invent new requirements.\n\nQuick clarification (augmentation vs invention):\n- If the user says \"narration for a demo\", you may add implied delivery constraints (clear, steady pacing, friendly tone).\n- Do not introduce a new persona, accent, or emotional style the user did not request.\n\nTemplate (include only relevant lines):\n```\nVoice Affect: \u003Coverall character and texture of the voice>\nTone: \u003Cattitude, formality, warmth>\nPacing: \u003Cslow, steady, brisk>\nEmotion: \u003Ckey emotions to convey>\nPronunciation: \u003Cwords to enunciate or emphasize>\nPauses: \u003Cwhere to add intentional pauses>\nEmphasis: \u003Ckey words or phrases to stress>\nDelivery: \u003Ccadence or rhythm notes>\n```\n\nAugmentation rules:\n- Keep it short; add only details the user already implied or provided elsewhere.\n- Do not rewrite the input text.\n- If any critical detail is missing and blocks success, ask a question; otherwise proceed.\n\n## Examples\n\n### Single example (narration)\n```\nInput text: \"Welcome to the demo. Today we'll show how it works.\"\nInstructions:\nVoice Affect: Warm and composed.\nTone: Friendly and confident.\nPacing: Steady and moderate.\nEmphasis: Stress \"demo\" and \"show\".\n```\n\n### Batch example (IVR prompts)\n```\n{\"input\":\"Thank you for calling. Please hold.\",\"voice\":\"cedar\",\"response_format\":\"mp3\",\"out\":\"hold.mp3\"}\n{\"input\":\"For sales, press 1. For support, press 2.\",\"voice\":\"marin\",\"instructions\":\"Tone: Clear and neutral. Pacing: Slow.\",\"response_format\":\"wav\"}\n```\n\n## Instructioning best practices (short list)\n- Structure directions as: affect -> tone -> pacing -> emotion -> pronunciation\u002Fpauses -> emphasis.\n- Keep 4 to 8 short lines; avoid conflicting guidance.\n- For names\u002Facronyms, add pronunciation hints (e.g., \"enunciate A-I\") or supply a phonetic spelling in the text.\n- For edits\u002Fiterations, repeat invariants (e.g., \"keep pacing steady\") to reduce drift.\n- Iterate with single-change follow-ups.\n\nMore principles: `references\u002Fprompting.md`. Copy\u002Fpaste specs: `references\u002Fsample-prompts.md`.\n\n## Guidance by use case\nUse these modules when the request is for a specific delivery style. They provide targeted defaults and templates.\n- Narration \u002F explainer: `references\u002Fnarration.md`\n- Product demo \u002F voiceover: `references\u002Fvoiceover.md`\n- IVR \u002F phone prompts: `references\u002Fivr.md`\n- Accessibility reads: `references\u002Faccessibility.md`\n\n## CLI + environment notes\n- CLI commands + examples: `references\u002Fcli.md`\n- API parameter quick reference: `references\u002Faudio-api.md`\n- Instruction patterns + examples: `references\u002Fvoice-directions.md`\n- Network\u002Fenvironment troubleshooting: `references\u002Fnetwork.md`\n\n## Reference map\n- **`references\u002Fcli.md`**: how to run speech generation\u002Fbatches via `scripts\u002Ftext_to_speech.py` (commands, flags, recipes).\n- **`references\u002Faudio-api.md`**: API parameters, limits, voice list.\n- **`references\u002Fvoice-directions.md`**: instruction patterns and examples.\n- **`references\u002Fprompting.md`**: instruction best practices (structure, constraints, iteration patterns).\n- **`references\u002Fsample-prompts.md`**: copy\u002Fpaste instruction recipes (examples only; no extra theory).\n- **`references\u002Fnarration.md`**: templates + defaults for narration and explainers.\n- **`references\u002Fvoiceover.md`**: templates + defaults for product demo voiceovers.\n- **`references\u002Fivr.md`**: templates + defaults for IVR\u002Fphone prompts.\n- **`references\u002Faccessibility.md`**: templates + defaults for accessibility reads.\n- **`references\u002Fnetwork.md`**: environment\u002Fnetwork troubleshooting.\n",{"data":37,"body":38},{"name":4,"description":6},{"type":39,"children":40},"root",[41,50,65,72,87,93,117,123,175,181,230,236,249,254,266,278,287,293,307,312,345,353,358,364,501,507,512,517,530,535,544,549,567,573,580,589,595,604,610,638,658,664,669,716,722,769,775],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"speech-generation-skill",[47],{"type":48,"value":49},"text","Speech Generation Skill",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54,56,63],{"type":48,"value":55},"Generate spoken audio for the current project (narration, product demo voiceover, IVR prompts, accessibility reads). Defaults to ",{"type":42,"tag":57,"props":58,"children":60},"code",{"className":59},[],[61],{"type":48,"value":62},"gpt-4o-mini-tts-2025-12-15",{"type":48,"value":64}," and built-in voices, and prefers the bundled CLI for deterministic, reproducible runs.",{"type":42,"tag":66,"props":67,"children":69},"h2",{"id":68},"when-to-use",[70],{"type":48,"value":71},"When to use",{"type":42,"tag":73,"props":74,"children":75},"ul",{},[76,82],{"type":42,"tag":77,"props":78,"children":79},"li",{},[80],{"type":48,"value":81},"Generate a single spoken clip from text",{"type":42,"tag":77,"props":83,"children":84},{},[85],{"type":48,"value":86},"Generate a batch of prompts (many lines, many files)",{"type":42,"tag":66,"props":88,"children":90},{"id":89},"decision-tree-single-vs-batch",[91],{"type":48,"value":92},"Decision tree (single vs batch)",{"type":42,"tag":73,"props":94,"children":95},{},[96,107],{"type":42,"tag":77,"props":97,"children":98},{},[99,101],{"type":48,"value":100},"If the user provides multiple lines\u002Fprompts or wants many outputs -> ",{"type":42,"tag":102,"props":103,"children":104},"strong",{},[105],{"type":48,"value":106},"batch",{"type":42,"tag":77,"props":108,"children":109},{},[110,112],{"type":48,"value":111},"Else -> ",{"type":42,"tag":102,"props":113,"children":114},{},[115],{"type":48,"value":116},"single",{"type":42,"tag":66,"props":118,"children":120},{"id":119},"workflow",[121],{"type":48,"value":122},"Workflow",{"type":42,"tag":124,"props":125,"children":126},"ol",{},[127,132,137,142,147,160,165,170],{"type":42,"tag":77,"props":128,"children":129},{},[130],{"type":48,"value":131},"Decide intent: single vs batch (see decision tree above).",{"type":42,"tag":77,"props":133,"children":134},{},[135],{"type":48,"value":136},"Collect inputs up front: exact text (verbatim), desired voice, delivery style, format, and any constraints.",{"type":42,"tag":77,"props":138,"children":139},{},[140],{"type":48,"value":141},"If batch: write a temporary JSONL under tmp\u002F (one job per line), run once, then delete the JSONL.",{"type":42,"tag":77,"props":143,"children":144},{},[145],{"type":48,"value":146},"Augment instructions into a short labeled spec without rewriting the input text.",{"type":42,"tag":77,"props":148,"children":149},{},[150,152,158],{"type":48,"value":151},"Run the bundled CLI (",{"type":42,"tag":57,"props":153,"children":155},{"className":154},[],[156],{"type":48,"value":157},"scripts\u002Ftext_to_speech.py",{"type":48,"value":159},") with sensible defaults (see references\u002Fcli.md).",{"type":42,"tag":77,"props":161,"children":162},{},[163],{"type":48,"value":164},"For important clips, validate: intelligibility, pacing, pronunciation, and adherence to constraints.",{"type":42,"tag":77,"props":166,"children":167},{},[168],{"type":48,"value":169},"Iterate with a single targeted change (voice, speed, or instructions), then re-check.",{"type":42,"tag":77,"props":171,"children":172},{},[173],{"type":48,"value":174},"Save\u002Freturn final outputs and note the final text + instructions + flags used.",{"type":42,"tag":66,"props":176,"children":178},{"id":177},"temp-and-output-conventions",[179],{"type":48,"value":180},"Temp and output conventions",{"type":42,"tag":73,"props":182,"children":183},{},[184,197,210],{"type":42,"tag":77,"props":185,"children":186},{},[187,189,195],{"type":48,"value":188},"Use ",{"type":42,"tag":57,"props":190,"children":192},{"className":191},[],[193],{"type":48,"value":194},"tmp\u002Fspeech\u002F",{"type":48,"value":196}," for intermediate files (for example JSONL batches); delete when done.",{"type":42,"tag":77,"props":198,"children":199},{},[200,202,208],{"type":48,"value":201},"Write final artifacts under ",{"type":42,"tag":57,"props":203,"children":205},{"className":204},[],[206],{"type":48,"value":207},"output\u002Fspeech\u002F",{"type":48,"value":209}," when working in this repo.",{"type":42,"tag":77,"props":211,"children":212},{},[213,214,220,222,228],{"type":48,"value":188},{"type":42,"tag":57,"props":215,"children":217},{"className":216},[],[218],{"type":48,"value":219},"--out",{"type":48,"value":221}," or ",{"type":42,"tag":57,"props":223,"children":225},{"className":224},[],[226],{"type":48,"value":227},"--out-dir",{"type":48,"value":229}," to control output paths; keep filenames stable and descriptive.",{"type":42,"tag":66,"props":231,"children":233},{"id":232},"dependencies-install-if-missing",[234],{"type":48,"value":235},"Dependencies (install if missing)",{"type":42,"tag":51,"props":237,"children":238},{},[239,241,247],{"type":48,"value":240},"Prefer ",{"type":42,"tag":57,"props":242,"children":244},{"className":243},[],[245],{"type":48,"value":246},"uv",{"type":48,"value":248}," for dependency management.",{"type":42,"tag":51,"props":250,"children":251},{},[252],{"type":48,"value":253},"Python packages:",{"type":42,"tag":255,"props":256,"children":260},"pre",{"className":257,"code":259,"language":48},[258],"language-text","uv pip install openai\n",[261],{"type":42,"tag":57,"props":262,"children":264},{"__ignoreMap":263},"",[265],{"type":48,"value":259},{"type":42,"tag":51,"props":267,"children":268},{},[269,271,276],{"type":48,"value":270},"If ",{"type":42,"tag":57,"props":272,"children":274},{"className":273},[],[275],{"type":48,"value":246},{"type":48,"value":277}," is unavailable:",{"type":42,"tag":255,"props":279,"children":282},{"className":280,"code":281,"language":48},[258],"python3 -m pip install openai\n",[283],{"type":42,"tag":57,"props":284,"children":285},{"__ignoreMap":263},[286],{"type":48,"value":281},{"type":42,"tag":66,"props":288,"children":290},{"id":289},"environment",[291],{"type":48,"value":292},"Environment",{"type":42,"tag":73,"props":294,"children":295},{},[296],{"type":42,"tag":77,"props":297,"children":298},{},[299,305],{"type":42,"tag":57,"props":300,"children":302},{"className":301},[],[303],{"type":48,"value":304},"OPENAI_API_KEY",{"type":48,"value":306}," must be set for live API calls.",{"type":42,"tag":51,"props":308,"children":309},{},[310],{"type":48,"value":311},"If the key is missing, give the user these steps:",{"type":42,"tag":124,"props":313,"children":314},{},[315,328,340],{"type":42,"tag":77,"props":316,"children":317},{},[318,320],{"type":48,"value":319},"Create an API key in the OpenAI platform UI: ",{"type":42,"tag":321,"props":322,"children":326},"a",{"href":323,"rel":324},"https:\u002F\u002Fplatform.openai.com\u002Fapi-keys",[325],"nofollow",[327],{"type":48,"value":323},{"type":42,"tag":77,"props":329,"children":330},{},[331,333,338],{"type":48,"value":332},"Set ",{"type":42,"tag":57,"props":334,"children":336},{"className":335},[],[337],{"type":48,"value":304},{"type":48,"value":339}," as an environment variable in their system.",{"type":42,"tag":77,"props":341,"children":342},{},[343],{"type":48,"value":344},"Offer to guide them through setting the environment variable for their OS\u002Fshell if needed.",{"type":42,"tag":73,"props":346,"children":347},{},[348],{"type":42,"tag":77,"props":349,"children":350},{},[351],{"type":48,"value":352},"Never ask the user to paste the full key in chat. Ask them to set it locally and confirm when ready.",{"type":42,"tag":51,"props":354,"children":355},{},[356],{"type":48,"value":357},"If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.",{"type":42,"tag":66,"props":359,"children":361},{"id":360},"defaults-rules",[362],{"type":48,"value":363},"Defaults & rules",{"type":42,"tag":73,"props":365,"children":366},{},[367,378,399,404,429,434,447,459,464,477,489],{"type":42,"tag":77,"props":368,"children":369},{},[370,371,376],{"type":48,"value":188},{"type":42,"tag":57,"props":372,"children":374},{"className":373},[],[375],{"type":48,"value":62},{"type":48,"value":377}," unless the user requests another model.",{"type":42,"tag":77,"props":379,"children":380},{},[381,383,389,391,397],{"type":48,"value":382},"Default voice: ",{"type":42,"tag":57,"props":384,"children":386},{"className":385},[],[387],{"type":48,"value":388},"cedar",{"type":48,"value":390},". If the user wants a brighter tone, prefer ",{"type":42,"tag":57,"props":392,"children":394},{"className":393},[],[395],{"type":48,"value":396},"marin",{"type":48,"value":398},".",{"type":42,"tag":77,"props":400,"children":401},{},[402],{"type":48,"value":403},"Built-in voices only. Custom voices are out of scope for this skill.",{"type":42,"tag":77,"props":405,"children":406},{},[407,413,415,421,422,428],{"type":42,"tag":57,"props":408,"children":410},{"className":409},[],[411],{"type":48,"value":412},"instructions",{"type":48,"value":414}," are supported for GPT-4o mini TTS models, but not for ",{"type":42,"tag":57,"props":416,"children":418},{"className":417},[],[419],{"type":48,"value":420},"tts-1",{"type":48,"value":221},{"type":42,"tag":57,"props":423,"children":425},{"className":424},[],[426],{"type":48,"value":427},"tts-1-hd",{"type":48,"value":398},{"type":42,"tag":77,"props":430,"children":431},{},[432],{"type":48,"value":433},"Input length must be \u003C= 4096 characters per request. Split longer text into chunks.",{"type":42,"tag":77,"props":435,"children":436},{},[437,439,445],{"type":48,"value":438},"Enforce 50 requests\u002Fminute. The CLI caps ",{"type":42,"tag":57,"props":440,"children":442},{"className":441},[],[443],{"type":48,"value":444},"--rpm",{"type":48,"value":446}," at 50.",{"type":42,"tag":77,"props":448,"children":449},{},[450,452,457],{"type":48,"value":451},"Require ",{"type":42,"tag":57,"props":453,"children":455},{"className":454},[],[456],{"type":48,"value":304},{"type":48,"value":458}," before any live API call.",{"type":42,"tag":77,"props":460,"children":461},{},[462],{"type":48,"value":463},"Provide a clear disclosure to end users that the voice is AI-generated.",{"type":42,"tag":77,"props":465,"children":466},{},[467,469,475],{"type":48,"value":468},"Use the OpenAI Python SDK (",{"type":42,"tag":57,"props":470,"children":472},{"className":471},[],[473],{"type":48,"value":474},"openai",{"type":48,"value":476}," package) for all API calls; do not use raw HTTP.",{"type":42,"tag":77,"props":478,"children":479},{},[480,482,487],{"type":48,"value":481},"Prefer the bundled CLI (",{"type":42,"tag":57,"props":483,"children":485},{"className":484},[],[486],{"type":48,"value":157},{"type":48,"value":488},") over writing new one-off scripts.",{"type":42,"tag":77,"props":490,"children":491},{},[492,494,499],{"type":48,"value":493},"Never modify ",{"type":42,"tag":57,"props":495,"children":497},{"className":496},[],[498],{"type":48,"value":157},{"type":48,"value":500},". If something is missing, ask the user before doing anything else.",{"type":42,"tag":66,"props":502,"children":504},{"id":503},"instruction-augmentation",[505],{"type":48,"value":506},"Instruction augmentation",{"type":42,"tag":51,"props":508,"children":509},{},[510],{"type":48,"value":511},"Reformat user direction into a short, labeled spec. Only make implicit details explicit; do not invent new requirements.",{"type":42,"tag":51,"props":513,"children":514},{},[515],{"type":48,"value":516},"Quick clarification (augmentation vs invention):",{"type":42,"tag":73,"props":518,"children":519},{},[520,525],{"type":42,"tag":77,"props":521,"children":522},{},[523],{"type":48,"value":524},"If the user says \"narration for a demo\", you may add implied delivery constraints (clear, steady pacing, friendly tone).",{"type":42,"tag":77,"props":526,"children":527},{},[528],{"type":48,"value":529},"Do not introduce a new persona, accent, or emotional style the user did not request.",{"type":42,"tag":51,"props":531,"children":532},{},[533],{"type":48,"value":534},"Template (include only relevant lines):",{"type":42,"tag":255,"props":536,"children":539},{"className":537,"code":538,"language":48},[258],"Voice Affect: \u003Coverall character and texture of the voice>\nTone: \u003Cattitude, formality, warmth>\nPacing: \u003Cslow, steady, brisk>\nEmotion: \u003Ckey emotions to convey>\nPronunciation: \u003Cwords to enunciate or emphasize>\nPauses: \u003Cwhere to add intentional pauses>\nEmphasis: \u003Ckey words or phrases to stress>\nDelivery: \u003Ccadence or rhythm notes>\n",[540],{"type":42,"tag":57,"props":541,"children":542},{"__ignoreMap":263},[543],{"type":48,"value":538},{"type":42,"tag":51,"props":545,"children":546},{},[547],{"type":48,"value":548},"Augmentation rules:",{"type":42,"tag":73,"props":550,"children":551},{},[552,557,562],{"type":42,"tag":77,"props":553,"children":554},{},[555],{"type":48,"value":556},"Keep it short; add only details the user already implied or provided elsewhere.",{"type":42,"tag":77,"props":558,"children":559},{},[560],{"type":48,"value":561},"Do not rewrite the input text.",{"type":42,"tag":77,"props":563,"children":564},{},[565],{"type":48,"value":566},"If any critical detail is missing and blocks success, ask a question; otherwise proceed.",{"type":42,"tag":66,"props":568,"children":570},{"id":569},"examples",[571],{"type":48,"value":572},"Examples",{"type":42,"tag":574,"props":575,"children":577},"h3",{"id":576},"single-example-narration",[578],{"type":48,"value":579},"Single example (narration)",{"type":42,"tag":255,"props":581,"children":584},{"className":582,"code":583,"language":48},[258],"Input text: \"Welcome to the demo. Today we'll show how it works.\"\nInstructions:\nVoice Affect: Warm and composed.\nTone: Friendly and confident.\nPacing: Steady and moderate.\nEmphasis: Stress \"demo\" and \"show\".\n",[585],{"type":42,"tag":57,"props":586,"children":587},{"__ignoreMap":263},[588],{"type":48,"value":583},{"type":42,"tag":574,"props":590,"children":592},{"id":591},"batch-example-ivr-prompts",[593],{"type":48,"value":594},"Batch example (IVR prompts)",{"type":42,"tag":255,"props":596,"children":599},{"className":597,"code":598,"language":48},[258],"{\"input\":\"Thank you for calling. Please hold.\",\"voice\":\"cedar\",\"response_format\":\"mp3\",\"out\":\"hold.mp3\"}\n{\"input\":\"For sales, press 1. For support, press 2.\",\"voice\":\"marin\",\"instructions\":\"Tone: Clear and neutral. Pacing: Slow.\",\"response_format\":\"wav\"}\n",[600],{"type":42,"tag":57,"props":601,"children":602},{"__ignoreMap":263},[603],{"type":48,"value":598},{"type":42,"tag":66,"props":605,"children":607},{"id":606},"instructioning-best-practices-short-list",[608],{"type":48,"value":609},"Instructioning best practices (short list)",{"type":42,"tag":73,"props":611,"children":612},{},[613,618,623,628,633],{"type":42,"tag":77,"props":614,"children":615},{},[616],{"type":48,"value":617},"Structure directions as: affect -> tone -> pacing -> emotion -> pronunciation\u002Fpauses -> emphasis.",{"type":42,"tag":77,"props":619,"children":620},{},[621],{"type":48,"value":622},"Keep 4 to 8 short lines; avoid conflicting guidance.",{"type":42,"tag":77,"props":624,"children":625},{},[626],{"type":48,"value":627},"For names\u002Facronyms, add pronunciation hints (e.g., \"enunciate A-I\") or supply a phonetic spelling in the text.",{"type":42,"tag":77,"props":629,"children":630},{},[631],{"type":48,"value":632},"For edits\u002Fiterations, repeat invariants (e.g., \"keep pacing steady\") to reduce drift.",{"type":42,"tag":77,"props":634,"children":635},{},[636],{"type":48,"value":637},"Iterate with single-change follow-ups.",{"type":42,"tag":51,"props":639,"children":640},{},[641,643,649,651,657],{"type":48,"value":642},"More principles: ",{"type":42,"tag":57,"props":644,"children":646},{"className":645},[],[647],{"type":48,"value":648},"references\u002Fprompting.md",{"type":48,"value":650},". Copy\u002Fpaste specs: ",{"type":42,"tag":57,"props":652,"children":654},{"className":653},[],[655],{"type":48,"value":656},"references\u002Fsample-prompts.md",{"type":48,"value":398},{"type":42,"tag":66,"props":659,"children":661},{"id":660},"guidance-by-use-case",[662],{"type":48,"value":663},"Guidance by use case",{"type":42,"tag":51,"props":665,"children":666},{},[667],{"type":48,"value":668},"Use these modules when the request is for a specific delivery style. They provide targeted defaults and templates.",{"type":42,"tag":73,"props":670,"children":671},{},[672,683,694,705],{"type":42,"tag":77,"props":673,"children":674},{},[675,677],{"type":48,"value":676},"Narration \u002F explainer: ",{"type":42,"tag":57,"props":678,"children":680},{"className":679},[],[681],{"type":48,"value":682},"references\u002Fnarration.md",{"type":42,"tag":77,"props":684,"children":685},{},[686,688],{"type":48,"value":687},"Product demo \u002F voiceover: ",{"type":42,"tag":57,"props":689,"children":691},{"className":690},[],[692],{"type":48,"value":693},"references\u002Fvoiceover.md",{"type":42,"tag":77,"props":695,"children":696},{},[697,699],{"type":48,"value":698},"IVR \u002F phone prompts: ",{"type":42,"tag":57,"props":700,"children":702},{"className":701},[],[703],{"type":48,"value":704},"references\u002Fivr.md",{"type":42,"tag":77,"props":706,"children":707},{},[708,710],{"type":48,"value":709},"Accessibility reads: ",{"type":42,"tag":57,"props":711,"children":713},{"className":712},[],[714],{"type":48,"value":715},"references\u002Faccessibility.md",{"type":42,"tag":66,"props":717,"children":719},{"id":718},"cli-environment-notes",[720],{"type":48,"value":721},"CLI + environment notes",{"type":42,"tag":73,"props":723,"children":724},{},[725,736,747,758],{"type":42,"tag":77,"props":726,"children":727},{},[728,730],{"type":48,"value":729},"CLI commands + examples: ",{"type":42,"tag":57,"props":731,"children":733},{"className":732},[],[734],{"type":48,"value":735},"references\u002Fcli.md",{"type":42,"tag":77,"props":737,"children":738},{},[739,741],{"type":48,"value":740},"API parameter quick reference: ",{"type":42,"tag":57,"props":742,"children":744},{"className":743},[],[745],{"type":48,"value":746},"references\u002Faudio-api.md",{"type":42,"tag":77,"props":748,"children":749},{},[750,752],{"type":48,"value":751},"Instruction patterns + examples: ",{"type":42,"tag":57,"props":753,"children":755},{"className":754},[],[756],{"type":48,"value":757},"references\u002Fvoice-directions.md",{"type":42,"tag":77,"props":759,"children":760},{},[761,763],{"type":48,"value":762},"Network\u002Fenvironment troubleshooting: ",{"type":42,"tag":57,"props":764,"children":766},{"className":765},[],[767],{"type":48,"value":768},"references\u002Fnetwork.md",{"type":42,"tag":66,"props":770,"children":772},{"id":771},"reference-map",[773],{"type":48,"value":774},"Reference map",{"type":42,"tag":73,"props":776,"children":777},{},[778,798,811,824,837,850,863,876,889,902],{"type":42,"tag":77,"props":779,"children":780},{},[781,789,791,796],{"type":42,"tag":102,"props":782,"children":783},{},[784],{"type":42,"tag":57,"props":785,"children":787},{"className":786},[],[788],{"type":48,"value":735},{"type":48,"value":790},": how to run speech generation\u002Fbatches via ",{"type":42,"tag":57,"props":792,"children":794},{"className":793},[],[795],{"type":48,"value":157},{"type":48,"value":797}," (commands, flags, recipes).",{"type":42,"tag":77,"props":799,"children":800},{},[801,809],{"type":42,"tag":102,"props":802,"children":803},{},[804],{"type":42,"tag":57,"props":805,"children":807},{"className":806},[],[808],{"type":48,"value":746},{"type":48,"value":810},": API parameters, limits, voice list.",{"type":42,"tag":77,"props":812,"children":813},{},[814,822],{"type":42,"tag":102,"props":815,"children":816},{},[817],{"type":42,"tag":57,"props":818,"children":820},{"className":819},[],[821],{"type":48,"value":757},{"type":48,"value":823},": instruction patterns and examples.",{"type":42,"tag":77,"props":825,"children":826},{},[827,835],{"type":42,"tag":102,"props":828,"children":829},{},[830],{"type":42,"tag":57,"props":831,"children":833},{"className":832},[],[834],{"type":48,"value":648},{"type":48,"value":836},": instruction best practices (structure, constraints, iteration patterns).",{"type":42,"tag":77,"props":838,"children":839},{},[840,848],{"type":42,"tag":102,"props":841,"children":842},{},[843],{"type":42,"tag":57,"props":844,"children":846},{"className":845},[],[847],{"type":48,"value":656},{"type":48,"value":849},": copy\u002Fpaste instruction recipes (examples only; no extra theory).",{"type":42,"tag":77,"props":851,"children":852},{},[853,861],{"type":42,"tag":102,"props":854,"children":855},{},[856],{"type":42,"tag":57,"props":857,"children":859},{"className":858},[],[860],{"type":48,"value":682},{"type":48,"value":862},": templates + defaults for narration and explainers.",{"type":42,"tag":77,"props":864,"children":865},{},[866,874],{"type":42,"tag":102,"props":867,"children":868},{},[869],{"type":42,"tag":57,"props":870,"children":872},{"className":871},[],[873],{"type":48,"value":693},{"type":48,"value":875},": templates + defaults for product demo voiceovers.",{"type":42,"tag":77,"props":877,"children":878},{},[879,887],{"type":42,"tag":102,"props":880,"children":881},{},[882],{"type":42,"tag":57,"props":883,"children":885},{"className":884},[],[886],{"type":48,"value":704},{"type":48,"value":888},": templates + defaults for IVR\u002Fphone prompts.",{"type":42,"tag":77,"props":890,"children":891},{},[892,900],{"type":42,"tag":102,"props":893,"children":894},{},[895],{"type":42,"tag":57,"props":896,"children":898},{"className":897},[],[899],{"type":48,"value":715},{"type":48,"value":901},": templates + defaults for accessibility reads.",{"type":42,"tag":77,"props":903,"children":904},{},[905,913],{"type":42,"tag":102,"props":906,"children":907},{},[908],{"type":42,"tag":57,"props":909,"children":911},{"className":910},[],[912],{"type":48,"value":768},{"type":48,"value":914},": environment\u002Fnetwork troubleshooting.",{"items":916,"total":1077},[917,935,950,962,974,988,1000,1011,1023,1039,1050,1062],{"slug":918,"name":918,"fn":919,"description":920,"org":921,"tags":922,"stars":932,"repoUrl":933,"updatedAt":934},"acquiring-skills","discover and install agent skills","Discover and install skills from Hermes, ClawHub, GitHub, and other registries. Load this skill whenever a user asks for a capability you don't already have — image generation, social media, email, calendar, finance, DevOps, search, browser automation, etc.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[923,926,929],{"name":924,"slug":925,"type":16},"Agents","agents",{"name":927,"slug":928,"type":16},"Automation","automation",{"name":930,"slug":931,"type":16},"GitHub","github",2831,"https:\u002F\u002Fgithub.com\u002Fletta-ai\u002Fletta-code","2026-07-13T06:22:58.45767",{"slug":936,"name":937,"fn":938,"description":939,"org":940,"tags":941,"stars":932,"repoUrl":933,"updatedAt":949},"context-doctor","Context Doctor","repair system prompt and memory degradation","Identify and repair degradation in system prompt, external memory, and skills preventing you from following instructions or remembering information as well as you should.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[942,943,946],{"name":924,"slug":925,"type":16},{"name":944,"slug":945,"type":16},"AI Context","ai-context",{"name":947,"slug":948,"type":16},"Debugging","debugging","2026-07-13T06:22:50.151002",{"slug":951,"name":951,"fn":952,"description":953,"org":954,"tags":955,"stars":932,"repoUrl":933,"updatedAt":961},"converting-mcps-to-skills","connect MCP servers to create skills","Connect to MCP (Model Context Protocol) servers and create skills for repeated use. Load when a user wants to use an MCP server, connect to external tools via MCP, or when they mention MCP, model context protocol, or specific MCP servers.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[956,957,958],{"name":924,"slug":925,"type":16},{"name":927,"slug":928,"type":16},{"name":959,"slug":960,"type":16},"MCP","mcp","2026-07-13T06:23:37.646079",{"slug":963,"name":963,"fn":964,"description":965,"org":966,"tags":967,"stars":932,"repoUrl":933,"updatedAt":973},"creating-mods","create and edit Letta Code mods","Creates and edits trusted local Letta Code mods, including tools, slash commands, local-only model providers, lifecycle\u002Fturn events, scoped conversation helpers, panels, and capability-gated behavior. Use when asked to make a mod, add an agent-callable tool, add a slash command, add a local provider\u002Fmodel adapter, transform turns, react to app events, or add lightweight mod UI outside the dedicated \u002Fstatusline flow.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[968,969,970],{"name":924,"slug":925,"type":16},{"name":927,"slug":928,"type":16},{"name":971,"slug":972,"type":16},"Coding","coding","2026-07-23T05:42:38.133565",{"slug":975,"name":975,"fn":976,"description":977,"org":978,"tags":979,"stars":932,"repoUrl":933,"updatedAt":987},"creating-skills","create and update agent skills","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Letta Code's capabilities with specialized knowledge, workflows, or tool integrations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[980,981,984],{"name":924,"slug":925,"type":16},{"name":982,"slug":983,"type":16},"Documentation","documentation",{"name":985,"slug":986,"type":16},"Plugin Development","plugin-development","2026-07-13T06:22:56.998659",{"slug":989,"name":989,"fn":990,"description":991,"org":992,"tags":993,"stars":932,"repoUrl":933,"updatedAt":999},"customizing-commands","create and manage Letta slash commands","Creates, edits, and enables Letta Code mod-provided slash commands. Use when the user asks to add a custom \u002Fcommand, slash command, command shortcut, scoped conversation-backed command, or command-driven panel behavior.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[994,995,996],{"name":924,"slug":925,"type":16},{"name":927,"slug":928,"type":16},{"name":997,"slug":998,"type":16},"CLI","cli","2026-07-13T06:23:18.266798",{"slug":1001,"name":1001,"fn":1002,"description":1003,"org":1004,"tags":1005,"stars":932,"repoUrl":933,"updatedAt":1010},"customizing-statusline","customize Letta Code statusline mods","Creates, edits, and migrates Letta Code statusline mods. Use when handling the \u002Fstatusline command or continuing work started by \u002Fstatusline.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1006,1007],{"name":997,"slug":998,"type":16},{"name":1008,"slug":1009,"type":16},"Engineering","engineering","2026-07-13T06:23:27.465985",{"slug":1012,"name":1012,"fn":1013,"description":1014,"org":1015,"tags":1016,"stars":932,"repoUrl":933,"updatedAt":1022},"dispatching-coding-agents","dispatch stateless coding agents","Dispatch stateless coding agents (Claude Code or Codex) via Bash. Use when you're stuck, need a second opinion, or need parallel research on a hard problem. They have no memory — you must provide all context.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1017,1018,1019],{"name":924,"slug":925,"type":16},{"name":971,"slug":972,"type":16},{"name":1020,"slug":1021,"type":16},"Multi-Agent","multi-agent","2026-07-26T05:46:56.388845",{"slug":1024,"name":1024,"fn":1025,"description":1026,"org":1027,"tags":1028,"stars":932,"repoUrl":933,"updatedAt":1038},"editing-letta-code-desktop-preferences","edit Letta Code Desktop preferences","Edits Letta Code Desktop (LCD) preferences by safely reading and updating ~\u002F.letta\u002Fdesktop_preferences.json. Use only when the user asks to change current Desktop\u002FLCD settings such as theme, default working directory, remote access preference, or remote environment name via the preferences JSON.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1029,1032,1035],{"name":1030,"slug":1031,"type":16},"Configuration","configuration",{"name":1033,"slug":1034,"type":16},"Desktop","desktop",{"name":1036,"slug":1037,"type":16},"Themes","themes","2026-07-13T06:23:41.407811",{"slug":1040,"name":1040,"fn":1041,"description":1042,"org":1043,"tags":1044,"stars":932,"repoUrl":933,"updatedAt":1049},"finding-agents","locate and manage agents on server","Find other agents on the same server. Use when the user asks about other agents, wants to migrate memory from another agent, or needs to find an agent by name or tags.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1045,1046],{"name":924,"slug":925,"type":16},{"name":1047,"slug":1048,"type":16},"Management","management","2026-07-16T06:02:17.297841",{"slug":1051,"name":1051,"fn":1052,"description":1053,"org":1054,"tags":1055,"stars":932,"repoUrl":933,"updatedAt":1061},"generating-mod-envs","generate Letta mod learning environments","Generates and reviews mod learning env JSON files for Letta Code local mods. Use when asked to teach, learn, or optimize a mod behavior; create, draft, validate, improve, or explain envs for `\u002Fmods learn --env`; or design evaluation scenarios, memory fixtures, requiredResultMarkers, requiredTraceMarkers, negative controls, and candidate diversity hints.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1056,1057,1060],{"name":924,"slug":925,"type":16},{"name":1058,"slug":1059,"type":16},"AI Infrastructure","ai-infrastructure",{"name":1030,"slug":1031,"type":16},"2026-07-13T06:23:08.838181",{"slug":1063,"name":1063,"fn":1064,"description":1065,"org":1066,"tags":1067,"stars":932,"repoUrl":933,"updatedAt":1076},"image-generation","generate images from text prompts","Generate images from text prompts (and optionally edit\u002Fremix input images). Use when the user asks to create, generate, draw, render, or edit an image, illustration, logo, icon, diagram, or photo.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1068,1071,1074],{"name":1069,"slug":1070,"type":16},"Creative","creative",{"name":1072,"slug":1073,"type":16},"Graphics","graphics",{"name":1075,"slug":1063,"type":16},"Image Generation","2026-07-13T06:23:06.189403",69,{"items":1079,"total":1191},[1080,1094,1109,1128,1141,1162,1172],{"slug":1081,"name":1081,"fn":1082,"description":1083,"org":1084,"tags":1085,"stars":25,"repoUrl":26,"updatedAt":1093},"1password","manage secrets with 1Password CLI","Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading\u002Finjecting\u002Frunning secrets via op.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1086,1089,1090],{"name":1087,"slug":1088,"type":16},"Authentication","authentication",{"name":997,"slug":998,"type":16},{"name":1091,"slug":1092,"type":16},"Security","security","2026-07-13T06:24:39.504387",{"slug":1095,"name":1095,"fn":1096,"description":1097,"org":1098,"tags":1099,"stars":25,"repoUrl":26,"updatedAt":1108},"agent-slack","automate Slack messaging and workflows","Slack automation CLI — read\u002Fsend\u002Fsearch messages, browse threads and channels, manage channels, download attachments, look up users, and run workflows.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1100,1101,1102,1105],{"name":927,"slug":928,"type":16},{"name":997,"slug":998,"type":16},{"name":1103,"slug":1104,"type":16},"Messaging","messaging",{"name":1106,"slug":1107,"type":16},"Slack","slack","2026-07-13T06:23:51.908511",{"slug":1110,"name":1110,"fn":1111,"description":1112,"org":1113,"tags":1114,"stars":25,"repoUrl":26,"updatedAt":1127},"ai-news","fetch and summarize AI news","Fetch and summarize recent AI news from curated RSS feeds (Hugging Face, VentureBeat, The Verge, OpenAI, Anthropic, DeepMind, etc.) and YouTube channels (Yannic Kilcher, Two Minute Papers, AI Explained, etc.). Also fetches full transcripts for specific YouTube videos. Use when the user asks about recent AI news, what's happened in AI lately, summaries of AI research or product announcements, or wants a digest of what's going on in the AI space.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1115,1118,1121,1124],{"name":1116,"slug":1117,"type":16},"Communications","communications",{"name":1119,"slug":1120,"type":16},"LLM","llm",{"name":1122,"slug":1123,"type":16},"Research","research",{"name":1125,"slug":1126,"type":16},"Summarization","summarization","2026-07-13T06:24:20.520223",{"slug":1129,"name":1129,"fn":1130,"description":1131,"org":1132,"tags":1133,"stars":25,"repoUrl":26,"updatedAt":1140},"creating-letta-code-channels","build and debug Letta Code channels","Builds and debugs Letta Code channels, including first-party channel adapters and dynamic user channel plugins under ~\u002F.letta\u002Fchannels. Use when adding Telegram, WhatsApp, Bluesky, Slack, Discord, or custom channel support; testing channel routing, pairing, MessageChannel, runtime dependencies, or channel plugin manifests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1134,1135,1138,1139],{"name":924,"slug":925,"type":16},{"name":1136,"slug":1137,"type":16},"API Development","api-development",{"name":1103,"slug":1104,"type":16},{"name":1106,"slug":1107,"type":16},"2026-07-13T06:25:55.843495",{"slug":1142,"name":1142,"fn":1143,"description":1144,"org":1145,"tags":1146,"stars":25,"repoUrl":26,"updatedAt":1161},"datadog","query Datadog observability data","Query Datadog observability data (logs, metrics, monitors, dashboards, hosts) via direct API. Use when investigating production issues, checking monitors, searching logs, or accessing Datadog data.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1147,1149,1152,1155,1158],{"name":1148,"slug":1142,"type":16},"Datadog",{"name":1150,"slug":1151,"type":16},"Logs","logs",{"name":1153,"slug":1154,"type":16},"Metrics","metrics",{"name":1156,"slug":1157,"type":16},"Monitoring","monitoring",{"name":1159,"slug":1160,"type":16},"Observability","observability","2026-07-13T06:24:27.990605",{"slug":1163,"name":1163,"fn":1164,"description":1165,"org":1166,"tags":1167,"stars":25,"repoUrl":26,"updatedAt":1171},"discord","automate Discord server and channel tasks","Discord automation CLI — send\u002Fread\u002Fsearch messages, manage channels and servers, react, create threads, pin messages, and look up users.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1168,1169,1170],{"name":927,"slug":928,"type":16},{"name":997,"slug":998,"type":16},{"name":1103,"slug":1104,"type":16},"2026-07-13T06:24:26.62387",{"slug":1173,"name":1173,"fn":1174,"description":1175,"org":1176,"tags":1177,"stars":25,"repoUrl":26,"updatedAt":1190},"doc","create and edit Word documents","Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts\u002Frender_docx.py` for visual checks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1178,1181,1184,1187],{"name":1179,"slug":1180,"type":16},"Documents","documents",{"name":1182,"slug":1183,"type":16},"DOCX","docx",{"name":1185,"slug":1186,"type":16},"Office","office",{"name":1188,"slug":1189,"type":16},"Word","word","2026-07-13T06:23:44.299568",45]