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 theskills CLI when it is available for your agent:
Install script
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.Configuration
API key
Set your Migma API key as an environment variable:Default project
Optionally set a default project ID so you don’t have to specify it every time:Features
The official Migma skills cover two main workflows:App setup
Usesetup when an agent needs to install or wire Migma into an existing app. It audits the app’s current emails, templates, campaigns, transactional sends, lifecycle jobs, and backend triggers, then creates or reuses Migma emails and stores the resulting emailId values for safe server-side sends.
Daily Migma work
Usemigma when the agent is already working in Migma: creating, editing, testing, sending, scheduling, validating, exporting, or managing contacts.
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 finished HTML, screenshots, and email IDs for single emails or series.Prompt editing
Update a generated email with natural language. The agent uses the returnedemailId, asks Migma to revise that email, and returns updated HTML and screenshots. For a series, the agent picks the correct result.emails[].emailId, edits that one email, then can fetch the same emailId again to verify the saved result.
Fetch generated emails
Get any generated email byemailId to retrieve production HTML, subject, preheader, and screenshot URLs. This works for single emails and each slot in a generated series.
Instant sending
Send generated emails through Migma’s managed domains — no DNS setup required. Create a sending domain with a single command, test-send withemailId, then send to one recipient, tag, or segment. You can also connect external providers like Amazon SES or Resend.
| Capability | How the skill handles it |
|---|---|
| Generate one email | migma generate "..." --wait --json |
| Generate a series | migma generate "..." --count 3 --wait --json |
| Get generated email HTML | migma emails get <emailId> --output ./email.html --json |
| Prompt-edit an email | migma emails edit <emailId> --prompt "..." --output ./email.html --json |
| Send a test | migma send-test --email <emailId> --to test@example.com --json |
| Send selected email | migma send --email <emailId> --to user@example.com --subject "Welcome" --from hello@brand.migma.email --from-name "Brand" --json |
| Send marketing campaign | migma campaigns create --name "Launch" --conversation <conversationId> --email <emailId> --from hello@brand.migma.email --from-name "Brand" --recipient-type tag --recipient-id <tagId> --json |
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.Marketing campaigns
Create named marketing campaigns from generated emails, send to a tag or segment, schedule for later, and track campaign status. For a series, the agent uses the exactemailId for the email you want to campaign.
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”
- “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 Server
Connect to Claude Desktop, Cursor
CLI
Migma CLI reference
SDK
Node.js SDK
API Reference
Full endpoint docs
Discord
Get help from the community