# Send Migma to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "migma",
    "name": "Migma",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/AdamSEY/migma",
    "canonicalUrl": "https://clawhub.ai/AdamSEY/migma",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/migma",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=migma",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/workflows.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "migma",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-05T14:24:15.613Z",
      "expiresAt": "2026-05-12T14:24:15.613Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=migma",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=migma",
        "contentDisposition": "attachment; filename=\"migma-1.3.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "migma"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/migma"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/migma",
    "downloadUrl": "https://openagent3.xyz/downloads/migma",
    "agentUrl": "https://openagent3.xyz/skills/migma/agent",
    "manifestUrl": "https://openagent3.xyz/skills/migma/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/migma/agent.md"
  }
}
```
## Documentation

### Migma

Create and send professional, on-brand emails with AI. Your agent can design emails from a prompt, send them instantly through a managed domain, and manage an entire audience — all from the terminal.

Always pass --json for structured output.

### First-time setup

If the user hasn't set up yet, run these steps once:

# 1. Create an instant sending domain (no DNS needed)
migma domains managed create <companyname> --json
# → Sends from: hello@<companyname>.migma.email

# 2. Set a default project (brand)
migma projects list --json
migma projects use <projectId>

### Create an email

When the user asks to create, design, or generate an email:

migma generate "Welcome email for new subscribers" --wait --json

The --wait flag blocks until the AI finishes. The JSON response includes conversationId, subject, and html.

To save the HTML locally, add --save ./email.html. To include a reference image (screenshot, design mockup), add --image <url>.

### Send an email

When the user asks to send an email to someone:

# Send a generated email directly
migma send --to sarah@example.com --subject "Welcome!" \\
  --from-conversation <conversationId> \\
  --from hello@company.migma.email --from-name "Company" --json

# Or send from a local HTML file
migma send --to sarah@example.com --subject "Hello" \\
  --html ./email.html \\
  --from hello@company.migma.email --from-name "Company" --json

# Send to an entire segment or tag
migma send --segment <id> --subject "Big News" --html ./email.html \\
  --from hello@company.migma.email --from-name "Company" --json

# Personalize with template variables
migma send --to user@example.com --subject "Hi {{name}}" --html ./email.html \\
  --from hello@company.migma.email --from-name "Company" \\
  --var name=Sarah --var discount=20 --json

--from-conversation auto-exports the HTML from a generated email — no separate export step.

### Validate an email

When the user wants to check an email before sending:

migma validate all --html ./email.html --json
migma validate all --conversation <conversationId> --json

Returns an overall score plus individual checks: compatibility (30+ email clients), broken links, spelling/grammar, and deliverability/spam score. Individual checks: migma validate compatibility, links, spelling, deliverability.

### Export to platforms

When the user wants to export to an ESP or download a file:

migma export html <conversationId> --output ./email.html
migma export klaviyo <conversationId> --json
migma export mailchimp <conversationId> --json
migma export hubspot <conversationId> --json
migma export pdf <conversationId> --json
migma export mjml <conversationId> --json

### Manage contacts

migma contacts add --email user@example.com --firstName John --json
migma contacts list --json
migma contacts import ./contacts.csv --json
migma contacts remove <id> --json

### Manage tags and segments

migma tags create --name "VIP" --json
migma tags list --json
migma segments create --name "Active Users" --description "..." --json
migma segments list --json

### Import a brand

When the user wants to set up a new brand from their website:

migma projects import https://yourbrand.com --wait --json
migma projects use <projectId>

This fetches logos, colors, fonts, and brand voice automatically.

### Error handling

On error, --json returns:

{"error": {"message": "Not found", "code": "not_found", "statusCode": 404}}
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: AdamSEY
- Version: 1.3.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-05T14:24:15.613Z
- Expires at: 2026-05-12T14:24:15.613Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/migma)
- [Send to Agent page](https://openagent3.xyz/skills/migma/agent)
- [JSON manifest](https://openagent3.xyz/skills/migma/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/migma/agent.md)
- [Download page](https://openagent3.xyz/downloads/migma)