Skip to main content
Migma skills let AI coding assistants create, update, test, send, and schedule emails with Migma. They can also set up Migma inside an existing app by auditing current email triggers, creating the missing Migma emails, and wiring safe backend sends. For OpenClaw, see the dedicated OpenClaw page. For the short app-wiring guide, see /setup.

Guided agent install

Install paths for supported editors and agents

Natural language

Ask your agent to handle transactional emails and campaigns

Full API access

Create, edit, send, campaign, and manage contacts

Installation

Use the skills CLI when it is available for your agent:
Install script
This works with Claude Code, Cursor, Codex, OpenCode, and 35+ other agents.

Install to a specific agent

Install one workflow

Install globally (all projects)

Install as a plugin

Add the marketplace once, then install the Migma plugin in your agent.

Claude Code

Codex

Cursor

Open Settings, go to Plugins, paste https://github.com/MigmaAI/migma-skills, then install Migma.
Browse the skill source on GitHub or install it with npx skills add MigmaAI/migma-skills --skill migma.

Configuration

API key

After migma login, the CLI stores a key. Local MCP reads that file, or you can set:
CI and servers use MIGMA_API_KEY. Do not send agents to Settings to copy a key.
No key yet? Connect https://migma.ai/mcp, run migma login, or fetch https://api.migma.ai/auth.md and approve a one-time code. See Agent registration.

Default project

Optionally set a default project ID so you don’t have to specify it every time:

Features

Capabilities covered by the migma skill: Fetch generated emails by emailId to retrieve HTML, subject, preheader, screenshot URLs, and email IDs for single emails or series.

Example usage

Once installed, ask your AI agent things like:
  • “Generate a welcome email for new subscribers”
  • “Create a three-email onboarding series and show each email ID”
  • “Make the welcome email shorter and more transactional”
  • “Send that email to sarah@example.com
  • “Generate a product launch email and send it to the Newsletter segment”
  • “Validate the email for compatibility issues”
  • “Import my brand from https://yourbrand.com
  • “Create a managed sending domain called mycompany”
  • “List all my contacts tagged VIP”
  • “Check the spam score of my email”
  • “Export my email for Klaviyo”

Resources

OpenClaw

Use Migma from WhatsApp, Telegram, Discord

MCP

Connect Cursor, Codex, Claude, and other agents to Migma

CLI

Migma CLI reference

SDK

Node.js SDK

API Reference

Full endpoint docs

Discord

Get help from the community