Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

narrator

БесплатноЗапускает вложенные скриптыНе проверен

Activate when the user explicitly names the narrator skill or requests production-ready narration in either case: (1) numbered takes fitted to fixed video…

openaiот openai★ 8 494 звезды на GitHub

Об этом скилле

Narrator Skill

Text in → narration audio out, with the length and voice guarantees a video assembler needs. The caller picks the voice; this skill makes the takes fit.

Inputs / outputs

Required input: the lines to speak (numbered, in order) and the voice pair voice_id + voice_type (preset | element) chosen by the caller. Optional input: target window per line (default 9.4–9.8s of speech for a 10s block), delivery direction, per-line mood, language (inferred from the text). Output: one completed audio generation per line, in order, carrying its job_id and result URL; download it as voiceNN.wav inside sandbox_exec when a file is needed. Continuous mode returns one or more completed jobs plus narration.wav when sandbox joining is available. Report measured speech length only when it was actually measured.

OpenAI batch tool contract

Use the current Higgsfield voice tools directly:

  1. Resolve or verify the caller's voice with list_voices; preserve the exact voice_id + voice_type pair.
  2. Submit takes headlessly with generate_audio_batch. Every item is {index, params:{model:"seed_audio", prompt, voice_id, voice_type, format:"wav", count:1}}; index is the stable line/chunk number.
  3. Process sequential groups of at most six. Persist every successful {index, job_id} and call jobs_wait on that group with timeout_seconds:25. If all_terminal:false, wait poll_after_seconds and call it again only for active or retryable lookup failures. Freeze completed indices. If the group shows no status change for 20 minutes, return its pending indices/job ids to the caller instead of looping silently.
  4. Never pass a submission_failed item without a job_id to jobs_wait. After a concurrent-job/rate-limit failure, finish the active group and retry only rejected indices in a smaller later group. Retry only failed takes; never resubmit completed ones.
  5. Do not call job_display, job_status, show_generations, or show_generation_by_ids. The caller owns the post-stage show_generation_by_ids review using the exact final audio ledger.
  6. Preserve completed audio job_id values for the caller's exact stage ledger. Download result URLs only inside sandbox_exec when a preinstalled workflow script needs a file.

Do not call legacy AskUserQuestion. If a required voice pair or line list is missing, return that missing-input error to the caller; the caller owns intake.

Mode A — per-block takes (default)

One line = one take that FILLS its window. For a 10s block: target 9.4–9.8s of speech.

  1. Write the voice pair down first (voice.lock, one line: voice_id voice_type) and re-read that file before EVERY call — never pass a pair from memory. A remembered-not-reread pair is exactly how a video ends up with different voices per block.
  2. Send every line in the TIMECODE format — the bracket paces the TTS into the window:
    [ {DELIVERY}, {optional line mood}, starts speaking immediately] [00:00-00:09] {line}
    
    {DELIVERY} is ONE direction phrase composed once for the whole job and repeated VERBATIM on every line (that is what keeps the timbre stable), e.g. wry conversational explainer, neutral accent, bright dry timbre, lively pace.
  3. Density: ~30–34 words per 10s line, comma-light, one flowing clause (write to the top: 33–34). Kids-style energy runs hotter: 34–38 words with an excited delivery cue. Every period ≈0.7s and comma ≈0.5s of dead air — fewer of them both shortens the take and kills the "pausey" feel. Performed brackets ([scoffs], [giggles]) cost ~1s each; count them.
  4. Gate every downloaded take on SPEECH, not file length:
    sandbox_exec({
      command:"bash ${HF_WORKFLOWS}/faceless-channel-video/scripts/narrator/speech_metrics.sh work/voices/voice01.wav"
    })
    
    → speech= must land in the window; pauses= must be 0 (no internal silence ≥0.8s). The script trims the provider's head/tail padding, so it reports what the assembler will actually centre. If the runtime cannot download a completed result, keep the completed job_id, report that the local speech gate was unavailable, and let the downstream fixed-window assembler center the take. Never invent metrics.
  5. Out of window → REWRITE THE TEXT and regenerate. Never atempo, never speed/pitch-shift, never touch speech_rate (unless the caller explicitly asked for a rate change).
    • too long → cut words / drop a clause, keep the meaning
    • too short → make it denser with real content, never pad with filler
    • pausey → rewrite as ONE flowing clause with fewer full stops Budget ~3 attempts per line; if a line still misses, take the closest take, say which line and by how much it missed, and move on — never loop.
  6. RETRY SET LAW: a take that passed the gate is IMMUTABLE. When fixing others, batch ON
Полный SKILL.md на GitHub

Установить narrator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlassets/icon.svgscripts/speech_metrics.sh

FAQ

Что делает скилл narrator?

Activate when the user explicitly names the narrator skill or requests production-ready narration in either case: (1) numbered takes fitted to fixed video windows, or (2) one continuous long-form story read in a locked voice that must be measured and retried for timbre or internal pauses. Collect missing text, voice_id, or voice_type after activation; their absence is not a reason to skip this workflow. Own pacing, speech-duration gates, retries, and ready audio delivery; never time-stretch. Do not use for ordinary TTS, "read this aloud", an unconstrained voiceover, voice browsing, music, SFX, singing, dubbing existing speech, or voice cloning.

Как установить скилл narrator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл narrator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить narrator с