MailerLite
This skill should be used when the user asks to "manage subscribers", "create a campaign", "list automations", "manage groups", "manage forms", "manage segments", "manage fields", "manage webhooks", "list timezones", "manage e-commerce shops", "manage products", "manage categories", "manage customers", "manage orders", "manage carts", "manage cart items", "import e-commerce data", "switch mailerlite account", "configure mailerlite", "set up mailerlite profile", "launch the mailerlite dashboard", or any task involving the MailerLite email marketing platform via CLI. Provides comprehensive guidance for using the `mailerlite` command-line tool.
What this skill does
# MailerLite CLI The MailerLite CLI (`mailerlite`) is a command-line tool and interactive TUI dashboard for the MailerLite email marketing API. It supports managing subscribers, campaigns, automations, groups, forms, segments, fields, webhooks, e-commerce (shops, products, categories, customers, orders, carts), and full account management. ## Installation Install via Homebrew, Nix, or download a binary from GitHub releases: ```bash # Homebrew brew install --cask mailerlite/tap/mailerlite # Nix flake nix profile install github:mailerlite/mailerlite-cli # Or download from https://github.com/mailerlite/mailerlite-cli/releases ``` The binary is called `mailerlite`. ## Authentication Before using the CLI, authenticate with MailerLite: ```bash # Interactive login (prompts for method — OAuth or API token) mailerlite auth login # Direct token login mailerlite auth login --method token --token "your_token_here" # Check authentication status mailerlite auth status ``` ### Multi-Profile Support Manage multiple accounts or tokens with named profiles: ```bash mailerlite profile add production --token "prod_token" mailerlite profile add staging --token "staging_token" mailerlite profile switch production mailerlite profile list ``` Use `--profile <name>` on any command to override the active profile. ### Multi-Account Support If your OAuth credentials have access to multiple accounts: ```bash mailerlite account list mailerlite account switch <account_id> ``` **Token resolution order:** `MAILERLITE_API_TOKEN` env var > `--profile` flag > active profile > first profile. Config is stored at `~/.config/mailerlite/config.yaml`. ## Global Flags These flags work on all commands: | Flag | Description | |------|-------------| | `--profile <name>` | Select config profile | | `--verbose` / `-v` | Show HTTP request/response details | | `--json` | Output as machine-readable JSON | | `--yes` / `-y` | Skip confirmation prompts | The CLI respects the `NO_COLOR` environment variable. ## Critical: Always Use JSON Output When executing `mailerlite` commands, **always append `--json`** to every command. JSON output is structured and parseable, making it reliable for extracting IDs, statuses, and other data needed for follow-up commands. The default table output is for human reading only and difficult to parse programmatically. ```bash # Correct - always use --json mailerlite subscriber list --json mailerlite campaign get <id> --json # Incorrect - table output is hard to parse mailerlite subscriber list ``` The only exceptions are `dashboard` (interactive TUI), `completion` (shell scripts), and simple write confirmations. ## Core Workflows ### Managing Subscribers ```bash # List subscribers mailerlite subscriber list --json mailerlite subscriber list --status active --email [email protected] --json # Get subscriber count mailerlite subscriber count --json # Get subscriber details (by ID or email) mailerlite subscriber get [email protected] --json # Create or update a subscriber mailerlite subscriber upsert \ --email "[email protected]" \ --status active \ --groups "group_id_1,group_id_2" \ --fields '{"name":"John","company":"Acme"}' --json # Update a subscriber mailerlite subscriber update <id> --status unsubscribed --json # Delete a subscriber mailerlite subscriber delete <id> # Forget a subscriber (GDPR) mailerlite subscriber forget <id> ``` ### Managing Campaigns ```bash # List campaigns mailerlite campaign list --json mailerlite campaign list --status sent --type regular --json # Get campaign details mailerlite campaign get <campaign_id> --json # Create a campaign mailerlite campaign create \ --name "Welcome Campaign" \ --type regular \ --subject "Welcome!" \ --from "[email protected]" \ --from-name "Sender Name" \ --content "<h1>Hello</h1>" \ --groups "group_id" --json # Schedule a campaign mailerlite campaign schedule <campaign_id> \ --delivery scheduled \ --date 2026-03-01 \ --hours 10 \ --minutes 0 # Cancel a campaign mailerlite campaign cancel <campaign_id> # List campaign subscriber activity mailerlite campaign subscribers <campaign_id> --json # List available campaign languages mailerlite campaign languages --json # Delete a campaign mailerlite campaign delete <campaign_id> ``` ### Managing Groups ```bash mailerlite group list --json # List groups mailerlite group create --name "Newsletter" --json # Create group mailerlite group update <id> --name "Weekly Newsletter" --json # Update group mailerlite group delete <id> # Delete group mailerlite group subscribers <group_id> --json # List subscribers in group mailerlite group assign <group_id> <subscriber_id> # Assign subscriber mailerlite group unassign <group_id> <subscriber_id> # Unassign subscriber ``` ### Managing Automations ```bash mailerlite automation list --json # List automations mailerlite automation list --enabled true --json # Filter by enabled mailerlite automation get <id> --json # Get automation details mailerlite automation subscribers <id> --json # List subscriber activity ``` ### Managing Forms ```bash mailerlite form list --json # List forms mailerlite form list --type popup --json # Filter by type mailerlite form get <id> --json # Get form details mailerlite form update <id> --name "Updated" --json # Update form mailerlite form delete <id> # Delete form mailerlite form subscribers <id> --json # List form subscribers ``` ### Managing Fields ```bash mailerlite field list --json # List subscriber fields mailerlite field create --name "Company" --type text --json # Create field mailerlite field update <id> --name "Organization" --json # Update field mailerlite field delete <id> # Delete field ``` ### Managing Segments ```bash mailerlite segment list --json # List segments mailerlite segment update <id> --name "VIP" --json # Update segment mailerlite segment delete <id> # Delete segment mailerlite segment subscribers <id> --json # List subscribers ``` ### Managing Webhooks ```bash mailerlite webhook list --json # List webhooks mailerlite webhook get <id> --json # Get webhook details mailerlite webhook create \ --name "My Webhook" \ --url "https://example.com/webhook" \ --events "subscriber.created,campaign.sent" \ --enabled --json # Create webhook mailerlite webhook update <id> --name "Updated" --json # Update webhook mailerlite webhook delete <id> # Delete webhook ``` ### E-Commerce: Shops ```bash mailerlite shop list --json # List shops mailerlite shop get <id> --json # Get shop details mailerlite shop create --name "My Store" --url "https://mystore.com" --json mailerlite shop update <id> --name "Updated" --json # Update shop mailerlite shop delete <id> # Delete shop mailerlite shop count --json # Get shop count ``` ### E-Commerce: Products All product commands require `--shop <shop_id>`. ```bash mailerlite product list --shop <shop_id> --json mailerlite product get <product_id> --shop <shop_id> --json mailerlite product create --shop <shop_id> \ --name "T-Shirt" --price 29.99 \ --url "https://mystore.com/tshirt" --json mailerlite product update <product_id> --shop <shop_id> --price 24.99 --json mailerlite product delete <product_id> --shop <shop_id> mailerlite product count --shop <shop_id> --json ``` ### E-Commerce: Categories All category commands require `--shop <
Related in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".