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
| Skill | What the agent can do |
|---|---|
setup | Audit an existing app’s email triggers, create or reuse Migma emails, store emailId values, wire safe server-side sends |
migma | Generate, edit, test, send, schedule, validate, export, and manage contacts in Migma |
migma skill:
Fetch generated emails by emailId to retrieve HTML, subject, preheader, screenshot URLs, and email IDs for single emails or series.
| Capability | CLI command used |
|---|---|
| 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 |
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