An elegant, open-source command-line utility to extract and clone your unique human writing footprint. Stop publishing generic, corporate, or preachy AI copy—analyze your natural writing samples and generate a custom Style Persona Specification to guide Claude, ChatGPT, and Gemini.
Standard Large Language Models (LLMs) default to the "statistical average" of the web, resulting in highly repetitive corporate jargon (such as "delve", "moreover", "revolutionize", and "tapestry").
This tool reads your raw, hand-written text samples, analyzes your structural cadence, tone, formatting, and vocabulary patterns, and outputs a structured Style Persona Blueprint in markdown. You can paste this blueprint straight into your AI system instructions to make them write exactly like you.
Clone this repository and install the official Google Generative AI SDK:
git clone https://github.com/your-username/style-cloner.git
cd style-cloner
pip install google-generativeai
Export your Google Gemini API key as an environment variable:
# On Linux/macOS
export GEMINI_API_KEY="your-api-key-here"
# On Windows (CMD)
set GEMINI_API_KEY=your-api-key-here
# On Windows (PowerShell)
$env:GEMINI_API_KEY="your-api-key-here"
Create a folder named samples in the directory and place 3 to 5 text files (.txt or .md) of your natural writing (such as warm emails, hand-written blog posts, or chat transcripts):
mkdir samples
# Place your sample1.txt, sample2.txt, sample3.txt files inside this folder
Run the script to extract your linguistic fingerprint:
python style_cloner.py
This will scan your samples, run the extraction prompt on the Gemini API, and output a clean markdown file named style_persona.md.
Looking for production-ready copy templates, advanced formatting guardrails, and highly optimized B2B copywriting blueprints?
Get the full HUMANIZER: The Un-Robotic AI Copywriting Toolkit on Gumroad!
- The De-Cringer Banned Word Registry: 20+ corporate filler words to instantly ban from your codebase.
- The Secure System Formatting Guardrails: Deeply nested, copy-paste formatting rules to force structural variety.
- Production-Ready Blueprints: Highly optimized, tested prompts for high-converting email newsletters, zero-preach LinkedIn thought leadership, and desire-driven landing pages.
- Full PDF Version: Formatted, exported, and ready to read on any device.
👉 Download the Premium HUMANIZER Toolkit on Gumroad ($5 Suggested / $0+ PWYW)
This project is licensed under the MIT License - see the LICENSE file for details.