Skip to content

mblode/ghostwriter

Repository files navigation

Ghostwriter

Draft messages that read as you wrote them. Three skills that run on an authenticated Codex or Claude Code CLI. No API keys, no service, no database. Your writing stays on your machine.

  • ghostwriter drafts, rewrites, and reviews from your private per-platform profile, and strips the tells that mark prose as AI.
  • train-ghostwriter builds those profiles from your own Slack, email, or WhatsApp.
  • evaluate-ghostwriter runs blind comparisons to see if a profile helps.

Quick start

Install all three, then copy the demo voice in:

npx skills add mblode/ghostwriter -g --agent codex claude-code -y
mkdir -p ~/.config/ghostwriter
cp examples/soul.md examples/slack.md ~/.config/ghostwriter/

Now ask your agent:

Use ghostwriter to draft a Slack reply saying I agree and can review the PR tomorrow.

Works right away in the demo voice ("Sam").

Make it yours

Swap the demo files for your own: edit soul.md (your cross-platform core) and slack.md (one platform's register), and add any <platform>.md you need. Or point train-ghostwriter at your samples and it writes them for you. A platform file is required; soul.md is optional.

Private data

Your data lives under GHOSTWRITER_HOME (default ~/.config/ghostwriter): soul.md, your platform profiles, plus corpus/, evals/, and backups/. The bundled scripts make no network requests, but Codex or Claude Code sends any prompt you generate to its model provider.

License

MIT

About

Draft messages that read as you wrote them, not as a model did.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages