Reverse-engineer any author's writing style. Then write in their voice.
Feed ghost-writer 3 blog posts by Paul Graham, and it builds a 24-dimension style profile β sentence rhythm, vocabulary tier, humor style, rhetorical devices, emotional temperature, and 19 more. Then ask it to write something new. The output reads like Graham wrote it, not like AI imitating Graham.
Not prompt engineering. Forensic stylometry.
| π₯ Input | 2β5 writing samples (paste text, file paths, or URLs) |
| π¬ Analysis | 24-dimension forensic style breakdown |
| π Output | Interactive HTML report + JSON style profile |
| βοΈ Writing | New content that authentically reproduces the voice |
In this blog post, we'll explore the fascinating world of startups. Starting a company is a challenging yet rewarding endeavor that requires dedication, perseverance, and a willingness to embrace uncertainty. Let's dive into the key factors that contribute to startup success.
The most dangerous thing about starting a startup is that it's hard in ways you don't expect. Everyone warns you about the long hours. Nobody warns you that the hardest part is making decisions with no information and no one to ask.
ghost-writer doesn't just look at "tone." It performs a forensic analysis across 24 independent dimensions, grouped into 5 categories:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β A. RHYTHM & STRUCTURE B. WORD CHOICE β
β ββ Sentence length dist. ββ Vocabulary tier β
β ββ Paragraph architecture ββ Jargon handling β
β ββ Opening moves ββ Verb energy β
β ββ Transition style ββ Modifier philosophy β
β ββ Closing patterns ββ Pronoun strategy β
β ββ Structural signature ββ Signature phrases β
β β
β C. TONE & REGISTER D. RHETORICAL DEVICES β
β ββ Confidence level ββ Analogy & metaphor β
β ββ Humor style ββ Evidence strategy β
β ββ Emotional temperature ββ Repetition as device β
β ββ Reader relationship ββ Question usage β
β ββ Formality gradient β
β β
β E. MECHANICS & FORMATTING β
β ββ Punctuation personality β
β ββ Formatting habits β
β ββ Emphasis patterns β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The analysis generates an interactive HTML report. Self-contained, dark/light theme, works on mobile.
Includes:
- Radar chart β all dimensions at a glance
- Rhythm visualization β sentence length bar chart showing the author's "beat"
- Signature phrases β highlighted with frequency counts
- Voice DNA β one-paragraph summary of the author's essence
- Do / Don't cheat sheet β quick reference for writing in this voice
curl -fsSL https://raw.githubusercontent.com/OneSpiral/ghost-writer/main/install.sh | bash/plugin marketplace add OneSpiral/ghost-writer# Claude Code
git clone https://github.com/OneSpiral/ghost-writer.git ~/.claude/skills/ghost-writer
# Codex CLI
git clone https://github.com/OneSpiral/ghost-writer.git ~/.codex/skills/ghost-writer
# Pi
git clone https://github.com/OneSpiral/ghost-writer.git ~/.pi/agent/skills/ghost-writer
# OpenCode
git clone https://github.com/OneSpiral/ghost-writer.git ~/.opencode/skills/ghost-writerCopy SKILL.md into your agent's skills directory. That's it β it's a single file.
> /ghost-writer analyze
Paste 3 Paul Graham essays and I'll build his style profile.
Or point to files:
> /ghost-writer analyze ~/essays/pg-essay-1.md ~/essays/pg-essay-2.md ~/essays/pg-essay-3.md
Output:
paul-graham-style-profile.jsonβ machine-readable profilepaul-graham-style-report.htmlβ interactive visual report
> /ghost-writer write paul-graham
Write a 1000-word essay about why most productivity advice is wrong.
The agent loads the style profile and writes as if Paul Graham wrote it β matching his sentence rhythm, vocabulary tier, opening moves, humor placement, and all 24 dimensions.
Samples (essays, blog posts, emails)
β
βΌ
ββββββββββββββββββββββββ
β FORENSIC ANALYSIS β
β β
β 24 dimensions β
β measured across β
β all samples β
ββββββββββββ¬ββββββββββββ
β
βββββββ΄ββββββ
βΌ βΌ
Style HTML
Profile Report
(.json) (.html)
β
βΌ
ββββββββββββββββββββββββ
β VOICE SYNTHESIS β
β β
β Load profile β
β Generate draft β
β Self-audit vs β
β all 24 dims β
β Revise mismatches β
β Uncanny valley β
β final check β
ββββββββββββββββββββββββ
β
βΌ
New content in
the author's voice
Because tone is one dimension out of 24. Two authors can have identical tone (confident, casual) but completely different:
- Rhythm β one writes 8-word sentences, the other writes 25-word sentences
- Openings β one starts with anecdotes, the other starts with claims
- Evidence β one uses data, the other uses personal stories
- Punctuation β one loves em dashes, the other uses semicolons
Readers detect these unconscious patterns before they can name them. Miss even 2β3 dimensions and the writing feels "off" even if the tone is right. ghost-writer captures all 24 so nothing slips through.
| Agent | Status | Install Location |
|---|---|---|
| Claude Code | β | ~/.claude/skills/ghost-writer/ |
| Codex CLI | β | ~/.codex/skills/ghost-writer/ |
| Pi | β | ~/.pi/skills/ghost-writer/ |
| OpenCode | β | ~/.opencode/skills/ghost-writer/ |
| Gemini CLI | β | Copy SKILL.md to skills directory |
| Any agent | β | Single SKILL.md file, universal |
| Approach | What happens |
|---|---|
| "Write like Paul Graham" | AI produces generic "smart casual tech essay" voice. Misses rhythm, openings, evidence strategy, punctuation habits, emotional arc. |
| ghost-writer | Analyzes actual samples across 24 dimensions. Produces content that would fool someone who reads the author regularly. |
The difference: generic pattern matching vs. forensic style replication.
How many samples does it need? Minimum 2, ideal 3β5. More samples = more accurate profile, especially for dimensions like "signature phrases" and "sentence length distribution."
Can I mix sample types? Yes. Blog posts + emails + tweets all contribute. The profile captures the author's range, not just one register.
Does it work for non-English? The dimensions are language-universal. Tested primarily on English, but the framework applies to any language.
Can I edit the style profile? Absolutely. The JSON is human-readable. Bump up the humor, dial down the formality, change the vocabulary tier β it's your profile to tune.
- code-autopsy β Forensic codebase analysis. 16 diagnostics, health score, complexity heatmap, risk matrix, interactive HTML reports.
MIT β do whatever you want with it.


