スキル一覧に戻る
randysalars

ssml-script-generation

by randysalars

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: SSML Script Generation tier: 3 load_policy: task-specific description: Generate production-ready SSML scripts for Google Cloud TTS version: 1.0.0 parent_skill: production-operations

SSML Generation Skill

The Script Is the Blueprint

This skill handles the technical generation of SSML scripts that will be converted to voice audio.


Purpose

Transform journey concepts into properly-formatted SSML that produces natural, hypnotic voice output.


Critical Rules

Voice Rate: ALWAYS 1.0

<!-- CORRECT: Always use rate="1.0" -->
<prosody rate="1.0" pitch="-2st">
  Text content here... <break time="2s"/>
</prosody>

<!-- WRONG: Never slow the rate -->
<prosody rate="0.85" pitch="-2st">
  This sounds robotic with Neural2 voices
</prosody>

Why: Google TTS Neural2 voices sound unnatural at reduced rates. Achieve pacing through <break> tags instead.


Speech Profiles by Section

SectionPitchBreak RangePurpose
pre_talk0st700ms-1.0sNormal, grounded
induction-2st1.0s-1.7sCalming, deeper
deepening-2st1.7s-2.5sVery calm
journey-1st1.0s-2.0sImmersive
helm_deep_trance-2st2.0s-3.0sDeepest state
integration-1st1.5s-2.0sReturning
emergence0st700ms-1.0sAlert, grounded

Break Duration Guidelines

ContextDuration
Between phrases700ms-1.0s
After sentences1.0s-1.7s
Breathing cues2.0s-3.0s
Visualization moments3.0s-4.0s
Major transitions4.0s-5.5s

Section Header Template

<!-- ═══════════════════════════════════════════════════════════════ -->
<!-- SECTION: [SECTION_NAME] -->
<!-- Duration: [X] minutes | Pitch: [X]st | Purpose: [PURPOSE] -->
<!-- ═══════════════════════════════════════════════════════════════ -->

<prosody rate="1.0" pitch="[X]st">
    [Content...]
</prosody>
<break time="[X]s"/>

Sound Effect Markers

Place SFX cues on their own lines in script_production.ssml:

[SFX: Deep ceremonial bell tone, resonant, 4 seconds with natural decay]

<prosody rate="1.0" pitch="-2st">
  The sound fades into silence...
</prosody>

Important: SFX markers are stripped out for script_voice_clean.ssml before TTS generation.


Two-File System

FilePurposeContains SFX?
script_production.ssmlFull production scriptYes
script_voice_clean.ssmlTTS-ready scriptNo

Workflow:

  1. Write script_production.ssml with all SFX markers
  2. Generate script_voice_clean.ssml by stripping [SFX:...] lines
  3. Feed script_voice_clean.ssml to TTS

Section Duration Targets

SectionTarget DurationWord Count (~150 WPM)
Pre-Talk2-3 min300-450 words
Induction4-5 min600-750 words
Deepening3-4 min450-600 words
Journey10-14 min1500-2100 words
Helm (Deepest)2-3 min300-450 words
Integration2-3 min300-450 words
Emergence2-3 min300-450 words
Total (25 min)~3,750 words

SSML Validation

Before TTS generation, always validate:

python3 scripts/utilities/validate_ssml.py sessions/{session}/working_files/script.ssml

Common Validation Errors

ErrorCauseFix
"Unclosed tag"Missing </prosody>Add closing tag
"Invalid break time"time="2" (missing unit)Use time="2s"
"Rate outside range"rate="2.5"Keep 0.5-2.0
"Unknown SSML tag"Using <emphasis> wrongCheck supported tags

Integration with Tier 1

All SSML content must follow Tier 1 rules:

Tier 1 SkillSSML Requirement
hypnotic-language/validation/forbidden-patterns.mdNo forbidden phrases
hypnotic-language/emergence/reorientation.mdComplete emergence sequence
symbolic-mapping/theological-filters/Christian-safe imagery only

Command Reference

Generate Script

/generate-script {session}

Strip SFX for TTS

grep -v "^\[SFX:" script_production.ssml > script_voice_clean.ssml

Validate

python3 scripts/utilities/validate_ssml.py sessions/{session}/working_files/script.ssml

Output Files

FileLocation
Production scriptsessions/{session}/working_files/script_production.ssml
Voice-clean scriptsessions/{session}/working_files/script_voice_clean.ssml

  • Skill: tier1-neural-core/hypnotic-language/ (language patterns)
  • Serena Memory: script_production_workflow
  • Serena Memory: voice_pacing_guidelines
  • Doc: prompts/hypnotic_dreamweaving_instructions.md

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です