voice-extract-playbook
БесплатноБез исполняемых скриптовНе проверенExtracts a user's writing voice from text samples via SICO comparative analysis. Use when building a voice profile for consistent generation.
от athola★ 358 звёзд на GitHubОб этом скилле
Voice Extraction Skill
Extract a user's writing voice through SICO comparative analysis.
When NOT To Use
- Writing text in a profile that already exists (use
scribe:voice-generate) - Refining a profile from edits (use
scribe:voice-learn)
Method: Comparative Feature Extraction
Rather than measuring surface metrics, this skill uses SICO Phase 1: feed the model user writing samples alongside its own default output on the same topics. The model describes what the user does differently. This produces voice descriptions that encode implicit structural patterns no metrics can capture.
The papers and reports behind these choices, and what each one
changed in the extraction passes, are in modules/research-basis.md.
Read it before changing what the passes ask for.
Key Principles (from research)
Anonymize samples: Label as "Sample 1", "Sample 2", etc. Context labels cause the extractor to anchor on content rather than reading a unified voice.
Variety over volume: 10 samples across different topics beats 20 on the same subject. The extraction needs to see what stays constant when everything else changes.
Casual writing is distinctive: Reddit comments, slack messages, quick emails. Polished pieces have rough edges edited away, and those edges are where voice lives.
Pressure test for specificity: If extraction output sounds generic ("uses varied sentence lengths"), run pass 2 and force specificity. Good output reads like followable instructions.
Use Opus or larger for extraction: Finer-grained feature descriptions, especially for registers where subtle tonal shifts matter. When this session runs Sonnet or Haiku, run Steps 2-4 as one dispatch:
Agent(general-purpose): - model: opus - prompt: {Steps 2-4 of this skill, and $PROFILE_DIR/samples}The subagent writes the baselines too, because Text B must be the extracting model's own default. It sees nothing from this conversation and reads the samples from disk. Sample intake and the user's confirmation stay in this session. On an Opus or Fable session, run the steps inline.
Required Progress Items
voice-extract:samples-collected- Writing samples gatheredvoice-extract:samples-anonymized- Labels stripped, numberedvoice-extract:baseline-generated- Claude's default output on same topicsvoice-extract:extraction-pass-1- Broad comparative featuresvoice-extract:extraction-pass-2- Pressure test for specificityvoice-extract:profile-written- extraction.md created
Step 1: Sample Intake
Load: @modules/sample-intake
Directory Mode
# Scan for samples
PROFILE_DIR="$HOME/.claude/voice-profiles/{name}"
mkdir -p "$PROFILE_DIR/samples"
# Copy samples from user-provided directory
# Rename to Sample-01.md, Sample-02.md, etc.
Interactive Mode
Present the user with:
Paste your writing sample below (minimum 200 words).
Type END on a new line when done.
Repeat until user says "done collecting" or reaches 10+ samples.
Manifest
Create manifest.json:
{
"profile_name": "{name}",
"created": "YYYY-MM-DD",
"samples": [
{
"id": "sample-01",
"original_source": "anonymized",
"word_count": 450,
"date_added": "YYYY-MM-DD"
}
],
"extraction_model": "opus",
"extraction_date": null,
"registers": ["default"]
}
Validation
- Minimum 3 samples
- Minimum 500 words total
- Each sample minimum 100 words
- Variety check: warn if all samples share obvious topic
Interview: what to keep, what to avoid
Samples show what the writer does. Ask what they never do and what they want kept, because a linter will flag some of their real habits:
- Which words, phrases or constructions do you never use? These
go to
banned-phrases.md, applied to drafts after generation. - Which of your habits should survive a cleanup pass, even where a
slop check flags them (first person, very short paragraphs, a
dash you do use)? These go to
preserve.md. - What do these samples have in common that your other writing does not (venue, reader, formality)?
Ask the third because imitation from samples holds up in structured genres such as news and email and falls off in informal blogs and forums (arXiv 2509.14543). Note the genre in the manifest.
Step 2: Baseline Generation
For each sample's topic/context, generate Claude's default output on the same subject. This creates the comparison pair.
Prompt for baseline:
Write a short piece about [topic extracted from sample].
Use your natural default style. Do not try to match any
particular voice or style. Just write naturally about this
subject in approximately [word_count] words.
Store baselines alongside samples for comparison.
Step 3: SICO Extraction Pass 1
Load: @modules/sico-extraction
The core comparative prompt:
I'm going to show you pairs of text. I
Установить voice-extract-playbook в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл voice-extract-playbook?
Extracts a user's writing voice from text samples via SICO comparative analysis. Use when building a voice profile for consistent generation.
Как установить скилл voice-extract-playbook?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл voice-extract-playbook запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic