Skip to content
Back to skills

Voice

ASecurity

Make an agent write in your own voice, measured from your own writing, and refuse text that doesn't sound like you before it goes out. Use before drafting anything sent under your name, and to set up or tune the voice check.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 28, 2026
ai-agentsgo

Works with

  • cli

Security analysis

A100/100

Scanned November 28, 2026

npx -y skills add rpinho/rstack --skill voice --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Voice?

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

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

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
description: Make an agent write in your own voice, measured from your own writing, and refuse text that doesn't sound like you before it goes out. Use before drafting anything sent under your name, and to set up or tune the voice check.
---

# Your voice, measured and enforced

The problem I had was not that agents wrote badly. They wrote fluently in someone else's voice,
and people noticed. A paragraph in a CLAUDE.md saying "write like me" didn't fix it. Three things
together did.

## 1. Measure your voice from your own writing

Export a few hundred things you actually wrote: chat messages, emails, comments. Not polished
documents, they're the wrong register. Then profile them:

```sh
rstack/tools/voice-lint --measure my-messages/*.txt
```

It reports median and 90th-percentile sentence length, how often you use contractions, start in
lowercase, hedge ("I think", "probably"), use exclamation marks and em dashes. Write a short guide
from those numbers, each rule with its count. "Short sentences" is a wish; "median 8 words per
sentence, 90% under 14" is a rule an agent can follow and you can check. Keep the corpus and the
guide private. Never publish your own phrases.

## 2. Write by paper-cut, not by composing

A guide plus a lint still lets an agent compose freely and then tidy the result until it passes.
The method that holds is cutting the draft from your own messages, like newspaper clippings:

1. Keep a bank per language: whole messages you wrote, one JSON line each (`{"text": ...}`),
   ideally with the move each one makes (ask, agree, thank, disagree, decline). Never translate
   your messages in one language into another; a language with no bank has no drafts yet.
2. Pick the move, find one to three of your messages that make it, and build the draft from
   their exact words, swapping in the subject.
3. Save the bank lines you cut from next to the draft, in `DRAFT.cuts`, one `BANK:LINE` per line.
4. Run `rh voice-cuts DRAFT [--incoming THEIR_MESSAGE]`. It passes when the language matches a
   cited bank and at least 70% of the words and 40% of the word pairs come from the cited lines.
   Words from the message being answered don't count against you: they are the subject.

Point `RH_VOICE_BANKS` at a JSON file naming your banks (`{"en": {"path": "en.jsonl", "lang":
"en"}}`) and `rh outreach lint` requires the cuts on every draft, and the email send hook refuses
a body that neither matches an approved draft nor passed `rh voice-cuts` as exactly that text.
Don't lower the thresholds to let a composed draft through; if good cut drafts fail, measure on
those and say why. Keep the banks private, like the corpus.

## 3. Keep a slop list

Every time a draft reads wrong to you, write down the phrase that did it. That list is what the
lint checks. [slop.example.txt](../../../rstack/tools/slop.example.txt)
has generic entries to start from; yours will be specific to you.

## 4. Gate every outbound text with a lint

The guide steers the draft. The lint refuses it:

```sh
rstack/tools/voice-lint --slop my-slop.txt < draft.txt     # FAIL: lines and exit 1, or PASS
```

Wire it where text leaves, not where it's written. In the research harness, set
`RH_VOICE_COMMAND` to that command and `rh outreach lint` refuses a draft that fails it; for email
sent from a browser, the send hook in `tools/email-voice-gate.py` checks the exact bytes against an
approved, linted draft. A rule that only lives in the prompt gets skipped on a busy day. A send that
fails the lint doesn't go.

## Using it when drafting

Load the guide, cut the draft, run both checks, fix what it finds, and show the result. Start with
the actual thought. Stop when the thought is done. When the person pushes back on tone, the fix is
a new line in the guide or the slop list, not a promise to do better.

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.