mailcoach
БесплатноБез исполняемых скриптовНе проверенManage email marketing with the Mailcoach CLI — email lists, subscribers, campaigns, transactional emails, templates, automations, tags, and segments.
от freekmurze★ 1 019 звёзд на GitHubОб этом скилле
Mailcoach CLI
Use this skill when the user wants to manage email marketing through their Mailcoach instance. This includes managing email lists, subscribers, campaigns, transactional emails, templates, automations, tags, segments, and suppressions.
Prerequisites
The mailcoach CLI must be installed and authenticated. If a command returns a 401 error, the user needs to authenticate first.
# Authenticate with a Mailcoach instance
mailcoach login
# Verify authentication works
mailcoach list-email-lists
See references/authentication.md for the full login flow.
How commands work
Commands are auto-generated from the Mailcoach OpenAPI spec. Always discover commands dynamically rather than guessing names.
# List all available commands
mailcoach list
# Get help for a specific command (shows all options)
mailcoach <command-name> --help
Command naming
Commands use kebab-case derived from API operation IDs:
list-email-lists,create-email-list,show-email-list,update-email-list,delete-email-listlist-subscribers,create-subscriber,show-subscriber,update-subscriberlist-campaigns,create-campaign,send-campaign,send-campaign-testlist-transactional-mails,send-transactional-maillist-tags,create-tag,list-segments,create-segmenttrigger-automation
Parameter naming
- Path parameters like
{emailList}become required options:--email-list=<uuid> - Query parameters like
filter[search]become optional options:--filter-search=<value> - Both
snake_caseandcamelCaseparameter names are converted to--kebab-case(e.g.,book_idandbookIdboth become--book-id)
Sending data
# JSON body (preferred for creates/updates)
mailcoach create-email-list --input '{"name": "Newsletter", "default_from_email": "[email protected]"}'
# Form fields (repeatable, simpler for flat data)
mailcoach create-email-list --field name="Newsletter" --field default_from_email="[email protected]"
# File uploads (prefix path with @)
mailcoach create-subscriber-import --email-list=<uuid> --field csv=@/path/to/subscribers.csv
--fieldvalues are sent as JSON by default. When any field contains a file (@prefix), the entire request switches tomultipart/form-data.- You cannot combine
--fieldand--inputin the same command.
Output formats
mailcoach list-email-lists # Human-readable table (default)
mailcoach list-email-lists --json # Raw JSON (useful for parsing)
mailcoach list-email-lists --yaml # YAML output
mailcoach list-email-lists --minify # Minified single-line JSON (implies --json)
mailcoach list-email-lists --H # Include response headers
mailcoach list-email-lists --output-html # Show HTML response bodies (hidden by default)
Always use --json when you need to extract UUIDs or data from responses for use in subsequent commands.
Filtering, sorting, and pagination
mailcoach list-subscribers --email-list=<uuid> --filter-search="john" --sort=email --filter-per-page=50 --filter-page=2
--filter-search: fuzzy text search--sort: field name, prefix with-for descending (e.g.,--sort=-created_at)--filter-per-page: results per page (max 100, default 15)--filter-page: page number
Error handling
- 401: Authentication failed. Run
mailcoach loginto re-authenticate. - 422: Validation error. The response body contains details about which fields are invalid.
- 404: Resource not found. Verify the UUID is correct.
- Missing path parameter: The CLI tells you which
--optionis required. - All errors exit with a non-zero code, so you can chain commands with
&&. - HTML error responses hide the body by default — add
--output-htmlto see them.
Common workflows
Command patterns
- references/command-patterns.md — Discovering commands and the shared flag conventions
Email lists and subscribers
- references/email-lists.md — Create and manage email lists, tags, and segments
- references/subscribers.md — Add, import, tag, and manage subscribers
Campaigns
- references/campaigns.md — Full campaign lifecycle: create, configure, test, send, and view statistics
Transactional emails
- references/transactional.md — Send transactional emails via templates or inline content
Templates and automations
- references/templates.md — Manage reusable email templates
- references/automations.md — Trigger automations via the CLI
Important notes
- Mailcoach is self-hosted: each user has a unique instance URL configured during
mailcoach login - The OpenAPI spec is cached for 24 hours. Run
mailcoach clear-cacheto force a refresh if com
Установить mailcoach в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mailcoach?
Manage email marketing with the Mailcoach CLI — email lists, subscribers, campaigns, transactional emails, templates, automations, tags, and segments.
Как установить скилл mailcoach?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mailcoach запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic