Skip to content
Back to skills

Voice Generate Playbook

ASecurity

Generates text in a learned writing voice. Use when drafting content that must match a specific author's style profile extracted by voice-extract.

  • 358 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythongobash

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add athola/claude-night-market --skill voice-generate-playbook --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Voice Generate Playbook?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Voice Generate Playbook
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/athola-voice-generate-playbook/badge)](https://www.skillsdirectory.com/skills/athola-voice-generate-playbook)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: voice-generate-playbook
description: Generates text in a learned writing voice. Use when drafting content that must match a specific author's style profile extracted by voice-extract.
globs: "**/*.{md,txt}"
alwaysApply: false
category: writing-quality
tags:
- voice
- generation
- style-transfer
- writing
- registers
tools: []
complexity: high
estimated_tokens: 2400
progressive_loading: true
modules:
- modules/source-framing.md
- modules/register-selection.md
- modules/generation-pipeline.md
dependencies:
- scribe:voice-extract-playbook
- scribe:slop-detector
---

# Voice Generation Skill

Generate text in a user's extracted writing voice.

## When NOT To Use

- No profile exists yet (use `scribe:voice-extract`)
- Checking the output for drift (use `scribe:voice-review`)

## Core Principle: Source Material Framing

The single largest variable in output quality is how source
material is framed in the prompt. Material framed as "raw
notes I'm still thinking through" produces text that feels
like thinking. Material framed as summaries produces reporting.

Always frame user-provided source material as raw notes unless
the user explicitly requests otherwise.

## Required Progress Items

1. `voice-generate:profile-loaded` - Voice profile read
2. `voice-generate:register-selected` - Register chosen
3. `voice-generate:source-framed` - Material framed as notes
4. `voice-generate:generated` - Text produced
5. `voice-generate:review-dispatched` - Sent to review agents

## Step 1: Load Voice Profile

```bash
PROFILE_DIR="$HOME/.claude/voice-profiles/{name}"
```

Read in order:
1. `extraction.md` - Core voice features
2. `registers/{register}.md` - Active register
3. `craft-rules.md` - Shared craft techniques (if exists)
4. `banned-phrases.md` - Phrases the writer never uses (if exists).
   Held for Step 5, not pasted into the generation prompt
5. `preserve.md` - The writer's habits a cleanup pass keeps (if exists).
   Also held for Step 5

Check for per-project override:
```bash
if [ -f ".voice/override.md" ]; then
  # Merge project overrides with profile
fi
```

## Step 2: Register Selection

Load: `@modules/register-selection`

Select register by:
1. Explicit user request ("use casual register")
2. Context matching from register metadata
3. Default fallback to `registers/default.md`

## Step 3: Frame Source Material

Load: `@modules/source-framing`

**Default framing** (always use unless user overrides):

```
Below are my rough notes on this topic. I'm still thinking
through these ideas. Use them as the raw material for the
piece, not as a structure to follow:

---
{user_provided_source_material}
---
```

**Alternative framings** (only if user requests):
- "structured outline" - when user wants to preserve structure
- "key points to cover" - when user provides bullet points
- "conversation to draw from" - when source is a transcript

## Step 4: Generation Prompt

Compose the generation prompt:

```
You are writing a piece in a specific voice. The voice
features below were extracted from the writer's own work.
Follow them as concrete instructions, not suggestions.

## Voice Features

{extraction.md content}

## Active Register: {register_name}

{register content}

## Craft Techniques (apply all)

- Concrete-first: Lead with specific, physical details before
  any abstraction
- Naming: When you describe a pattern in 2+ sentences, compress
  it into a 2-4 word label
- Opening moves: Start mid-thought, with a specific moment, or
  with a counterintuitive claim. Never start with throat-clearing
- Human-moment anchoring: Ground every abstraction in a specific
  scene or lived experience
- Aphoristic destinations: At least one sentence per section
  should be worth repeating out of context

## Source Material

{framed source material from Step 3}

## Task

Write the piece. Follow the voice features precisely. Apply
craft techniques. The output should read as if the writer
produced it themselves.

Length: {user_specified or ~same as source material}
Format: {user_specified or prose paragraphs}
```

## Step 5: Post-Generation

The banned phrases are applied here, to the draft, rather than in
the generation prompt. Naming a banned form while drafting costs
content (banning one word cut comprehensiveness 14-48% across
seven models, arXiv 2604.13006) and can prime the form it names
(arXiv 2601.08070).

After generation:
1. Audit the draft with `Skill(scribe:slop-detector)` (in this
   repository, `scripts/slop_score.py --audit`), and match it against
   the profile's `banned-phrases.md` when it has one
2. Copy the draft, then rewrite each flagged span and leave the rest
   as drafted, except a span the profile's `preserve.md` names, which
   stays. An em dash's sentence is rewritten, not given parentheses or
   a double hyphen in its place
3. Run `python -m scribe.preservation` on the copy and the revised
   draft (from the scribe plugin, with `PYTHONPATH=src`). A number,
   code span, link or source it reports missing goes back in
4. Run `python -m scribe.voice_drift` on the same pair. It reports
   contractions, first-person pronouns, function words and sentence
   length that moved, and always exits 0. A flag means a person
   compares the two versions. Do not rewrite again on it, because a
   second pass pulls the same way. Its cutoffs are uncalibrated
5. When a review is wanted, run voice-review last. Any rewrite
   pulls text toward a shared polished register (fewer
   contractions, function words and first-person pronouns, arXiv
   2604.22142), so the voice check comes after the slop fixes
6. Save pre-review snapshot if learning mode is active

## Model Routing

- **Generation**: Use Opus or larger. Tonal shifts, parenthetical
  subversion, and subtle voice qualities require the larger
  model. Sonnet flattens these. When this session runs
  Sonnet or Haiku, run the Step 4 prompt as a dispatch:

  ```
  Agent(general-purpose):
    - model: opus
    - prompt: {the Step 4 prompt, every placeholder filled}
  ```

  The subagent sees nothing from this conversation. The filled
  prompt must carry the voice features, register and source
  material in full. On an Opus or Fable session, generate inline.
  A pinned dispatch from Fable would downgrade the pass.
- **Banned phrase scan**: Can run locally (regex/grep)
- **Review agents**: Sonnet is sufficient (the prompts are
  templated, so Opus tonal range is not needed)

## Per-Project Voice

If `.voice/override.md` exists in the current project:
- Read override content
- Merge with profile (overrides take precedence)
- Note in output: "Applied project voice override"

## Exit Criteria

- [ ] Text generated in the specified voice
- [ ] No banned phrases present
- [ ] Craft techniques applied (concrete-first, naming, etc.)
- [ ] Source material framed as raw notes
- [ ] Review dispatched (if requested)
- [ ] Snapshot saved (if learning mode active)

Files in this skill

  • SKILL.md6.8 KB
  • modules/generation-pipeline.md2.2 KB
  • modules/register-selection.md1.6 KB
  • modules/source-framing.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.