/loops:loops-lmxfrom loops
Generates, reviews, and converts LMX (Loops Markup Language) email markup. Handles composing campaigns, lifecycle emails, and migrating from HTML/MJML/Markdown into Loops format.
Ships in loops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill helps write, review, and generate correct LMX email markup for Loops. LMX is an XML-based format: every element is a PascalCase tag, self-closing tags require />, and only the tags in the spec are valid.
Use this skill when the task involves:
When this skill is active:
references/lmx-spec.md for the full tag and attribute reference. It is authoritative; do not invent tags or attributes.references/lmx-design-guidelines.md for Loops design guidelines. Apply these to every document you generate unless the user explicitly overrides a rule.Tag definitions, required/optional attributes, nesting rules, content types, variable syntax, self-closing requirements, or escaping:
Read references/lmx-spec.md
Color contrast, spacing, column rounded corners, Style tag usage, visual hierarchy, or any "how should this look" question:
Read references/lmx-design-guidelines.md
Net-new email design, substantial redesigns, or gpt-image/imagegen references:
Read references/lmx-design-guidelines.md, especially the Net-New Email Design Workflow and Reference-to-Render QA sections. Use the imagegen skill in Codex only when a suitable Loops-native or user-provided reference is not available and the task still needs a visual reference.
Creating campaigns, posting LMX via the API, revision IDs, themes, components, or image uploads:
Use the loops-api skill (HTTP) or loops-cli skill (terminal). This skill covers the LMX document itself.
Subject lines, preview text, sender identity, personalization fallbacks, or deliverability for campaign, lifecycle, or workflow emails:
Use the loops-email-sending-best-practices skill alongside this one.
Use this flow when creating a brand-new campaign, lifecycle, workflow, or transactional email, or when the user asks for a substantial visual redesign.
references/lmx-design-guidelines.md.imagegen/gpt-image reference only when the task still needs visual exploration.Style, Section, Columns, Paragraph, H1, H2, H3, Button, dividers, checklist rows, and simple image placeholders.Section cards, and shared-background Columns where appropriate.{contact.*} for campaigns and workflow emails; {event.*} for workflow emails when the value comes from the triggering event; {data.*} only for transactional emails.references/lmx-design-guidelines.md.loops-email-sending-best-practices skill before calling a campaign, lifecycle, or workflow email done.Before returning any LMX output, verify:
/> (e.g. <Image />, <Divider />, <Br />, <Icon />, <Style />)& as &, < as <, and " in attributes as "src on <Image />, componentId on <Component>, name on <Icon />, and href on <Link><Button href>, <Link href>, <Icon href>, <Image alt/href/dynamicSrc>, <Section href>, and the whole value of <Section if> and <For variable>{contact.apiName}; workflow emails use {contact.apiName} and/or {event.propertyName}; transactional emails use {data.variableName} (not unprefixed {variableName} or {DATA_VARIABLE:...})<For variable="{data.items}"> appears only in transactional emails, has at least one block child, and reads item fields as {data.items[].field}<Section> nests at most one level deep<Button> text has no inline tags, but can contain variables; include href for clickable CTA buttons<CodeBlock> treats braces literally<Style /> appears at most once as a top-level tag; put it first in generated outputthemeId or explicit bodyColor/backgroundColor plus bodyXPadding/bodyYPadding when needed<H1>, <H2>, and <H3> text does not end with a period; question marks or exclamation points are used only when intentional<H1>, only necessary <H2> breaks, and <H3> only for real nested hierarchy<Button> text is concise, action-oriented, and does not end with a period<Section> is used sparingly for callouts, grouped controls, linked groups, or an explicit card-style layout; ordinary body copy is not wrapped into many floating cards by default<Section> siblings are separated with a line-break spacer unless the user explicitly specifies a different section-spacing approachblockColor paragraphs, columns, and sections, are separated with visible vertical space unless they are intentionally one connected card<Columns> has two to four <ColumnItem> children, with widths matching the column count when providedsrc plus dynamicSrc, not variables in src<Icons color> uses one of #000000, #808080, or #ffffff; <Icon> has no color attr{system.company_name}, {system.company_address}, and {system.mailing_list_name} as needed, and {contact.email} only among contact propertiesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
lmx, loops-email, email-markup, email-migration, email-templates
4 skills in this plugin
/loops-apiUse this skill whenever the user wants to integrate Loops from application code, backend services, webhook handlers, or server-side automation. This includes the Loops HTTP API and official SDKs for server-side contact, contact-property, mailing-list, event, API-key-validation, transactional-email, content editing (campaigns, groups, audience segments, email messages, themes, and components), workflow graph/node mutation, metrics, and inbound Loops webhooks. Trigger on phrases like "Loops API", "Loops SDK", "create a campaign via API", "update email message LMX", "create a theme via API", "create a workflow via API", "add a workflow node", "campaign metrics", "workflow group", "Loops webhook", "send a Loops event from my app", "add a contact to Loops in a webhook", "send a transactional email from backend code", or any time the user wants to integrate Loops into their app, backend, webhook, or automation. Do not trigger for CLI or shell-only requests.
/loops-cliUse this skill whenever the user wants to work with the Loops CLI from the terminal. This includes installing the CLI, authenticating, managing API keys, and running commands for contacts, lists, events, transactional email, campaigns, email messages, themes, components, uploads, workflows, groups, metrics, and skill install. Trigger on phrases like "Loops CLI", "loops auth login", "loops campaigns create", "loops campaigns view", "loops campaigns metrics", "loops email-messages update", "loops workflows list", "loops workflow-groups create", "loops transactional send", "loops skill install", "loops agent-context", "brew install loops-so/tap/loops", or any time the user wants to use Loops from the shell instead of application code.
npx claudepluginhub loops-so/skills --plugin loopsOther plugins' skills for the same job