setup-writing-style

Builds a personal writing voice profile from the user's own sent emails, chats, and docs.

Updated Aug 25, 2017
One-click install
npx skills add https://github.com/loki495/dotfiles --skill setup-writing-style-loki495
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: setup-writing-style
Source: https://github.com/loki495/dotfiles/tree/main/ai/skills/synced/61219810-e902-4cd6-8df8-15dea8f36349_706ad504-6282-4bee-9d53-631f4bfe80ae/setup-writing-style
Command: npx skills add https://github.com/loki495/dotfiles --skill setup-writing-style-loki495

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? AI-drafted emails and messages often sound generic rather than like the person sending them. This Skill analyzes the user's own sent writing and distills it into a reusable voice profile so future drafts match their actual style. ## Core Features & Use Cases - Consent-based sample gathering: Collects only writing the user authored and sent, from sources like Gmail sent mail, Slack messages, and Google Drive docs, with explicit approval before reading anything. - Stylometric analysis: Runs a pure standard-library Python script that strips quoted replies and signatures, computes per-surface style statistics (sentence rhythm, contractions, punctuation habits, greetings), and selects representative exemplars. - Voice profile generation: Distills the analysis into a saved my-writing-style skill with per-surface sections, audience-based tone shifts, and dos and don'ts, with strict PII and privacy guardrails. - Use Case: A user complains that AI-drafted emails sound unlike them. The Skill gathers their sent mail and Slack messages, analyzes their writing patterns, and saves a profile so subsequent drafts carry their characteristic phrasing and tone. ## Quick Start Ask the assistant to learn your writing style from your sent emails and messages so future drafts sound like you.

Frequently Asked Questions about setup-writing-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make AI drafts sound like my own writing?▼

Run the setup flow, which gathers samples of writing you authored and sent, analyzes style statistics like sentence rhythm and punctuation habits, and saves a voice profile. Future drafts then apply that profile automatically.

What writing sources can be analyzed for a voice profile?▼

The flow gathers from connectors carrying writing you sent, such as Gmail sent mail, Slack messages you posted, and your own docs in Drive. If no connector exists, you can paste 5-15 pieces of real writing directly.

Does the writing style analysis require installing Python packages?▼

No. The stylometry script is pure standard-library Python with no installs and no network access. It runs a selftest first to verify integrity, then computes per-surface statistics and selects exemplars.

Is my private writing stored permanently in the voice profile?▼

No. Raw samples live in a temporary working directory that is cleaned up when the flow ends. The saved profile records style patterns only, never PII like names, numbers, or addresses, and quotes are screened before saving.

What happens if I have too few writing samples?▼

The script applies length gates per surface, and thin corpora are reported honestly rather than padded. You can paste more pieces, gather deeper, or cold-start with a minimal profile that grows through later feedback.

Can the voice profile handle languages other than English?▼

Partially. The script flags non-English corpora because its contraction, greeting, and function-word analyses are English-centric. Qualitative exemplar-based traits are kept, but English-centric statistics are treated as unreliable.