zer09/pi-config/pp-klaviyo

Claude Code and agent skill by zer09/pi-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Access Klaviyo from Pi through the local `klaviyo-pp-cli`. Use for Klaviyo profiles, events, campaigns, flows, segments, lists, metrics, templates, reporting, webhooks, and account inspection or carefully gated changes.

Install

npx vskill@latest install zer09/pi-config/pp-klaviyo

SKILL.md

The same SKILL.md was published earlier as zer09/pi-config/pp-klaviyo.

Klaviyo CLI

Purpose and boundary

Use the local klaviyo-pp-cli as a direct REST API adapter for one Klaviyo account. Do not install, configure, start, inspect, or use an MCP component.

Treat Klaviyo as a hosted service that is read-only by default. Use only the existing KLAVIYO_API_KEY environment variable. Never inspect, print, persist, copy, or pass its value as an argument. Never run auth set-token.

The CLI refuses data commands without a tenant-gated client profile. The klaviyo profile stores only the reference env:KLAVIYO_API_KEY and the expected account identity. Pass --client-profile klaviyo on every command. Before each command, the CLI confirms the account through GET /api/accounts, so the key needs Accounts read access. Do not run client add, client delete, client migrate or client set-default unless the user asks; set-default changes a default shared by every Printing Press CLI.

Preflight

Run the bundled preflight before authenticated access. Resolve the helper from this skill's directory, not the project directory:

bash
sh ./scripts/preflight.sh

Stop if the CLI, key or klaviyo client profile is missing. Stop if KLAVIYO_BASE_URL is set, and do not print its value. Stop if PRINTING_PRESS_CLIENT_PROFILE selects another profile. Trust the installed command's --help over generated documentation.

Read workflow

  1. Inspect <command> --help before use.
  2. Use these flags explicitly on every normal API read:

``text --client-profile klaviyo --json --compact --no-input --no-color --data-source live --no-cache ``

  1. Request one bounded page unless the user needs more. Do not use --all by default.
  2. Use API sparse-field flags and --select whenever practical.
  3. Capture sensitive responses in restrictive temporary files when parsing is needed. Delete each file immediately.
  4. Return only requested fields or aggregates. Summarize instead of dumping account, profile, event, subscription, address, phone, or email data.

Use the explicit flags above instead of --agent, so copied commands stay reviewable. Keep output on stdout: never use --deliver (its webhook: and spacefast: sinks send output off this machine), and do not use --audit-dir, --home or --config overrides.

Mutation workflow

Do not mutate Klaviyo unless the latest user request authorizes the exact target and effect. For each authorized mutation:

  1. Inspect the installed write command's --help.
  2. Read the exact target with --data-source live --no-cache and narrow output.
  3. Prepare the smallest payload. For campaign HTML, follow HTML QA before deployment or launch.
  4. Run --dry-run when supported. Stream-filter any authorization line before capture; never save unfiltered dry-run output. Show only a redacted target and effect summary.
  5. Confirm that the proposed request exactly matches the user's authorization.
  6. Execute once without --agent. Add an explicit --yes only if the CLI requires it after current user confirmation.
  7. Read the target back with --data-source live --no-cache and report the result.

Never automatically replay a write after an ambiguous transport or 5xx failure. The write may have succeeded; inspect the target state before any separately authorized retry.

Always ask for final confirmation immediately before sending or scheduling a campaign, sending test previews (campaigns test-send emails real addresses), creating an A/B test (campaigns ab-test create), publishing or unpublishing a form, inserting a flow step with --apply, cancelling a send, bulk subscription changes, suppression changes, profile merges or deletes, privacy deletion jobs, destructive resource deletion, making a flow live, broad imports, bulk jobs, or webhook delivery to a new endpoint. Warn that bulk unsubscribe operations can globally unsubscribe profiles outside a specified list. Also ask when scope, audience, consent, or reversibility is unclear. Never infer consent, subscription status, audience, or destructive identifiers.

Cache and local-data boundary

Normal reads require both --data-source live and --no-cache. The first prevents automatic SQLite write-through. The second prevents the separate JSON response cache.

Do not run sync, local search, local analytics, teach, recall, learnings, playbook, or --data-source auto unless the user separately requests local storage and accepts the customer-data privacy implications. The CLI also keeps a local command log of argument types, not values, under ~/.local/state/klaviyo-pp-cli/learn/.

UI fallback

Use the API first. For API-key management or a genuinely UI-only operation, load the pi-browser-harness skill and follow its browser setup requirement. Keep browser actions read-only unless the user authorizes the exact UI mutation.

Command reference

Read the command reference for tested command shapes, PII controls, high-impact operations, and current CLI caveats.

Maintenance

Use the pp-klaviyo update process for maintenance. Preserve the local secret, cache, PII, base URL, and mutation overlays when upstream changes.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zer09/pi-config/pp-klaviyo/badge)](https://verified-skill.com/skills/zer09/pi-config/pp-klaviyo)

Something wrong with this skill or its page? Tell us.