cli-anything-mailchimp
它能做什么
这个技能让 AI 智能体直接访问 Mailchimp 这个邮件营销工具。它帮助营销人员和小企业主管理联系人、邮件和效果数据。
适用场景
- ✓当你想创建、定时或发送一个营销邮件活动给你的联系人名单的时候。
- ✓当你想查看过往邮件的打开率、点击率或退订情况摘要的时候。
- ✓当你需要在 Mailchimp 受众中添加、更新或为订阅者添加标签的时候。
技能链接
https://github.com/HKUDS/CLI-Anything/blob/main/mailchimp/agent-harness/cli_anything/mailchimp/skills/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想查看上一期 Mailchimp 电子报的效果,并看一下打开率。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体使用你的 API 密钥连接你的 Mailchimp 账户,请求列表、营销活动和报告。然后它以清晰的结构化形式返回结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
cli-anything-mailchimp
Identity
An agent-native CLI for the Mailchimp Marketing API v3.0, built on the CLI-Anything framework.
What This CLI Does
- Manage audiences (lists) — create, update, delete lists; add/update/archive members; manage merge fields, segments, tags, and webhooks.
- Run campaigns — create, schedule, send, pause, replicate, and analyse email campaigns.
- Read reports — open rates, click rates, bounce stats, unsubscribes, email activity, geographic data.
- Control automations — create and manage automated email workflows.
- Manage e-commerce — stores, orders, customers, products, carts, and promo codes.
- Use templates, file manager, landing pages, SMS campaigns, surveys, and all other Marketing API resources.
Prerequisites
- Python 3.10+
MAILCHIMP_API_KEYenvironment variable set to your API key (including datacenter suffix, e.g.abc123-us8)
Installation
# From the CLI-Anything repo (once merged):
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=mailchimp/agent-harness
# During development:
cd mailchimp/agent-harness && pip install -e .
Command Reference
Root
| Command | Description |
|---|---|
cli-anything-mailchimp ping |
Health check — confirms API connectivity |
cli-anything-mailchimp root list |
Get account info |
cli-anything-mailchimp --json <cmd> |
Output any command as JSON |
cli-anything-mailchimp |
Launch interactive REPL |
Lists (Audiences)
| Command | Description |
|---|---|
lists list |
List all audiences |
lists get <LIST_ID> |
Get audience info |
lists create --data '<json>' |
Create audience |
lists update <LIST_ID> --data '<json>' |
Update audience |
lists delete <LIST_ID> |
Delete audience |
lists list-lists-id-members <LIST_ID> |
List members |
lists get-lists-id-members-id <LIST_ID> <SUBSCRIBER_HASH> |
Get member by MD5 hash |
lists create-lists-id-members <LIST_ID> --data '<json>' |
Add member |
lists list-lists-id-merge-fields <LIST_ID> |
List merge fields |
lists create-lists-id-merge-fields <LIST_ID> --data '<json>' |
Add merge field |
lists list-lists-id-segments <LIST_ID> |
List segments |
lists list-list-member-tags <LIST_ID> <SUBSCRIBER_HASH> |
List member tags |
lists create-list-member-tags <LIST_ID> <SUBSCRIBER_HASH> --data '<json>' |
Add/remove member tags |
lists list-lists-id-webhooks <LIST_ID> |
List webhooks |
lists create-lists-id-webhooks <LIST_ID> --data '<json>' |
Add webhook |
Campaigns
| Command | Description |
|---|---|
campaigns list |
List campaigns |
campaigns get <CAMPAIGN_ID> |
Get campaign info |
campaigns create --data '<json>' |
Create campaign |
campaigns update <CAMPAIGN_ID> --data '<json>' |
Update campaign settings |
campaigns delete <CAMPAIGN_ID> |
Delete campaign |
campaigns send <CAMPAIGN_ID> |
Send campaign immediately |
campaigns schedule <CAMPAIGN_ID> --data '<json>' |
Schedule campaign |
campaigns cancel-send <CAMPAIGN_ID> |
Cancel scheduled send |
campaigns pause <CAMPAIGN_ID> |
Pause RSS campaign |
campaigns resume <CAMPAIGN_ID> |
Resume RSS campaign |
campaigns replicate <CAMPAIGN_ID> |
Duplicate campaign |
campaigns list-content <CAMPAIGN_ID> |
Get campaign content |
campaigns list-send-checklist <CAMPAIGN_ID> |
Pre-send checklist |
Reports
| Command | Description |
|---|---|
reports list |
List all campaign reports |
reports get <CAMPAIGN_ID> |
Get campaign summary report |
reports list-email-activity <CAMPAIGN_ID> |
Per-subscriber open/click activity |
reports list-click-details <CAMPAIGN_ID> |
Link click breakdown |
reports list-open-details <CAMPAIGN_ID> |
Per-subscriber opens |
reports list-unsubscribed <CAMPAIGN_ID> |
Unsubscribers |
reports list-locations <CAMPAIGN_ID> |
Geographic breakdown |
reports list-domain-performance <CAMPAIGN_ID> |
Per-domain stats |
Automations
| Command | Description |
|---|---|
automations list |
List automations |
automations get <WORKFLOW_ID> |
Get automation info |
automations create --data '<json>' |
Create automation |
automations pause <WORKFLOW_ID> |
Pause automation |
automations start <WORKFLOW_ID> |
Start automation |
automations archive <WORKFLOW_ID> |
Archive automation |
| `automatio |
常见问题
我需要 Mailchimp 账户吗?
需要,你需要自己的 Mailchimp API 密钥,该技能会从你电脑上的设置中读取它。
智能体可以自行发送邮件吗?
该技能包含发送和定时营销活动的功能,所以你要求时它可以执行这些操作。
它也适用于 Mailchimp 在线店铺吗?
适用。该技能还涵盖订单、客户和商品等店铺数据。
详情
作者的原始描述
CLI harness for the Mailchimp Marketing API v3.0 — 303 commands across 30 resource groups (lists, campaigns, reports, automations, ecommerce, templates, and more). Supports JSON output and interactive REPL mode.
repo: HKUDS/CLI-Anything
热度
- GitHub 星标
- 58k
- 排名
- #3222
- 许可证
- Apache-2.0
- 更新时间
- 2026/9/21
评论
- …
同一仓库的更多技能
cli-anything-3mf
58k帮你的智能体检查和修复 3D 打印文件,包括查找圆孔、调整孔径、修复网格,以及比较两个文件。
cli-anything-qgis
58k帮你的智能体在终端中打开、编辑和导出 QGIS 地图项目,包括图层、要素、打印布局和处理工具。
cli-anything-adguardhome
58k帮你的智能体管理 AdGuard Home,这是一款全网络广告拦截器,可管理过滤规则、DNS 重写、客户端和查询日志。
cli-anything-anygen
58k帮你的智能体借助 AnyGen 服务,根据文字提示生成幻灯片、文档、网站和图表。