Author Voice Skill logo

Author Voice Skill

Community
xatuke
author-voice-skill

Create a reusable "voice skill" — a system prompt that makes an LLM write in a specific author's or persona's voice (e.g. Edgar Allan Poe, the King James Bible, a named blogger, a public figure). Use whenever someone wants to imitate, mimic, capture, or reproduce a particular writing style or voice, turn an author's style into a reusable prompt, or build a style/persona preset. Grounds the prompt in measured stylometry so it captures rhythm and structure, not just vocabulary.

Overview

Publisherxatuke
Repositorymimic
Skill nameauthor-voice-skill
Stars
20
Forks
2
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by xatuke on GitHub. Read the source before you install it.

Installation

Install the Author Voice Skill AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/xatuke/mimic/tree/main/skills/author-voice
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/xatuke/mimic.git /tmp/mimic
mkdir -p .claude/skills
cp -r /tmp/mimic/skills/author-voice .claude/skills/author-voice-skill
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Author Voice Skill in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Author Voice Skill on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Author Voice Skill is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Creating an author-voice skill

A voice skill is a system prompt that reliably makes a model write like a specific author or persona, on any topic. This skill tells you how to build a good one.

The core principle

A voice is not a word list — it is a distribution over structure: how long sentences run, how often they repeat, what function words and punctuation recur, what rhetorical moves keep happening. Authorship attribution identifies writers almost entirely from these structural statistics (function-word rates, sentence rhythm, punctuation), not from topic words.

Prompting is the right tool because a system prompt is context, and context reshapes the model's token-by-token decisions — so it can change sentence length, repetition, and rhetorical sequencing. (Fine-tuning does this too but costs far more; static weight edits and decode-time word bans do not — they shift vocabulary but can't impose structure, so they produce caricature, not voice. Don't use them for this.)

So: ground the prompt in measured structure, then write explicit instructions that reproduce that structure, and validate by measuring again.

Process

1. Get a corpus

Collect ~2,000–8,000 words of the author's own writing (more is better; several different pieces/occasions beat one, so the signal is the author's voice and not one piece's topic). Clean it to plain text: strip site chrome, other speakers, stage directions, headers/footers. For public figures use transcripts of their words only; for books use the body text (drop editorial prefaces). Note sourcing and respect copyright/ consent — don't impersonate a private individual, and keep it to style, not deception.

2. Measure the signature (this is what makes the prompt good, not generic)

Run the bundled tool on the corpus:

python3 scripts/stylometry.py AUTHOR_CORPUS.txt

Read off the numbers you'll put in the prompt:

  • mean & std sentence length — the single strongest, most-overlooked lever. Short mean (~8–12) = punchy; long mean (~22–26) = periodic/ornate; high std = mixes very short and long.
  • TTR (lexical richness) — low (~0.1–0.2) means the author repeats words heavily; high means varied vocabulary. Repetition is a huge part of a distinctive voice.
  • top function words and punctuation rates — e.g. heavy and = polysyndeton (biblical/run-on); heavy — = Dickinson/aside-driven; heavy I/you = personal/direct address; many periods = short sentences; semicolons/colons = formal/periodic.
  • sentence openers — the tool prints the top sentence-first words and the % of sentences that start with a connective (and/but/so/or/yet/because…). How a writer begins sentences is one of the strongest and most-missed signatures — a high connective-opener rate (PG's But/And/So, the KJV's And) is a voice-defining tic you must turn into a move (step 3), not a statistic you note and forget. Also notice recurring non-connective openers (If you…, There are…, The thing is…).

3. Deep rhetorical & structural analysis — THIS is what separates voice from caricature

Do this properly and in depth; it is the most important step. Vocabulary and rhythm numbers get you a pastiche — the right words in the right-length sentences. What makes text actually read as the author is the rhetorical and discourse structure: the moves the writer performs and the shape a passage takes. A move is a thing the writer does (a structure you can perform), not a word they use. Extract these explicitly, with real examples, or the skill will produce caricature.

Read 15–25 passages closely, and also grep the corpus for candidate discourse markers (frequency is revealing), e.g.: for p in "you know" "right?" "by the way" "believe me" "I mean" "many people" "the thing is"; do echo "$p: $(grep -oi "$p" corpus.txt | wc -l)"; done Then extract, each with a concrete example quoted from the corpus:

  • Discourse structure — how a whole passage is organized. Linear or associative? Does it digress and snap back ("…which, by the way, …"), build to a climax, circle (ring composition), stack in threes, run call-and-response, interrupt itself? This is the layer most pastiche misses.
  • Signature rhetorical MOVES — name each as a performable action with a mini-template: self-interrupting digression → aside → return; embedded quoted mini-anecdote ("the doctor said, 'Sir, you're…'"); vague-authority sourcing ("a lot of people are saying"); hyperbolic escalation ladder; apophasis ("nobody talks about this, but…"); anaphora; rhetorical tag questions ("right?", "you know?"); refrain; direct address; the qualify-then-commit; the undercut.
  • Argument / justification pattern — how they make a claim stick (personal testimony, reconstructed dialogue, contrast-by-exaggeration, probabilistic hedging, scripture, data).
  • Recurring targets / themes / motifs — the stable set they keep returning to and can weave in anywhere (winning & losing, the media, the soul, deep time, ubuntu…).
  • Sentence openers / connective chains — if the stylometry output shows a high connective-opener rate, make it an explicit move: "start sentences with But / And / So to chain the reasoning," with the measured frequency ("about 1 in 5 sentences"). Capture any other recurring opener too (If you…, There are two…). This is the tic a vocabulary list and even a close read will miss — the opener count is what catches it, so always check it.
  • Sentence-level syntax tics — fragment↔run-on alternation, appositive stacking, trailing qualifiers, mid-sentence pivots on "and," inversion.
  • Diction & register dynamics — vocabulary, intensifiers, contractions, AND when the register shifts (high↔low, sincere↔ironic).

The payoff: in the skill you'll write these as "deploy this" instructions with templates, and tell the model to actually perform 2–3 moves per passage — not just sprinkle the vocabulary on top.

4. Write the skill prompt — use this template

# <Author> Voice — style skill

Write in the voice of <Author>. Keep the substance of whatever you're asked, but
render it as <one-line characterization>. Topic in, <Author> out.

## Calibration — write the real author, not a parody
- <aim for the actual style, not an exaggeration; vary length; deploy moves sparingly; when
   unsure choose restraint — a real passage is subtler than the stereotype>

## Rhythm
- <sentence length rule WITH the measured number: "average ~N words", short/long/varied>
- <repetition rule from TTR: reuse words / vary; give a concrete repeated-phrase example>
- <punctuation rhythm from the rates: which marks dominate and why>

## Rhetorical moves — DEPLOY these (perform 2–3 per passage; don't just name them)
- <each a *performable* move from step 3, as an instruction + a tiny template, e.g.
   "**Digress and snap back:** veer off mid-sentence with 'which, by the way, …' then return."
   / "**Embedded mini-anecdote:** quote someone — 'and he said to me, …'" /
   "**Vague-authority sourcing:** attribute claims to 'a lot of people' / 'everybody knows'">
- End with the **discourse-structure** instruction — how to SHAPE the whole passage
   (associative digressions / build-to-climax / ring composition / stacking in threes).

## Diction & punctuation
- <register, vocabulary, intensifiers, contractions; which punctuation to lean on>

## Guardrails
- Don't invent facts; if unsure, <handle it in-voice> rather than fabricating specifics.
- <keep-it-tasteful / stay-in-register notes>

## Example
**Ask:** "<a neutral everyday prompt>"
**<Author>:** "<a paragraph YOU write, fully in voice — this few-shot anchor matters a lot>"

Rules for a good prompt:

  • Lead with rhythm and put the real measured number in it. Vague "writes vividly" does nothing; "average ~11 words, many 3–6, repeat for emphasis" works.
  • Make moves concrete with tiny in-voice snippets, not abstract labels.
  • Moves are the voice; make the model PERFORM them. The structural/discourse moves from step 3 are what separate real voice from caricature — write them as "deploy this" actions with templates, and instruct the model to perform 2–3 per passage. (This is the single biggest quality lever after rhythm.)
  • Write the example yourself, in voice. The few-shot anchor is one of the biggest levers — don't skip it or leave it generic.
  • Target style, not facts — always include the "don't invent facts" guardrail, because prompts change how the model writes, never what it knows.

5. Validate and iterate

Generate 2–3 neutral prompts (e.g. "describe a cup of coffee", "write about your morning") with your draft as the system prompt, save the outputs to SAMPLE.txt, and run:

python3 scripts/stylometry.py AUTHOR_CORPUS.txt SAMPLE.txt

It prints exactly what to fix: shorten/lengthen sentences, repeat more/less, which function words and punctuation to push. Then read the sample (metrics can be gamed by degenerate text). Tighten the weakest section of the prompt and regenerate. Stop when the sentence length and TTR are near the target and it reads unmistakably like the author. Two or three iterations is normal; strong, distinctive voices (short-sentence, archaic, or highly repetitive ones) land fastest.

6. Offer to install it — and ask first

Once the skill reads unmistakably like the author, ask the user whether to install it as a skill for this agent — never install silently. Ask literally, e.g.:

Install the voice as a skill for this agent? [y/N]

Only on an explicit yes, copy the finished SKILL.md into the agent's skills directory so it's available in future sessions. For Claude Code that's ~/.claude/skills/<author>-voice/SKILL.md (create the folder). Bring the measured numbers with it — the installed skill is just the prompt you wrote, so it keeps working anywhere. If the user says no, leave the file where it is and tell them the path; installing later is the same copy. Don't install into shared/team locations without being asked.

Pitfalls

  • Overshoot / caricature is the big one. A skill that stacks every signature move and pushes markers "to 11" produces a parody that is stylometrically FARTHER from the real author than a restrained imitation — the real author is always subtler than the stereotype. Add a Calibration rule to every skill ("write the actual author, not a parody; vary sentence length; use signature moves sparingly amid ordinary sentences; when unsure, choose restraint"), and in validation check that generations don't overshoot the author's measured numbers (e.g. sentences far shorter/choppier than the real corpus). Strong models especially overshoot, because they already imitate well and the skill only over-steers them.
  • Vocabulary-only prompts read as caricature. Capturing structure (length, repetition, rhetorical sequence) is what makes it convincing. This is why you measure.
  • Overshoot: an ornate author's prompt can make sentences too long, a punchy one too short. Check the number and dial the rhythm rule.
  • Subtle voices (calm analytical essayists) move the metrics less and need the example to carry more weight — invest in the few-shot.
  • Facts aren't voice. Niche facts will still be wrong; that's expected and orthogonal.
  • Don't reach for fine-tuning or weight-editing for this — prompting is cheaper and captures structure that static edits can't.

Worked example (Trump)

Measured: mean sentence length 11.4 words (short), TTR 0.10 (very repetitive), heavy I/you/we, high periods and contractions. → the prompt's Rhythm section said "average ~11 words, many 3–6, repeat constantly ('very, very strong'), low vocabulary variety on purpose," plus signature moves (extreme superlatives, "believe me"/"folks", rhetorical questions, self-reference) and a fully in-voice example. Result on a fresh model: sentence length 19→8, TTR 0.65→0.51, cosine-distance to the real corpus 1.11→0.85 — i.e. it moved from orthogonal to clearly in-voice, capturing the short-punchy-repetitive structure a vocabulary list alone never would.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Author Voice Skill AI skill do?

Create a reusable "voice skill" — a system prompt that makes an LLM write in a specific author's or persona's voice (e.g. Edgar Allan Poe, the King James Bible, a named blogger, a public figure). Use whenever someone wants to imitate, mimic, capture, or reproduce a particular writing style or voice, turn an author's style into a reusable prompt, or build a style/persona preset. Grounds the prompt in measured stylometry so it captures rhythm and structure, not just vocabulary.

Why use Author Voice Skill on TypingMind?

Because you install it once and use it with any model. Author Voice Skill is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Author Voice Skill in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/xatuke/mimic/tree/main/skills/author-voice. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Author Voice Skill?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Author Voice Skill?

As many as you like. As long as a model supports skills, you can use Author Voice Skill with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Author Voice Skill AI skill free?

Yes. It is published on GitHub by xatuke under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇