message

Installation
SKILL.md
Contains Hooks

This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.

Message Drafts

Bun-based preview server. Same fragment format, faster launch, nicer preview, auto-opens the browser, minimal Claude roundtrips.

Flow

  1. Write the .fragment.md directly to data/writing/email_drafts/ in ONE Write tool call. Do NOT write the email body inline in your response before the Write call. Compose the draft mentally and write it straight to the file - the preview server renders it.
  2. After the Write tool returns, read the URL the hook wrote:
    cat "${CLAUDE_PROJECT_DIR}/.claude/.message-preview-url" 2>/dev/null
    
  3. Reply with only the preview URL and a one-line summary: Draft ready: email to Stuart re invoice follow-up → http://127.0.0.1:XXXX

The hook has already started the server and opened the browser by the time the Write tool returns. Do NOT run bun run serve.ts yourself. Do NOT call open <url>. Do NOT launch a second server. The browser is already open.

Always relay the preview URL to the user. Read it from .claude/.message-preview-url. If that file is empty or missing, the fragment was still written - point the user at the most recent .html sibling file.

Related skills

More from henkisdabro/wookstar-claude-plugins

Installs
19
GitHub Stars
58
First Seen
Feb 13, 2026