Skip to main content
The Migma skill gives AI coding assistants — Claude Code, Cursor, Codex, and others — the ability to generate, send, validate, and export emails using natural language. For OpenClaw, see the dedicated OpenClaw page.

One command install

Add Migma to your editor in seconds

Natural language

Ask your agent to create and send emails

Full API access

Generate, send, validate, export, and manage contacts

Installation

Install with the skills CLI — it auto-detects your coding agents:
npx skills add MigmaAI/migma-skills
This works with Claude Code, Cursor, Codex, OpenCode, and 35+ other agents.

Install to a specific agent

npx skills add MigmaAI/migma-skills -a claude-code
npx skills add MigmaAI/migma-skills -a cursor
npx skills add MigmaAI/migma-skills -a codex

Install globally (all projects)

npx skills add MigmaAI/migma-skills -g
Browse the skill on skills.sh or view the source on GitHub.

Configuration

API key

Set your Migma API key as an environment variable:
export MIGMA_API_KEY=sk_live_your_key_here
Get your API key from Settings → API Keys.

Default project

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

Features

The official Migma skill exposes the full platform to your AI agent:

AI email generation

Generate production-ready, on-brand emails from a text prompt. The agent handles the full workflow — calling the API, waiting for generation, and returning the finished HTML.

Instant sending

Send emails through Migma’s managed domains — no DNS setup required. Create a sending domain with a single command and start sending immediately. You can also connect external providers like Amazon SES or Resend.

Validation

Run preflight checks before sending: compatibility across 30+ email clients, broken link detection, AI-powered spelling and grammar, and spam score analysis.

Audience management

Create, list, update, and delete contacts. Bulk import from CSV. Organize contacts with tags and segments.

Batch campaigns

Send to an entire tag, segment, or your full audience in one command. Track delivery progress with batch status.

Platform export

Export generated emails to Klaviyo, Mailchimp, HubSpot, HTML, MJML, and PDF — ready to use in your existing tools.

Brand import

Import your brand identity (colors, fonts, logos, tone of voice) from any website URL. The agent can set up a new brand in seconds.

Example usage

Once installed, ask your AI agent things like:
  • “Generate a welcome email for new subscribers”
  • “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