format-teams-message
Installation
SKILL.md
Format Teams Message
Draft a message in Magnus's voice, format it as Markdown for Microsoft Teams, and copy it to the macOS clipboard as HTML.
Teams does not parse Markdown on paste. Pasting plain Markdown leaves the raw characters (**, >, `, etc.) visible. To get real formatting, HTML must be placed on the macOS clipboard under the public.html flavor. Teams reads that flavor on paste and renders it.
Workflow
- Draft the message in Magnus's voice. Run the content through the
write-in-my-voiceskill so it reads like he wrote it, not like an AI drafted it (see "Composing the message" below). Skip only if the user pasted final text they want verbatim. - Append the AI-disclosure footer (see "AI-disclosure footer" below) as the last line.
- Ensure the result is valid Markdown. Adjust if the input has obvious mistakes that would break the HTML conversion.
- Convert Markdown → HTML using
pandoc. - Place the HTML on the clipboard using
osascriptwith the AppKit framework. - Confirm the copy and remind the user to paste into Teams.
Composing the message
Teams messages are outward-facing first-person text, so they go through write-in-my-voice (Norwegian or English, register auto-selected). On top of that skill's rules, lean into these for Teams specifically: