Communitygithub.com

cli-anything-mailchimp

Mailchimp 마케팅 API v3.0을 위한 CLI 도구 모음입니다. 30개의 리소스 그룹(목록, 캠페인, 보고서, 자동화, 전자상거래, 템플릿 등)에 걸쳐 303개의 명령어를 제공하며, JSON 출력 및 대화형 REPL 모드를 지원합니다.

cli-anything-mailchimp란 무엇인가요?

cli-anything-mailchimp는 [CLI-Anything](https://github.com/HKUDS/CLI-Anything) 프레임워크를 기반으로 구축된 Mailchimp 마케팅 API v3.0을 위한 에이전트 네이티브 CLI입니다. 이 도구는 대규모 명령어 세트를 통해 Mailchimp의 거의 모든 기능을 AI 에이전트(예: Claude Code, Cursor, Codex)가 직접 제어할 수 있도록 해줍니다. 주요 기능으로는 잠재 고객 목록(오디언스) 관리, 캠페인 생성 및 전송, 상세 보고서 조회, 자동화 워크플로우 구성, 전자상거래 데이터(스토어, 주문, 제품, 고객) 관리, 템플릿, 랜딩 페이지, SMS 캠페인, 설문조사 등이 포함됩니다. 모든 명령어는 `--json` 플래그를 지원하여 구조화된 JSON 출력을 제공하며, `jq`와 같은 도구와 파이프라인을 구성하기 쉽습니다. 또한 인수 없이 실행하면 대화형 REPL 모드로 진입하여 명령어를 탐색하고 테스트할 수 있습니다. 환경 변수 `MAILCHIMP_API_KEY`만 설정하면 즉시 사용 가능하며, Python 3.10 이상이 필요합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-mailchimp

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

cli-anything-mailchimp은(는) 무엇을 하나요?

정체성

CLI-Anything 프레임워크를 기반으로 구축된 Mailchimp 마케팅 API v3.0을 위한 에이전트 네이티브 CLI입니다.

이 CLI가 하는 일

  • 잠재 고객 (목록) 관리 — 목록 생성, 업데이트, 삭제; 회원 추가/업데이트/보관; 병합 필드, 세그먼트, 태그, 웹훅 관리.
  • 캠페인 실행 — 이메일 캠페인 생성, 예약, 전송, 일시 중지, 복제 및 분석.
  • 보고서 읽기 — 열람률, 클릭률, 반송 통계, 수신 거부, 이메일 활동, 지리적 데이터.
  • 자동화 제어 — 자동화된 이메일 워크플로우 생성 및 관리.
  • 전자상거래 관리 — 스토어, 주문, 고객, 제품, 장바구니, 프로모션 코드.
  • 템플릿, 파일 관리자, 랜딩 페이지, SMS 캠페인, 설문조사 및 기타 모든 마케팅 API 리소스 사용.

사전 요구 사항

  • Python 3.10+
  • MAILCHIMP_API_KEY 환경 변수가 API 키(데이터센터 접미사 포함, 예: abc123-us8)로 설정되어 있어야 함.

설치

# CLI-Anything 저장소에서 (병합 후):
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=mailchimp/agent-harness

# 개발 중:
cd mailchimp/agent-harness && pip install -e .

명령어 참조

루트

명령어설명
cli-anything-mailchimp ping상태 확인 — API 연결 확인
cli-anything-mailchimp root list계정 정보 가져오기
cli-anything-mailchimp --json <cmd>모든 명령어를 JSON으로 출력
cli-anything-mailchimp대화형 REPL 실행

목록 (잠재 고객)

명령어설명
lists list모든 잠재 고객 목록 표시
lists get <LIST_ID>잠재 고객 정보 가져오기
lists create --data '<json>'잠재 고객 생성
lists update <LIST_ID> --data '<json>'잠재 고객 업데이트
lists delete <LIST_ID>잠재 고객 삭제
lists list-lists-id-members <LIST_ID>회원 목록 표시
lists get-lists-id-members-id <LIST_ID> <SUBSCRIBER_HASH>MD5 해시로 회원 조회
lists create-lists-id-members <LIST_ID> --data '<json>'회원 추가
lists list-lists-id-merge-fields <LIST_ID>병합 필드 목록 표시
lists create-lists-id-merge-fields <LIST_ID> --data '<json>'병합 필드 추가
lists list-lists-id-segments <LIST_ID>세그먼트 목록 표시
lists list-list-member-tags <LIST_ID> <SUBSCRIBER_HASH>회원 태그 목록 표시
lists create-list-member-tags <LIST_ID> <SUBSCRIBER_HASH> --data '<json>'회원 태그 추가/제거
lists list-lists-id-webhooks <LIST_ID>웹훅 목록 표시
lists create-lists-id-webhooks <LIST_ID> --data '<json>'웹훅 추가

캠페인

명령어설명
campaigns list캠페인 목록 표시
campaigns get <CAMPAIGN_ID>캠페인 정보 가져오기
campaigns create --data '<json>'캠페인 생성
campaigns update <CAMPAIGN_ID> --data '<json>'캠페인 설정 업데이트
campaigns delete <CAMPAIGN_ID>캠페인 삭제
campaigns send <CAMPAIGN_ID>캠페인 즉시 전송
campaigns schedule <CAMPAIGN_ID> --data '<json>'캠페인 예약
campaigns cancel-send <CAMPAIGN_ID>예약 전송 취소
campaigns pause <CAMPAIGN_ID>RSS 캠페인 일시 중지
campaigns resume <CAMPAIGN_ID>RSS 캠페인 재개
campaigns replicate <CAMPAIGN_ID>캠페인 복제
campaigns list-content <CAMPAIGN_ID>캠페인 콘텐츠 가져오기
campaigns list-send-checklist <CAMPAIGN_ID>전송 전 체크리스트

보고서

명령어설명
reports list모든 캠페인 보고서 목록 표시
reports get <CAMPAIGN_ID>캠페인 요약 보고서 가져오기
reports list-email-activity <CAMPAIGN_ID>구독자별 열람/클릭 활동
reports list-click-details <CAMPAIGN_ID>링크 클릭 분석
reports list-open-details <CAMPAIGN_ID>구독자별 열람
reports list-unsubscribed <CAMPAIGN_ID>수신 거부자
reports list-locations <CAMPAIGN_ID>지역별 분석
reports list-domain-performance <CAMPAIGN_ID>도메인별 통계

자동화

명령어설명
automations list자동화 목록 표시
automations get <WORKFLOW_ID>자동화 정보 가져오기
automations create --data '<json>'자동화 생성
automations pause <WORKFLOW_ID>자동화 일시 중지
automations start <WORKFLOW_ID>자동화 시작
automations archive <WORKFLOW_ID>자동화 보관
automations list-emails <WORKFLOW_ID>자동화 이메일 목록 표시

전자상거래

명령어설명
ecommerce list-ecommerce-stores스토어 목록 표시
ecommerce get <STORE_ID>스토어 정보 가져오기
ecommerce create --data '<json>'스토어 추가
ecommerce list-ecommerce-stores-id-orders <STORE_ID>주문 목록 표시
ecommerce list-ecommerce-stores-id-products <STORE_ID>제품 목록 표시
ecommerce list-ecommerce-stores-id-customers <STORE_ID>고객 목록 표시
ecommerce list-ecommerce-stores-id-carts <STORE_ID>장바구니 목록 표시
ecommerce list-ecommerce-stores-id-promocodes <PROMO_RULE_ID> <STORE_ID>프로모션 코드 목록 표시

기타 리소스

그룹설명
templates이메일 템플릿 (목록, 조회, 생성, 업데이트, 삭제)
template-folders템플릿 폴더
campaign-folders캠페인 폴더
file-manager파일 관리자의 파일 및 폴더
landing-pages랜딩 페이지 (목록, 생성, 게시, 게시 취소)
sms-campaignsSMS 캠페인 (10개 작업)
surveys설문조사 (목록, 조회, 게시)
reportingFacebook 광고 및 랜딩 페이지 보고
search-campaigns검색어로 캠페인 검색
search-members모든 잠재 고객에서 회원 검색
batches배치 API 작업
batch-webhooks배치 작업 웹훅
verified-domains이메일 도메인 인증
authorized-appsOAuth 연결 앱
connected-sites연결된 사이트 통합
conversations받은 편지함 대화
activity-feed계정 활동 피드
account-exports계정 데이터 내보내기

JSON 출력

모든 명령어는 루트 수준에서 --json을 지원합니다:

# 모든 잠재 고객을 JSON으로 나열
cli-anything-mailchimp --json lists list

# 캠페인 보고서를 JSON으로 가져오기
cli-anything-mailchimp --json reports get abc123def

# jq로 파이프 — 리소스의 기본 Mailchimp 필드 이름 사용
cli-anything-mailchimp --json lists list | jq '.lists[].name'
cli-anything-mailchimp --json campaigns list | jq '.campaigns[].id'

응답 구조 (기본 Mailchimp API 응답 — 리소스별 키 사용):

// 목록 엔드포인트 — 키가 리소스 이름과 일치(lists, campaigns, members 등)
{"lists": [...], "total_items": 42, "_links": [...]}
{"campaigns": [...], "total_items": 10, "_links": [...]}

// 단일 리소스 GET / POST / PATCH
{"id": "abc123", "name": "My List", ...}

// DELETE
{"ok": true, "message": "Deleted."}

// 오류
{"ok": false, "message": "Resource Not Found: ...", "data": {...}}

일반적인 에이전트 패턴

# 계정 상태 확인
cli-anything-mailchimp --json ping | jq '.health_status'

# 모든 잠재 고객 ID 및 이름 목록 표시
cli-anything-mailchimp --json lists list | jq '.lists[] | {id, name}'

# 잠재 고객에서 모든 구독된 회원 찾기
cli-anything-mailchimp --json lists list-lists-id-members <list_id> --status subscribed | jq '.members[].email_address'

# 캠페인 생성 및 전송 전 체크리스트 가져오기
cli-anything-mailchimp --json campaigns create --data '{"type":"regular","settings":{"subject_line":"Hello","from_name":"Me","reply_to":"[email protected]"}}' | jq '.id'
cli-anything-mailchimp --json campaigns list-send-checklist <campaign_id> | jq '.items[] | select(.result == false)'

# 전송된 캠페인의 수신 거부자 가져오기
cli-anything-mailchimp --json reports list-unsubscribed <campaign_id> | jq '.unsubscribes[].email_address'

# 잠재 고객에 회원 추가하기 (구독자 해시 = 소문자로 변환된 이메일의 MD5)
cli-anything-mailchimp --json lists create-members <list_id> --data '{"email_address":"[email protected]","status":"subscribed"}'

# 모든 잠재 고객에서 회원 검색
cli-anything-mailchimp --json search-members list --query "[email protected]" | jq '.exact_matches.members[]'

대화형 REPL

인수 없이 cli-anything-mailchimp를 실행하면 REPL이 시작됩니다:

◆  cli-anything · Mailchimp
   v0.1.0
   Type help for commands, quit to exit

◆ mailchimp ❯ ping
  ✓ {"health_status": "Everything's Chimpy!"}

◆ mailchimp ❯ --json lists list
{"lists": [...], "total_items": 3, "_links": [...]}

◆ mailchimp ❯ quit

참고 사항

  • 구독자 해시: Mailchimp는 소문자로 변환된 이메일의 MD5 해시로 회원을 식별합니다. 계산 방법: python -c "import hashlib; email='[email protected]'; print(hashlib.md5(email.strip().lower().encode()).hexdigest())".
  • 본문 페이로드: 모든 POST/PATCH/PUT 명령어는 --data '<json>'을 허용합니다. 각 엔드포인트의 스키마는 Mailchimp API 문서를 참조하세요.
  • 데이터센터: API 키는 -us8, -eu2 등으로 끝납니다. CLI가 자동으로 이를 추출하므로 MAILCHIMP_API_KEY에 포함시키기만 하면 됩니다.
  • 속도 제한: 마케팅 API는 동시 연결 10개 및 계정당 롤링 제한으로 속도를 제한합니다. 대량 작업의 경우 batches 그룹을 사용하세요.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

관련 스킬