masluny

Write As Me — AI skill for Claude Code

AI community

Turn your writing samples into an AI skill that drafts in your voice - Claude Code / Claude app / Codex, with an objective style scorer.

How to install Write As Me

This entry records only its repository, not the path inside it, so there is no exact command to give. Open masluny/write-as-me and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Write As Me does

Turn your writing samples into an AI skill that drafts in your voice - Claude Code / Claude app / Codex, with an objective style scorer.

Alternatives in AI

  • Academic Humanizer — Strip AI-writing tells from papers and grant proposals (NSF/NIH), while keeping scholarly voice and tying clai 1.1k ★
  • Academic Writing Skills — AI-powered post-writing toolkit for academic papers — format validation, grammar/style polishing, de-AI editin 430 ★
  • Vox AI Motion Graphics Generator — 🎬 Turn any topic into a finished Vox-style paper-collage explainer / motion graphics video — script, collage 202 ★

README

write-as-me

Turn your own writing into an AI **skill** that drafts new text in *your* voice — with an objective stylometric scorer that grades every draft and a write → score → revise loop your agent runs until the text actually reads like you. Works with **Claude Code**, **claude.ai / the Claude app** (skill or plugin upload), and any agent that reads Agent Skills — **OpenAI Codex**, GitHub Copilot, Cursor, OpenCode, Goose — with an AGENTS.md fallback.

No fine-tuning, no API keys, no cloud: your samples never leave your machine. The LLM you already use (Claude / Codex) does the writing; a small pure-Python scorer does the measuring.

How it works

samples/            your real writing (.txt/.md/.pdf/.docx) — gitignored
   │ corpus_ingest.py
   ▼
build/corpus.jsonl  verbatim text + genre tags
   │ analyze.py
   ▼
build/profile.json  your fingerprint: 60+ stylometric features (means ± std)
                    + auto-derived signature phrases
   │ eval.py --write-calibration   (your writing vs AI impostors -> pass target)
   │ make_skill.py         (+ STYLE.md, authored by your AI from your samples)
   ▼
dist//        ready-to-install skill for Claude Code / Claude app / Codex …

At drafting time the skill makes your agent: read `STYLE.md` → mirror real samples of the same genre → write `draft.md` → run `score.py` (0–100 + ranked, actionable notes like *"sentences too uniform"* or *"AI-tell vocabulary: 'pivotal'"*, each quoting the sentences to change) → revise → keep the best pass → stop when it passes or stops improving (max 4 passes).

Quickstart

git clone  && cd write-as-me
pip install pymupdf python-docx pyspellchecker   # all optional: pdf, docx, spelling-quirk feature

# 1. add your writing
cp ~/my_old_essays/* samples/        # 8+ pieces; name files with genre keywords
                                     # (email/essay/report/article/blog/answer)

# 2. build your fingerprint
python3 tools/corpus_ingest.py
python3 to