zer09/pi-config/pp-klaviyo
Claude Code and agent skill by zer09/pi-config
- community
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-klaviyoSKILL.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:
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
- Inspect
<command> --helpbefore use. - Use these flags explicitly on every normal API read:
``text --client-profile klaviyo --json --compact --no-input --no-color --data-source live --no-cache ``
- Request one bounded page unless the user needs more. Do not use
--allby default. - Use API sparse-field flags and
--selectwhenever practical. - Capture sensitive responses in restrictive temporary files when parsing is needed. Delete each file immediately.
- 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:
- Inspect the installed write command's
--help. - Read the exact target with
--data-source live --no-cacheand narrow output. - Prepare the smallest payload. For campaign HTML, follow HTML QA before deployment or launch.
- Run
--dry-runwhen supported. Stream-filter any authorization line before capture; never save unfiltered dry-run output. Show only a redacted target and effect summary. - Confirm that the proposed request exactly matches the user's authorization.
- Execute once without
--agent. Add an explicit--yesonly if the CLI requires it after current user confirmation. - Read the target back with
--data-source live --no-cacheand 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
- SKILL.md in the repositoryCheckingagent/skills/pp-klaviyo/SKILL.md
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
[](https://verified-skill.com/skills/zer09/pi-config/pp-klaviyo)