plugins/message/skills/message/SKILL.md
Create and edit rich text message drafts for Gmail, Outlook, and WhatsApp with live browser preview. Runs on Bun for near-instant cold start and opens the preview automatically. Use when writing emails, drafting emails, composing replies, sending messages, writing WhatsApp messages, or when user mentions Gmail, Outlook, WhatsApp, "email to", "reply to", "draft an email", "write an email", "send a message". Do NOT use for reading emails, managing contacts, or calendar invitations.
npx skillsauth add henkisdabro/wookstar-claude-plugins messageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Bun-based preview server. Same fragment format, faster launch, nicer preview, auto-opens the browser, minimal Claude roundtrips.
.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.cat "${CLAUDE_PROJECT_DIR}/.claude/.message-preview-url" 2>/dev/null
Draft ready: email to Stuart re invoice follow-up → http://127.0.0.1:XXXXThe 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.
On revision ("make it shorter", "change the tone"): use Read to load the fragment, Edit to apply changes. The server hot-reloads in <100 ms via WebSocket. Do not echo the revised body - just confirm the change and include the same URL. Do NOT start a new server — the existing one is still running.
Multiple concurrent drafts are fully supported. Each fragment gets its own server on its own port. All servers stay alive until the machine reboots. To find the URL for any previously opened draft, run:
python3 -c "
import json, sys
d = json.load(open('${CLAUDE_PROJECT_DIR}/.claude/.message-previews.json'))
print(d.get(sys.argv[1], 'not found'))
" "/absolute/path/to/draft.fragment.md"
Markdown with YAML frontmatter, same as /message v1.
---
to: [email protected]
subject: Subject line
cc: optional
bcc: optional
---
Body content in Markdown. Supports bold, italic, ~~strikethrough~~, headings, lists, blockquotes, code, tables, links. Embed raw HTML where Markdown falls short.
Required: to, subject. Do not use horizontal rules - they render poorly in email clients.
When using tables, ALWAYS provide meaningful header names in the first row. Markdown's pipe-table syntax accepts blank headers (| | |) but the rendered output then shows a styled header row with no labels - confusing and unprofessional.
GOOD:
| Item | Amount |
|---|--:|
| Salary | $146,838.94 |
BAD - blank header row:
| | |
|---|--:|
| Salary | $146,838.94 |
If a table truly has no natural header, use descriptive labels like Item / Amount, Field / Value, Category / Notes. Header cells render with a light grey background (#f5f5f5) by default in both Gmail and Outlook to differentiate them from data rows.
data/writing/email_drafts/YYYY-MM-DD_recipient_subject.fragment.md
data/writing/email_drafts/YYYY-MM-DD_recipient_subject.html # generated
The browser preview shows three tabs (Gmail / Outlook / WhatsApp) with keyboard shortcuts:
Features: dark-mode aware, live WebSocket hot reload (<100 ms), mobile-responsive, copy buttons use the Clipboard API's HTML MIME type so paste into Gmail/Outlook preserves formatting as a single clean operation. Word and character counts update per tab. Build errors render as a red overlay with the exact message instead of a silent failure.
Edit the .fragment.md file. The server watches it via fs.watch and pushes a reload over WebSocket. No Bash command, no polling, no manual refresh. Latency from save to visible update: typically under 100 ms.
MESSAGE_NO_OPEN=1 - skip auto-opening the browser (useful in headless contexts)Match the recipient's formality. British English (colour, analyse, organise, behaviour, centre).
Customise these for the user's context:
[email protected]Best,\n[Your Name]Once the user has the preview URL, ask: "Would you like me to run the humanise skill on this draft to make it sound more natural?"
After a client-facing draft, prompt the user if they'd like to log this to a comms log or trigger any downstream actions in their project.
references/formatting-rules.md - Gmail native HTML element reference (copied from v1)references/outlook-formatting.md - Outlook element styles and colour palette (copied from v1)Code lives in ${CLAUDE_PLUGIN_ROOT}/skills/message/scripts/. Run tests: cd .claude/skills/message && ~/.bun/bin/bun test. Build-only without serving: ~/.bun/bin/bun run scripts/serve.ts <fragment> --build-only.
Works on macOS, Linux, WSL2 (Ubuntu), and native Windows (PowerShell). The hook is auto-serve-fragment.ts and runs under Bun on all platforms — bun must be on PATH. Browser opening: open on macOS, xdg-open on Linux, cmd.exe /c start on WSL2 (opens the Windows host browser via shared localhost), cmd /c start on Windows.
testing
Identifies and removes AI writing patterns to make text sound natural and human-written. Use when user says "humanise this", "make this sound less AI", "this reads like a robot wrote it", "de-AI this text", "remove AI patterns", "make this more natural", "clean up this AI-generated text". Detects and fixes 29 patterns based on Wikipedia's "Signs of AI writing" guide - inflated language, promotional tone, AI vocabulary, em dash overuse, filler phrases, sycophantic tone, placeholder text, formulaic structure, thematic breaks. Do NOT use for grammar-only proofreading, spell checking, or rewriting text that is already clearly human-written.
tools
Fast, zero-AI text extraction from PDFs that have a text layer (digitally created PDFs from Word, Typst, WeasyPrint, wkhtmltopdf, LaTeX, etc). Uses pymupdf (fitz) - instant and deterministic. Use when you need to quickly pull raw text from a known text-layer PDF, e.g. "extract text from this PDF", "read this PDF", "get the content of", "what does this PDF say", "quickly read this PDF". Do NOT use for scanned/image PDFs or when you need structured output (tables, headings, OCR, AI analysis) - use the pdf-processing-pro skill in this plugin for those cases.
tools
Get current time in any timezone and convert times between timezones. Use when working with time, dates, timezones, scheduling across regions, "what time is it in X", "convert 3pm Sydney to London", DST checks, or when the user mentions specific cities/regions for time queries. Supports IANA timezone names. Do NOT use for date arithmetic (adding days/months), recurring event scheduling, business-day calculations, or full calendar/booking logic - those need a dedicated date library or scheduling tool.
tools
Complete Shopify development reference for Liquid templating, theme development (OS 2.0), GraphQL Admin API, Storefront API, custom app development, Shopify Functions, Hydrogen, performance optimisation, and debugging. Use when working with .liquid files, creating theme sections and blocks, writing GraphQL queries or mutations for Shopify, building Shopify apps with CLI and Polaris, implementing cart operations via Ajax API, optimising Core Web Vitals for Shopify stores, debugging Liquid or API errors, configuring settings_schema.json, accessing Shopify objects (product, collection, cart, customer), using Liquid filters, creating app extensions, working with webhooks, migrating from Scripts to Functions, or building headless storefronts with Hydrogen and React Router 7. Covers API version 2026-01. Do NOT use for WooCommerce, Magento, BigCommerce, or other non-Shopify e-commerce platforms.