openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Migma

Generate, send, validate, and export AI-powered emails from the terminal; manage contacts, segments, tags, domains, and webhooks with Migma CLI.

通信与消息

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.3.0

统计:⭐ 0 · 526 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:adamsey/migma

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill is internally consistent with an email CLI: it requires the migma binary and a single MIGMA_API_KEY, and its instructions only use the CLI to generate, validate, export, and send email content (including importing local CSVs) — nothing appears to be requesting unrelated secrets or privileged system access.

目的

Name/description, required binary (migma), required env var (MIGMA_API_KEY), and the declared Node install (@migma/cli) all align with an email/marketing CLI. The commands in SKILL.md (generate, send, validate, export, contacts) match the stated purpose.

说明范围

The instructions are limited to running the migma CLI and operating on files the user explicitly passes (HTML, CSV). This is within scope, but the agent will transmit user data (contacts, HTML, and any imported website content when 'projects import' is used) to Migma's service — which is expected behavior for an email service but worth noting for privacy.

安装机制

Installation is via an npm package (@migma/cli) that creates the migma binary. Using npm for a CLI is reasonable, but npm packages can run lifecycle scripts and execute code on install; verify package provenance, version, and integrity (npm registry page, package maintainers, checksums) before installing in sensitive environments.

证书

Only one environment variable (MIGMA_API_KEY) is required and listed as the primary credential — appropriate for a remote email service. Remember this key grants the ability to send emails and manage contacts/domains via the service, so treat it as highly sensitive and prefer scoped/service-account keys if available.

持久

The skill does not request always:true, no system config paths are required, and it doesn’t attempt to modify other skills or global agent settings. It is user-invocable and can be run autonomously by the agent (default) — normal for skills, but be mindful of autonomous runs if you don't want the agent sending emails without approval.

综合结论

This skill appears to do what it says: it calls a migma CLI and uses a single API key. Before installing: 1) verify the npm package @migma/cli on the official npm/GitHub page and confirm the maintainer and version; 2) treat MIGMA_API_KEY as a high-privilege secret (it can send email and modify contact lists); preferably use a scoped or test API key, not a production key; 3) be aware that importing CSVs or using 'projects import' will upload lo…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Migma」。简介:Generate, send, validate, and export AI-powered emails from the terminal; manag…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/adamsey/migma/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: migma
description: Generate, send, validate, and export AI-powered emails from the terminal; manage contacts, segments, tags, domains, and webhooks with Migma CLI.
metadata:
  openclaw:
    requires:
      env:
        - MIGMA_API_KEY
      bins:
        - migma
    primaryEnv: MIGMA_API_KEY
    emoji: "u2709"
    homepage: https://migma.ai
    install:
      - kind: node
        package: "@migma/cli"
        bins: [migma]
---

# 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:

```bash
# 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:

```bash
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:

```bash
# 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:

```bash
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:

```bash
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

```bash
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

```bash
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:

```bash
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:

```json
{"error": {"message": "Not found", "code": "not_found", "statusCode": 404}}
```