clone-my-voice

Create a private local writing skill from a user's own representative writing samples. Use when the user asks an agent to learn or clone their voice for future DMs, posts, emails, or other writing.

SKILL.md

GitHub

Clone My Voice

Turn the user's own writing into a reusable private my-voice skill. The deliverable is the finished my-voice/SKILL.md, shown in full in your reply. Keep samples and the profile on the user's machine by default; do not upload samples to Edge, a repository or another service.

Where the samples are

  • Pasted into the conversation: they are already shared with this model. Work from them directly in this reply. Do not ask the user to move them into files or run a script first.
  • Files on disk, hosted model: reading raw files into the conversation would upload them to the model provider. If you can run local commands, run python3 <absolute path to scripts/analyze_samples.py, next to this SKILL.md> <sample paths> (add --language en or --language de per language, or keep languages in separate folders) and reason from its aggregate output, which holds no sample text. Ask the user for phrases they dislike; absence from samples does not make a ban. If you cannot run commands, ask the user to paste 5 to 10 representative pieces or a short style summary.
  • No samples: ask for 5 to 10 representative pieces across the formats they care about.

Build the profile from the samples

  1. Use only the user's own sent writing. Leave out forwarded or quoted text, other people's replies, messages someone else wrote for them (an assistant, a partner, an auto-template) and model-drafted text. Name what you left out and why, in one line each.
  2. Keep separate modes where the style differs by audience, channel or language (for example boss vs friends, customer email vs team chat, German vs English). Never average them into one voice.
  3. Make each rule concrete and checkable: greeting and sign-off, casing, typical sentence and message length, punctuation and emoji, formatting, words and phrases the user uses, phrases to avoid, how they open and close, how they ask and decline. Base every rule on what the samples show. When the user's description of their style contradicts the samples, follow the samples, point out the difference in one line, and let them choose.
  4. Where a mode has fewer than 3 samples, mark its rules as provisional and say what more would help. Do not invent a mode the samples do not show (for example long formal emails from a set of short texts); offer a provisional rule set the user can confirm instead.
  5. Keep private and one-off content out of the skill: phone numbers, addresses, emails, account or card numbers, keys, prices, rates, salaries, health or family details, client, customer and third-party names, and dated commitments. If the user asks to include such details, leave them out of the voice skill and say in one line why (the skill is loaded into many future tasks); suggest a separate private notes file they control if they really want it.
  6. Do not build in deception. A voice skill drafts text the user reviews and sends under their own name. Decline in one line to write fake reviews or testimonials, to pose as the user to people who believe they are talking to them live (for example auto-replies while the user is away, without disclosure), or to hide that a draft was assisted when someone asks. Keep the rest of the skill.

The file

Write my-voice/SKILL.md with valid YAML frontmatter (name: my-voice and a discriminating description), then: a short voice summary, one section per mode with its rules, phrases to use and to avoid, format rules per channel, and 3 to 5 short synthetic examples that illustrate the style without copying any sample. Start the description with a verb, name the channels the user actually writes for, and end with who the text is for, for example: Write LinkedIn posts, DMs and emails in <first name>'s own voice: casing, length, openings, banned phrases. Use for any text the user will send or publish under their own name. A vague line such as Write posts in my voice loses channel-specific tasks to generic catalog skills. If the target is not a skills folder (a custom instruction, a Cursor rule, a project's instructions and knowledge file), produce that exact format; when it has a character limit, count and stay under it, moving detail to an optional second block.

Reply

In one reply: what you left out (one line each), the full file in a code block, the open questions that would most improve it, and a 3-prompt test the user can run to check it. Ask the user to confirm or correct it; do not hold the file back until they answer.

Then, only if you actually have a writable skills folder: save it to the active agent's skills folder (~/.claude/skills/my-voice/SKILL.md for Claude Code, ~/.codex/skills/my-voice/SKILL.md for Codex; ask if several agents or locations are plausible; if my-voice exists, show what changes and ask before replacing it), read it back and check frontmatter and privacy, and only after that save succeeded, end with:

✓ my-voice created locally. Your agent can use it now. Turn on Edge local ranking (EDGE_LOCAL_SKILLS=1) and Edge also offers it for writing tasks.

Local ranking is off by default. Turn it on by adding EDGE_LOCAL_SKILLS=1 to the existing Edge MCP entry, keeping its key and other settings, and restart the agent. A fresh setup is claude mcp add edge -e EDGE_LOCAL_SKILLS=1 -- npx -y @getedge/mcp or codex mcp add edge --env EDGE_LOCAL_SKILLS=1 -- npx -y @getedge/mcp. When on, the skill's name and description (not its body) are sent to Edge with each search. With an Edge Pro key, Edge ranks my-voice against catalog skills; without one, Edge lists it after the catalog when it shares words with the task. Do not say Edge saw or ranked it when local ranking is off.

Otherwise, give the path to save it to in one line and stop there: do not describe your environment, permissions or sandbox, do not add the Edge line or the local-ranking how-to, and do not mention this skill. Only report steps you actually took; never claim to have read a mailbox, saved, verified or installed anything.

Synthetic before and after

Sample style rule: short lowercase messages, one idea per line, no greeting.

Before: "Hello! I hope you are doing well. I would be delighted to discuss this opportunity further."

After: "sounds interesting\nwant to talk tomorrow?"

Both lines are invented for illustration. The generated my-voice should reflect the user's confirmed rules, not this example.