Логотип 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 по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный 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. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/xatuke/mimic/tree/main/skills/author-voice
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
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 по лицензии MIT. Издатель — xatuke. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇