Render a quote as a shareable image
quote_cardRenders a Sun Tzu verse as a PNG quote card, copies it to the clipboard for pasting into Slack or docs. Match by situation or citation.
Instructions
Renders one verse as a PNG quote card on a Sun Tzu themed background, writes it to a temp file and puts it on the clipboard (macOS), ready to paste into Slack or a doc. Pass either a situation to match, or verse with a citation ref like "X.14" or "10.14" to card a verse you already picked. Returns the file path as text, never the image itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Pixel density. 1 is 1200x630, default 2 for a sharp paste. | |
| verse | No | Citation ref of a specific verse, e.g. "X.14" or "10.14". | |
| caption | No | Short framing line set in italics above the verse, e.g. 'On being told "good job"'. Written for a reader, not the raw `situation` query. One line, shrunk then clipped to fit. Omit for a bare quote card. | |
| situation | No | Situation to match. The best-matching verse gets carded. Ignored if `verse` is set. |