Scenario
Collect diverse writing samples — emails, blog posts, social media, internal docs — and use Claude to identify consistent voice patterns. Rather than guessing at brand voice, Claude extracts vocabulary choices, sentence structures, tone markers, and rhetorical patterns from real writing, then creates a Mavera Brand Voice that captures the authentic organizational tone. Flow: Collect multi-source samples → AnthropicPOST /v1/messages (extract voice patterns, vocabulary, tone markers) → Mavera POST /brand-voices → Brand Voice profile
Code
Example Output
Error Handling
Sample diversity
Sample diversity
Voice extraction works best with 8-15 samples across 3+ channels. Fewer than 5 samples produces unreliable patterns. If you only have one channel, label it clearly so Claude doesn’t hallucinate cross-channel consistency.
Model selection
Model selection
This job uses Claude Sonnet for cost efficiency — voice extraction doesn’t need Opus 4.6’s full reasoning. Switch to Opus if samples exceed 100K tokens or need nuanced cultural analysis.
Brand Voice field length
Brand Voice field length
Mavera’s brand voice description accepts up to 5,000 characters. The output is truncated to 3,000. For richer profiles, split into two brand voices (tone rules + vocabulary/examples).