Free, open-source agent skill

One request in. A Klaviyo-ready email out.

Margarita is the email skill we use for client work, now free for everyone. Give your agent a brand link, a folder of photos and your colors. It reads the brand, writes the copy, builds the HTML and checks it before you see it.

See the before and after Get the skill free

Before and after

Drag the line: what the agent got, and what it gave back

  • Subjects A and B, plus preview text
  • Copy in the brand's voice
  • HTML for Gmail, Outlook and dark mode
  • A Klaviyo import zip with the images
npx skills add yenderfonseca/margarita

Get the skill free View on GitHub

After: the finished Hearth Field launch email in the style Editorial Minimal
You give itYou get
Same brief, another styleEditorial Minimal

Hearth Field is a fictional demo brand. Photos from Unsplash.

What is inside

An email designer that already knows your niche

Built on a library of 1,127 real emails from top DTC brands: which blocks they open with, how their subject lines read, how long their flows run. That method is packed into the skill so every email starts from what works.

13
visual styles, from quiet luxury to bold retail
31
email blocks that stack on phones
56
niches with their own style and compliance rules
21
occasion and flow presets, from Black Friday to winback
8
Klaviyo popup designs with build sheets
How it works

You ask once. It reads, decides, writes and checks.

Reads the brand

It fetches the site, takes the voice from real sentences, finds the fonts and the products, and maps your colors to text, buttons and backgrounds with contrast checks. Anything it had to guess is listed for you to confirm.

Designs the email

It picks the occasion, the audience and the style that fits your niche, then writes two subject lines, preview text and copy that sounds like the brand. One idea and one button per email.

Checks before you see it

Klaviyo tags, legal footer, palette, dark mode, Outlook buttons, images-off reading, orphan words and spam phrases are checked in a real browser at desktop and phone widths.

Built to pass

Every email is checked before you ever open it

Two built-in tools lint the HTML and render it in a real browser. An email that fails does not get delivered.

Klaviyo-correct tags

Unsubscribe, preferences, web view and address tags in the forms Klaviyo documents. Every name has a fallback.

Facts only

Prices, offers, reviews and policies come from the brand. Each claim is listed with its source.

Your palette, locked

Every color in the HTML is one of yours or a mix of two of them. Contrast is checked automatically.

Works in every inbox

Table layout, bulletproof Outlook buttons, dark mode, phone stacking and under Gmail's clipping limit.

Readable with images off

Headlines and offers are live text, and every photo has descriptive alt text.

No orphan words

Measured line by line at desktop and phone widths, so no heading ends on a lonely word.

No spam habits

Stacked exclamation points, filler and spam-trigger phrases are flagged before they ship.

Niche compliance

Alcohol, supplements, CBD, finance and kids get the claims rules their category needs.

Free

Get Margarita Email Designer

Subscribe to the Margarita Creative Newsletter. The download link, a ready-to-upload .zip, arrives in the first email.

One email a week at most. Unsubscribe in one click.

Install in one line, in any agent

  1. Any agent: one command links Margarita into Claude Code, Antigravity, Cursor and others. npx skills add yenderfonseca/margarita
  2. Claude on the web or desktop: subscribe here, open the first email for the zip, then upload it in Customize, Skills, +, Create skill, Upload a skill.
  3. Claude Code: git clone https://github.com/yenderfonseca/margarita ~/.claude/skills/margarita
  4. Google Antigravity: git clone https://github.com/yenderfonseca/margarita ~/.gemini/config/skills/margarita

Every step, the command line and the Klaviyo import are in the Margarita docs.

New to skills? Read what Claude Skills are and how to install one.

Questions

Does it send emails or connect to my Klaviyo account?

No. It builds the files: email HTML, an import zip with your images, subject lines and notes. You import the template into Klaviyo and send it from there, so nothing reaches your list without you.

What if my site is down or I only have a logo?

It still delivers. It works from what you give it, uses text-led layouts when there are no photos, and lists every brand element it had to infer so you can check it.

Will it make up a discount or a review?

No. Offers, codes, prices, reviews, deadlines and stock claims only come from your site or your brief, and every claim is listed with where it came from.

Which colors does it use?

Only yours. Give it three (background, text and accent) and it derives the rest by mixing them, with contrast checked for every pair.

Does it work for flows, not just campaigns?

Yes. Welcome, abandoned checkout, browse abandonment, post-purchase and winback are built in, email by email, with timing and Klaviyo event tags.

Is it really free?

Yes. It is open source under the MIT license: use it for your own brand, your clients or your own tools. The code is on GitHub, and the docs explain every step.

Example brands are fictional demos. Photos from Unsplash by Charles Givens, Claire Abdo, Daniel Romero, Darío Méndez, Gage Walker, Hannah Smith, JC Gellidon, Jaelynn Castillo, Jhong Estacio, Kabo, Lee Campbell, Mariia Berezovsky, Matthew Moloney, Nadia Valko, NutraSeller Manufacturing, PRAHANT STUDIO, Ryan Ashby, Stephan Koning, Tobias Tullius, With Mahdy and pmv chamara.