Voice blend

From jmagly/aiwg · View interactive version

Voice blend is an AI agent skill from the GitHub repository jmagly/aiwg. Combine multiple voice profiles with weighted mixing to create hybrid voices

How to use this skill

Skill file

voice-blend

Combine multiple voice profiles with weighted mixing to create hybrid voices.

Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

Behavior

When triggered, this skill:

  1. Loads source voice profiles from:
  1. Parses blend specification:
  1. Interpolates dimensions:
  1. Generates hybrid profile with clear lineage tracking

Usage Examples

Equal Blend

User: "Blend technical-authority and friendly-explainer"

Result: 50/50 blend
- formality: 0.45 (avg of 0.7 and 0.2)
- confidence: 0.8 (avg of 0.9 and 0.7)
- warmth: 0.55 (avg of 0.3 and 0.8)
- vocabulary: merged from both

Weighted Blend

User: "80% executive-brief, 20% casual-conversational"

Result: Weighted blend
- formality: 0.7 (0.8*0.85 + 0.2*0.15)
- confidence: 0.86 (0.8*0.9 + 0.2*0.6)
- Dominant structure from executive-brief

Multi-Voice Blend

User: "Combine technical-authority, friendly-explainer, and executive-brief"

Result: Equal thirds (33.3% each)
- All dimensions averaged across three profiles
- Vocabulary merged from all three

Blend Algorithm

Dimension Interpolation

For each tone dimension:

blended_value = Σ(weight_i × value_i) / Σ(weight_i)

Vocabulary Merging

Structure Resolution

Structure settings use the dominant voice (highest weight):

Perspective Handling

Output Format

name: technical-friendly-blend
version: 1.0.0
description: Blended voice profile
blend_sources:
  - name: technical-authority
    weight: 0.7
  - name: friendly-explainer
    weight: 0.3
tone:
  formality: 0.55  # interpolated
  confidence: 0.84 # interpolated
  warmth: 0.45     # interpolated
  energy: 0.49     # interpolated
  complexity: 0.65 # interpolated
vocabulary:
  prefer:
    - precise technical terminology  # from technical
    - concrete examples              # from friendly
  avoid:
    - marketing superlatives         # common to both
  signature_phrases:
    - "The system handles..."        # from technical (70%)
    - "Think of it like..."          # from friendly (30%)
structure:
  sentence_length: medium            # from dominant (technical)
  use_examples: frequently           # averaged

Output Location

Blended profiles are saved to:

  1. .aiwg/voices/{name}.yaml (default)
  2. Custom path with --output flag
  3. ~/.config/aiwg/voices/ with --global flag

Integration

CLI Usage

# Equal blend of two voices
python voice_blender.py --voices "technical-authority,friendly-explainer"

# Weighted blend
python voice_blender.py --voices "technical-authority:0.7,friendly-explainer:0.3"

# Custom output name
python voice_blender.py --voices "..." --name my-hybrid-voice

# Output to specific directory
python voice_blender.py --voices "..." --output .aiwg/voices/

# JSON output for inspection
python voice_blender.py --voices "..." --json

Error Handling

References

Downstream writing handoff

Use author-controlled writing workflows for

briefs, explicit profile selection, channel/revision APIs and receipts. Analysis

or blending does not establish author identity, approve sample rights or activate

a provider transformation. Keep legacy imports explicit and use separately

accepted sidecar preferences for author-controlled execution.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.