with one click
with one click
| name | pp-kit |
| description | Printing Press CLI for Kit. |
| author | Cathryn Lavery |
| license | Apache-2.0 |
| argument-hint | <command> [args] | install cli|mcp |
| allowed-tools | Read Bash |
| metadata | {"openclaw":{"requires":{"bins":["kit-pp-cli"]},"install":[{"kind":"go","bins":["kit-pp-cli"],"module":"github.com/mvanhorn/printing-press-library/library/marketing/kit/cmd/kit-pp-cli"}]}} |
This skill drives the kit-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
npx -y @mvanhorn/printing-press-library install kit --cli-only
kit-pp-cli --version$GOPATH/bin (or $HOME/go/bin) is on $PATH.If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.3 or newer):
go install github.com/mvanhorn/printing-press-library/library/marketing/kit/cmd/kit-pp-cli@latest
If --version reports "command not found" after install, the install step did not put the binary on $PATH. Do not proceed with skill commands until verification succeeds.
Prefer these read-only workflows before raw endpoint mirrors when the user asks for planning, diagnosis, audit, support, or account context:
kit-pp-cli workflow creator-snapshot --agent — one operating snapshot with account, growth, audience, content, webhook, and broadcast stats.kit-pp-cli workflow audience-health --agent — subscriber status counts, growth stats, and largest tags by subscriber count.kit-pp-cli workflow content-inventory --agent — sequences, sequence emails, snippets, forms, email templates, and recent broadcast stats for content planning.kit-pp-cli workflow subscriber-lookup --email <email> --agent — one subscriber profile with custom fields, tags, attribution, and email stats.Use raw endpoint commands when the user needs a specific CRUD operation, exact endpoint parity, pagination beyond a workflow limit, or a write operation. These workflows call real Kit v4 endpoints; they are not cached summaries or mock payloads.
These capabilities aren't available in any other tool for this API.
workflow creator-snapshot — One-call read-only operating snapshot for Kit account, growth, audience, content, webhooks, and broadcast stats.
Use this first when an agent needs current creator-account context without manually fanning out across endpoint mirrors.
kit-pp-cli workflow creator-snapshot --agent
workflow audience-health — Read-only subscriber status counts, recent growth stats, and largest tags by subscriber count.
Use this before list cleaning, segmentation, or campaign planning to avoid multiple fragile subscriber and tag calls.
kit-pp-cli workflow audience-health --agent
workflow subscriber-lookup — Read-only subscriber dossier by email or id with profile, custom fields, tags, attribution, and email stats.
Use this for support, segmentation checks, and personalization debugging before raw subscriber endpoint calls.
workflow content-inventory — Read-only inventory of sequences, sequence emails, snippets, forms, templates, and recent broadcast stats.
Use this for content audits and planning instead of separately listing each Kit content surface.
kit-pp-cli workflow content-inventory --agent
growth-trends — Correlates account growth stats with broadcast performance over a date range. Optionally caches results via the typed UpsertBroadcastsStats write path.tag-performance — Ranks tags by subscriber count with share-of-total percentages; optional --subscriber-query uses SearchSubscribers to narrow to a segment.Four first-class MCP intent tools expose the workflow commands with typed input schemas and read-only annotations. Use these via the MCP server (kit-pp-mcp) when an agent host wants typed parameters and explicit safety hints:
intent_workflow_creator_snapshotintent_workflow_audience_healthintent_workflow_content_inventoryintent_workflow_subscriber_lookupThe MCP server supports both stdio and streamable HTTP transports (--transport http --addr :7777 or PP_MCP_TRANSPORT=http).
workflow — Kit-specific compound workflows for agents
kit-pp-cli workflow creator-snapshot — Summarize account, audience, content, and broadcast healthkit-pp-cli workflow audience-health — Summarize subscriber status, recent growth, and largest tagskit-pp-cli workflow content-inventory — Inventory sequences, emails, snippets, forms, templates, and broadcastskit-pp-cli workflow subscriber-lookup — Fetch one subscriber with tags, custom fields, attribution, and email statsaccount — Manage account
kit-pp-cli account list — Get current accountkit-pp-cli account list-colors — List colorskit-pp-cli account list-creatorprofile — Get Creator Profilekit-pp-cli account list-emailstats — Get email statskit-pp-cli account list-growthstats — Get growth stats for a specific time period. Defaults to last 90 days.kit-pp-cli account update — Update colorsbroadcasts — Manage broadcasts
kit-pp-cli broadcasts create — Draft or schedule to send a broadcast to all or a subset of your subscribers.kit-pp-cli broadcasts delete — Delete a broadcastkit-pp-cli broadcasts get — Get a broadcastkit-pp-cli broadcasts list — List broadcastskit-pp-cli broadcasts list-stats — Get stats for a list of broadcastskit-pp-cli broadcasts update — Update an existing broadcast. Continue to draft or schedule to send a broadcast to all or a subset of your...bulk — Manage bulk
kit-pp-cli bulk create — See 'Bulk & async processing' for more information.kit-pp-cli bulk create-customfields — Bulk update subscriber custom field valueskit-pp-cli bulk create-forms — Adding subscribers to double opt-in forms will trigger sending an Incentive Email. Subscribers already added to the...kit-pp-cli bulk create-subscribers — See 'Bulk & async processing' for more information.kit-pp-cli bulk create-tags — See 'Bulk & async processing' for more information.kit-pp-cli bulk create-tags-2 — The subscribers being tagged must already exist. Subscribers can be created in bulk using the '[Bulk create...kit-pp-cli bulk delete — See 'Bulk & async processing' for more information.custom-fields — Manage custom fields
kit-pp-cli custom-fields create — Create a custom field for your account. The label field must be unique to your account. Whitespace will be removed...kit-pp-cli custom-fields delete — This will remove all data in this field from your subscribers.kit-pp-cli custom-fields list — A custom field allows you to collect subscriber information beyond the standard fields of first name and email...kit-pp-cli custom-fields update — Updates a custom field label (see Create a custom field for...email-templates — Manage email templates
kit-pp-cli email-templates — List email templatesforms — Manage forms
kit-pp-cli forms — List formsposts — Manage posts
kit-pp-cli posts get — Get a postkit-pp-cli posts list — List postspurchases — Manage purchases
kit-pp-cli purchases create — Create a purchasekit-pp-cli purchases get — Get a purchasekit-pp-cli purchases list — List purchasessegments — Manage segments
kit-pp-cli segments — List segmentssequences — Manage sequences
kit-pp-cli sequences create — Creates an empty sequence — the container that holds sequence emails. After creating the shell, use [Create a...kit-pp-cli sequences delete — Soft-deletes a sequence. The sequence is removed from active delivery immediately, with cleanup of associated state...kit-pp-cli sequences get — Fetches a single sequence by id. Use this when you need the current schedule, the active / repeat / hold...kit-pp-cli sequences list — Returns every sequence on the account. A sequence is a self-contained set of automated emails — subscribers join,...kit-pp-cli sequences update — Updates any sequence settings — name, email_address, schedule (send_days, send_hour, time_zone),...snippets — Manage snippets
kit-pp-cli snippets create — Snippets are reusable pieces of email content you can drop into a broadcast or sequence email using Liquid: `{{...kit-pp-cli snippets get — Fetches a single snippet by id. Unlike List snippets, this endpoint...kit-pp-cli snippets list — Returns every snippet on the account. Each snippet's key is the identifier used in Liquid — {{ snippet.key }}...kit-pp-cli snippets update — Rename a snippet, replace its body, or archive/restore it. Updates apply on the next send of any email that...subscribers — Manage subscribers
kit-pp-cli subscribers create — Behaves as an upsert. If a subscriber with the provided email address does not exist, it creates one with the...kit-pp-cli subscribers create-filter — Filter subscribers based on engagementkit-pp-cli subscribers get — Get a subscriberkit-pp-cli subscribers list — List subscriberskit-pp-cli subscribers update — If you include a custom field key that does not exist on your account, the request returns an error. Use [List...tags — Manage tags
kit-pp-cli tags create — Create a tagkit-pp-cli tags list — List tagskit-pp-cli tags update — Update tag namewebhooks — Manage webhooks
kit-pp-cli webhooks create — Available event types:subscriber.subscriber_activatesubscriber.subscriber_unsubscribekit-pp-cli webhooks delete — Delete a webhookkit-pp-cli webhooks list — Webhooks are automations that will receive subscriber data when a subscriber event is triggered, such as when a...When you know what you want to do but not which command does it, ask the CLI directly:
kit-pp-cli which "<capability in your own words>"
which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.
Run kit-pp-cli auth setup to print the URL and steps for getting a key (add --launch to open the URL). Then set:
export KIT_API_KEY="<your-key>"
Or persist it in ~/.config/kit-pp-cli/config.toml.
Run kit-pp-cli doctor to verify setup.
Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.
Pipeable — JSON on stdout, errors on stderr
Filterable — --select keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
kit-pp-cli account list --agent --select id,name,status
Previewable — --dry-run shows the request without sending
Offline-friendly — sync/search commands can use the local SQLite store when available
Non-interactive — never prompts, every input is a flag
Explicit retries — use --idempotent only when an already-existing create should count as success, and --ignore-missing only when a missing delete target should count as success
Commands that read from the local store or the API wrap output in a provenance envelope:
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}
Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal AND no machine-format flag (--json, --csv, --compact, --quiet, --plain, --select) is set — piped/agent consumers and explicit-format runs get pure JSON on stdout.
When you (or the agent) notice something off about this CLI, record it:
kit-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
kit-pp-cli feedback --stdin < notes.txt
kit-pp-cli feedback list --json --limit 10
Entries are stored locally at ~/.kit-pp-cli/feedback.jsonl. They are never POSTed unless KIT_FEEDBACK_ENDPOINT is set AND either --send is passed or KIT_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.
Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
| Sink | Effect |
|---|---|
stdout | Default; write to stdout only |
file:<path> | Atomically write output to <path> (tmp + rename) |
webhook:<url> | POST the output body to the URL (application/json or application/x-ndjson when --compact) |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
kit-pp-cli profile save briefing --json
kit-pp-cli --profile briefing account list
kit-pp-cli profile list --json
kit-pp-cli profile show briefing
kit-pp-cli profile delete briefing --yes
Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 4 | Authentication required |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
Parse $ARGUMENTS:
help, or --help → show kit-pp-cli --help outputinstall → ends with mcp → MCP installation; otherwise → see Prerequisites above--agent)go install github.com/mvanhorn/printing-press-library/library/marketing/kit/cmd/kit-pp-mcp@latest
claude mcp add kit-pp-mcp -- kit-pp-mcp
claude mcp listwhich kit-pp-cli
If not found, offer to install (see Prerequisites at the top of this skill).--agent flag:
kit-pp-cli <command> [subcommand] [args] --agent
kit-pp-cli <command> --help.Keyword Tool data from eRank, plus local scoring, drift, and listing-gap analysis for Etsy sellers. Trigger phrases: `research dad mug on eRank`, `score an Etsy keyword`, `find eRank top listings`, `compare Etsy listing tags`, `use eRank`, `run eRank`.
Research Etsy products, shops, and keywords from EverBee in a repeatable agent-ready workflow. Trigger phrases: `research Etsy product opportunities`, `analyze an EverBee shop`, `find Etsy keyword gaps`, `score this Etsy niche`, `compare competitor Etsy tags`, `use EverBee`, `run EverBee`.
Keyword Tool data from eRank, plus local scoring, drift, and listing-gap analysis for Etsy sellers. Trigger phrases: `research dad mug on eRank`, `score an Etsy keyword`, `find eRank top listings`, `compare Etsy listing tags`, `use eRank`, `run eRank`.
Inspect, audit, and right-size your Azure Functions from the terminal — cold-start trends, config drift Trigger phrases: `check my azure functions`, `are my functions cold-starting`, `should I move off the consumption plan`, `audit my function app settings`, `find unused azure functions`, `use azure-functions-admin`, `run azure-functions-admin`.
Authoritative IMO ship particulars on the command line Trigger phrases: `look up IMO`, `GISIS particulars`, `ship particulars by IMO`, `vessel registry lookup`, `flag-hop history for vessel`, `use gisis`, `run gisis`.
Use the public NYNJ World Cup Concierge to extract official Explore NYNJ, Fan Experiences, and Watch Parties/Public Viewing candidates.