/scribe:voice-learn runs instead · from scribe
Improves a voice profile by learning from manual edits. Compares pre-review, post-review, and post-edit snapshots to identify patterns and refine registers over time.
This skill never runs in Claude Code
It ships in scribe at skills/, but /scribe:voice-learn (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Learn from user edits to improve the voice profile over time.
scribe:voice-extract)scribe:voice-review)Every piece flows through three stages:
The learning agent compares stages 2 and 3 (post-review vs post-edit) to identify patterns in what the user changed. These patterns inform register and rule updates.
voice-learn:snapshots-loaded - All three stages readvoice-learn:diff-analyzed - Changes categorizedvoice-learn:accumulator-checked - Prior patterns reviewedvoice-learn:proposals-generated - Updates proposedvoice-learn:user-approved - Changes accepted by userLoad: @modules/snapshot-management
PROFILE_DIR="$HOME/.claude/voice-profiles/{name}"
SNAP_DIR="$PROFILE_DIR/learning/snapshots"
# Find the most recent snapshot set
# Format: {piece-name}-{timestamp}-{stage}.md
Read all three stages for the target piece.
Steps 2-4 need Opus or larger: telling a tone adjustment from a precision edit takes the nuance Sonnet flattens. When this session runs Sonnet or Haiku, run them as one dispatch:
Agent(general-purpose):
- model: opus
- prompt: {Steps 2-4 of this skill, the three snapshot paths,
and learning/accumulator.json}
The subagent sees nothing from this conversation and reads the snapshots from disk. It returns the proposals and does not write the profile. Step 5 approval stays in this session. On an Opus or Fable session, run the steps inline.
Load: @modules/pattern-analysis
Compare post-review vs post-edit. Categorize every change:
| Category | Example |
|---|---|
| Tone adjustment | Softened a claim, added hedge |
| Voice insertion | Added parenthetical, aside, humor |
| Structure change | Broke paragraph, reordered |
| Precision edit | Replaced vague with specific |
| Deletion | Removed fluff or decoration |
| Addition | Added context, example, anchor |
Read learning/accumulator.json:
{
"patterns": [
{
"id": "pat-001",
"category": "tone_adjustment",
"description": "Softens confident claims about tool capabilities",
"instances": [
{"piece": "blog-post-1", "date": "2026-04-08", "diff": "..."}
],
"target": "register",
"status": "accumulating",
"first_seen": "2026-04-08",
"last_seen": "2026-04-08"
}
],
"staleness_threshold_days": 30
}
Match new changes against existing patterns:
For patterns that reach threshold (3+ instances or 1-2 matching prior accumulator entries with 2+ instances):
## Proposed Update
**Pattern**: {description}
**Target**: {register file or craft-rules.md}
**Evidence**: {N instances across M pieces}
| Piece | Date | Change Made |
|-------|------|-------------|
| ... | ... | ... |
**Proposed edit**:
- File: {path}
- Section: {section name}
- Current: "{current text or 'new addition'}"
- Proposed: "{new text}"
Add to accumulator with current instances. Report:
Holding: "{pattern description}" (N instances, need 3+)
If a new pattern contradicts an existing accumulator entry:
Contradiction detected:
- Existing: "{accumulator pattern}"
- New: "{contradicting pattern}"
- Resolution required: user must choose
Present proposals to user:
Learning found N patterns ready to apply:
[1] {pattern}: {proposed change}
Evidence: {N instances}
[a]pply / [s]kip / [v]iew evidence?
[2] ...
Apply approved changes to the target files.
Patterns in the accumulator expire after staleness_threshold_days
(default 30). If a pattern hasn't recurred within that window,
it was likely a one-off preference rather than a voice trait.
On each learning pass, prune stale entries:
# Remove patterns older than threshold with < 3 instances
The learning system captures snapshots automatically when voice-review completes. Snapshot naming:
{piece-filename}-{YYYYMMDD-HHMMSS}-pre-review.md
{piece-filename}-{YYYYMMDD-HHMMSS}-post-review.md
{piece-filename}-{YYYYMMDD-HHMMSS}-post-edit.md
The post-edit snapshot is captured when the user runs
/voice-learn after finishing their manual edits.
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/doc-generatorGenerates or remediates documentation with human-quality writing. Use when creating new docs, rewriting AI-generated content, or applying style profiles./session-replayConverts a Claude Code session JSONL file into an animated GIF terminal replay. Use when creating demos or visual evidence from past sessions./session-to-postConverts a Claude Code session into a blog post, case study, or Reddit post. Use when publishing dev blog content or community posts from real sessions./simplified-technical-englishApplies an ASD-STE100-derived register to operator and procedural text. Use when writing runbooks or steps. Do not use for docstrings, ADRs, or rationale./slop-detectorDetects AI-generated writing patterns in prose. Use when reviewing docs for slop, vague language, or identity leaks before publishing./style-learnerExtracts writing style patterns from exemplar text into a reusable profile. Use when creating a style guide or learning a specific author's voice.npx claudepluginhub athola/claude-night-market --plugin scribeOther plugins' skills for the same job