Логотип Author Voice Skill

Author Voice Skill

Спільнота
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.

Огляд

Видавецьxatuke
Репозиторійmimic
Назва навичкиauthor-voice-skill
Зірки
20
Форки
2
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: xatuke. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Author Voice Skill у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/xatuke/mimic/tree/main/skills/author-voice
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Author Voice Skill в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Author Voice Skill, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Author Voice Skill не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Author Voice Skill у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Author Voice Skill — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Author Voice Skill у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/xatuke/mimic/tree/main/skills/author-voice. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Author Voice Skill?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Author Voice Skill?

Зі скількома забажаєте. У TypingMind ви можете використовувати Author Voice Skill із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Author Voice Skill?

Так. На GitHub цю навичку публікує xatuke за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇