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.
- License 许可
- Apache-2.0
- 所属仓库
- getedgehq/skills
- 最近更新
- 2026-11-12
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- name
- clone-my-voice
- description
- 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.
02 资源文件 3
- 参考文档DERIVATION.json830 B
- 许可证LICENSE10.5 KB
- 脚本scripts/analyze_samples.py4.2 KB
03 SKILL.md 正文
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 enor--language deper 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
04 同仓库更多 Skills
zero-downtime-cloud-move
Runbook for moving a live app from one cloud to another (Google Cloud to AWS, AWS to Google Cloud, a PaaS to your own account, or one storage provider to another) without downtime. The agent inventories what is really running, builds the new stack next to the old one, keeps a one-line rollback for every phase, proves the new stack with real workloads before any traffic moves, cuts over with a checklist, watches a fixed window after the switch, copies data with an idempotent job whose second pass must report 0 left, and deletes the old cloud last. Use when someone asks to migrate, move or replatform a production app, switch cloud providers, move a backend, database files or object storage, plan a DNS cutover, or decommission an old cloud account.
zayats-ceo-branding
Build an evidence-based CEO positioning paper, Personal Branding Roadmap, and editorial workflow using Marina Zayats's public method. Use for executive branding, LinkedIn ghostwriting briefs, profile strategy, and recurring CEO-approved content planning.
yc-app-roast
YC App Roast: roast a YC or a16z Speedrun application. Use when a founder wants their YC or Speedrun answers scored, asks "what would a YC partner think", wants the weak answers found or rewritten, or wants their draft checked before they submit. Scores every answer 0-10 against public advice from YC and Speedrun partners, names the top issue with the exact words that cost points, and writes a rewrite from the founder's own facts. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.
yc-app-review
YC App Review: get a YC or a16z Speedrun application reviewed by people you trust. Use when a founder wants friends, mentors or alumni to review their YC or Speedrun application, or asks to share their draft for feedback. Builds a shareable review page (one HTML file, application-portal look) where reviewers leave notes per question and press "Send my notes" to send them back as text, then parses the notes into proposed rewrites. Optional tracked private links per reviewer. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.
x-growth-playbook
X Growth Playbook. Analyse a person's own X (Twitter) posts and tell them what to post next, with the numbers behind every claim. Compares quote posts vs originals, links vs no links, short vs long, time of day in their timezone, media vs text and the topics they name, reports medians with n, then writes a 10-step plan and the next 7 posts in their voice. Use when the user says "analyse my X posts", "what works on my Twitter", "how do I grow on X", "what should I post next on X", "audit my X account", or shares an X data archive, X API export or a list of their posts. Runs on the user's computer.
workplan
Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: "workplan", "work plan", "create a plan", "what's the plan", "where was I", or when Claude detects a multi-step task that needs tracking.