klaviyo-segment — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited klaviyo-segment (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Outputs live under ~/notes/Klaviyo/<brand>/<subfolder>/, where <brand> is resolved at run time from the connected Klaviyo account's organizationName attribute (via mcp__claude_ai_Klaviyo__klaviyo_get_account_details). For ExampleBrand, this resolves to ExampleBrand. If multiple brands are connected, ask Will which brand the current run is for.
Klaviyo's segment builder is powerful but verbose. This skill takes a one-line natural-language definition and outputs both the human-readable rule + the Klaviyo segment JSON. Will pastes the JSON into the Klaviyo segment builder OR applies via API.
mcp__claude_ai_Klaviyo__klaviyo_get_metrics to confirm the exact metric names (Placed Order, Active on Site, Viewed Product, etc.). Don't fabricate.mcp__claude_ai_Klaviyo__klaviyo_query_metric_aggregates to ballpark how many profiles match. If exact unavailable, give a rough lower/upper bound.~/notes/Klaviyo/<brand>/segments/[slug].md with NL definition + resolved rule + JSON + setup steps + estimated size.scripts/deploy_segment.py <spec.md> which POSTs to Klaviyo's segments API using KLAVIYO_API_KEY from .env. Returns the new segment id + Klaviyo URL. If deploy fails (auth, schema, etc.) surface the API error verbatim.| NL request | Resolved logic |
|---|---|
| "High-LTV customers" | Placed Order: count over all time >= 3 OR sum of value >= $X |
| "Recent buyers" | Placed Order in last 30 days >= 1 |
| "Lapsed customers" | Placed Order in last 90 days = 0 AND Placed Order over all time >= 1 |
| "Engaged subscribers" | Opened Email in last 30 days >= 1 AND Active on Site in last 30 days >= 1 |
| "Unengaged subscribers (sunset candidates)" | Opened Email in last 90 days = 0 AND Clicked Email in last 90 days = 0 |
| "VIPs" | sum of Placed Order value over all time >= $X OR count of Placed Order >= Y |
| "Birthday next month" | Custom property birthday month = next month |
| "Browsed but never bought a category" | Viewed Product in [category] AND Placed Order with category != [category] |
| "Abandoned cart but engaged elsewhere" | Added to Cart in last 7 days AND Opened Email in last 7 days AND Placed Order in last 7 days = 0 |
# Segment — [slug]
**NL definition:** ...
**Resolved rule:** ...
**Estimated size:** N profiles (±error)
**Last updated:** YYYY-MM-DD
## JSON spec
{ "name": "...", "definition": { "condition_groups": [...] } }
## Klaviyo setup steps
1. Audience → Lists & Segments → Create List/Segment → Segment
2. Name: ...
3. Definition: ...
4. Save~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.