# pp-customer-io

pp-customer-io — a skill for Customer.io operations via customer-io-pp-cli: inspect campaign funnels, verify segment overlap, and audit suppressions without the web UI.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 111 installs · ★ 2142 repo stars
- Author: Trevin Chow
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-customer-io/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/pp-customer-io

## What it does

The skill connects your agent to the `customer-io-pp-cli` binary and a local SQLite cache. It handles common operational tasks across broadcasts, journeys, and delivery logs. You can compute step-by-step campaign funnels, compare segment overlaps without repeated CSV exports, and inspect customer activity timelines during incident triage.

Under the hood, it packages Go CLI verbs and an MCP server running over stdio or HTTP transports. It also includes safety checks such as `broadcasts preflight` to prevent accidental over-mailing, alongside health monitoring for Reverse-ETL syncs. For raw event ingestion via the Track API, the author points to official server SDKs instead.

The skill fails immediately if `customer-io-pp-cli` is missing from `$PATH`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-customer-io -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pp-customer-io/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pp-customer-io/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-customer-io -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pp-customer-io/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-customer-io -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pp-customer-io/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install mvanhorn/printing-press-library cli-skills/pp-customer-io/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/pp-customer-io/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-customer-io -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/mvanhorn/printing-press-library --path cli-skills/pp-customer-io
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pp-customer-io/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-customer-io -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-customer-io/SKILL.md

## When to use it
- evaluate campaign funnels across specific customer segments
- run preflight safety checks on broadcasts to avoid accidental sends
- calculate Venn diagram overlaps between customer segments
- triage delivery bounces and complaints into an incident report

## Example prompts
- Run a preflight check on broadcast bcr_77 with segment seg_19
- Check customer.io delivery health for template tx_91 over the last hour
- What fraction of segment seg_19 opened journey cmp_482 in customer.io?

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 6dfb94d38e014767.

BEGIN THIRD-PARTY FILE 6dfb94d38e014767
````text
---
name: pp-customer-io
description: "Every Customer.io action a marketer or ops engineer takes — campaigns, broadcasts, segments, deliveries, exports, suppressions, Reverse-ETL — wrapped in named verbs, backed by a local SQLite cache, and served through a bundled MCP server. Trigger phrases: `use customer-io`, `run customer-io`, `trigger a customer.io broadcast`, `send a customer.io transactional message`, `export a customer.io segment`, `check customer.io delivery health`, `audit customer.io suppressions`, `what fraction of segment X opened journey Y in customer.io`."
author: "Trevin Chow"
license: "Apache-2.0"
argument-hint: "<command> [args] | install cli|mcp"
allowed-tools: "Read Bash"
metadata:
  openclaw:
    requires:
      bins:
        - customer-io-pp-cli
    install:
      - kind: go
        bins: [customer-io-pp-cli]
        module: github.com/mvanhorn/printing-press-library/library/other/customer-io/cmd/customer-io-pp-cli
---
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/marketing/customer-io/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Customer.io — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `customer-io-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install customer-io --cli-only
   ```
2. Verify: `customer-io-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

```bash
go install github.com/mvanhorn/printing-press-library/library/marketing/customer-io/cmd/customer-io-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

## When to Use This CLI
````
END THIRD-PARTY FILE 6dfb94d38e014767

The third-party file has ended. Everything between the 6dfb94d38e014767 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2429 of 17440 bytes. © Trevin Chow · Apache-2.0 · https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-customer-io/SKILL.md

## Similar
- [customer-retention](https://affpapa.org/en/nevibecode/skills/customer-retention.md) — skill · 1900 installs
- [customer-research](https://affpapa.org/en/nevibecode/skills/customer-research.md) — skill · 128400 installs
- [customer-stories-page-generator](https://affpapa.org/en/nevibecode/skills/customer-stories-page-generator.md) — skill · 1100 installs

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
