mauticlisted
Install: claude install-skill ysg6407/mautic-cli
# mautic-cli
CLI for Mautic marketing automation. Wraps the Mautic REST API (v1, Mautic 4-7).
```bash
mautic [GLOBAL FLAGS] <resource> <command> [OPTIONS]
```
## Authentication
Credentials are stored in `~/.mautic-cli/config.json`. Never pass credentials as env vars or CLI arguments - they will be visible in the tool call output.
**If you get a "No Mautic credentials found" error:** Tell the user to run `mautic auth setup` themselves in their terminal. Do NOT attempt to read, create, or write the config file yourself. The setup command is interactive (prompts for password with hidden input) and must be run by the user directly.
## Profiles
Multiple Mautic instances are supported via named profiles:
- `default` - used when no `--profile` flag is passed
- Named profiles (e.g. `staging`, `production`) - use `--profile <name>`
To check which profiles exist, run:
```bash
mautic auth list
```
When the user mentions a specific Mautic instance (e.g. "the staging mautic", "production mautic"), check available profiles and use the matching `--profile` flag. If unsure which profile to use, ask the user.
## Global Flags
| Flag | Description |
|------|-------------|
| `--format json\|table\|csv` | Output format (default: json) |
| `--pretty` | Pretty-print JSON |
| `--page-all` | Auto-paginate, output NDJSON (one JSON object per line) |
| `--dry-run` | Show HTTP request without executing |
| `--verbose` | Show HTTP request/response details |
| `--published-only` | Filter to pu