skills/analyst-segment-analytics/SKILL.md
Analyzes segment composition, custom event patterns, and user attribute distributions.
npx skillsauth add delta-and-beta/braze-agency analyst-segment-analyticsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
★ Insight ─────────────────────────────────────
Plugin skill files serve a different purpose than personal process skills — they act as contextual routing documents that help Claude decide when to invoke domain-specific knowledge. The lens/perspective metadata is particularly valuable here: it tells the agent how to interpret data, not just what data to look at.
─────────────────────────────────────────────────
This skill covers the analysis of segment composition, custom event patterns, and user attribute distributions within Braze. Use it when you need to understand who your users are, what actions they take, and how behavioral signals correlate with segment membership.
The guiding lens is audience behavior patterns, event frequency analysis, and attribute correlation — meaning every API call here should be interpreted not just as data retrieval, but as evidence about audience dynamics and engagement trends.
Use this skill when:
Do not use this skill for campaign performance metrics, message delivery analysis, or conversion funnels — those fall under separate campaign analytics skills.
Every topic in this skill should be read through the following analytical perspective:
This lens transforms raw API responses into audience intelligence.
| Topic | Purpose | |-------|---------| | Get Segment Details | Retrieve metadata (name, filter definition, tags) for a specific segment by ID | | Get Segment Analytics | Pull a daily size time series to track segment growth or decay | | List Segments | Enumerate all segments; use for discovery and bulk auditing | | Cancel Segment Export | Halt in-progress exports for a given segment; important for managing API quota | | Segments Export Overview | Understand the full export lifecycle — initiation, progress, and cancellation | | Get Custom Events Data | Paginated list of all custom events recorded in the app | | Get Custom Events Analytics | Time-series occurrence counts per event — the primary signal for event frequency analysis | | List Custom Events | Enumerate events alphabetically in groups of 50; useful for schema auditing | | Custom Events Export Overview | Context on exporting raw event data at scale | | Get Custom Attributes | Retrieve all custom attribute definitions — the vocabulary of your user properties | | Custom Attributes Export Overview | Describes the structure and limitations of attribute export |
Segment analysis flow:
GET /segments/details — inspect the segment definition and tagsGET /segments/data_series — retrieve the daily size trendPOST /export/segment/cancel — cancel any stale export jobs if neededEvent frequency flow:
GET /events — enumerate all custom events (paginate in groups of 50)GET /events/data_series — pull occurrence counts over a time window for the events of interestAttribute correlation setup:
GET /custom_attributes — enumerate attributes (paginate in groups of 50)| Operation | Required Permission |
|-----------|-------------------|
| Segment metadata | segments.details |
| Segment size series | segments.data_series |
| List/export segments | segments.list |
| List custom events | events.get |
| Event time series | events.data_series |
| List custom attributes | custom_attributes.get |
"Is this segment growing?"
→ Use GET /segments/data_series with a 30–90 day window. Plot or compare first vs. last value.
"What's the event frequency trend for X?"
→ Use GET /events/data_series with event_name=X. Look for weekly seasonality or step-change anomalies.
"Which custom attributes exist for correlation analysis?"
→ Use GET /custom_attributes (paginate until has_more: false) to build the full attribute schema before querying user-level data.
"A segment export is stuck — how do I clear it?"
→ POST /export/segment/cancel with the segment_id. Requires segments.list permission.
data_series are estimates, not exact counts — account for margin of error in trend analysis.★ Insight ─────────────────────────────────────
The "topics synthesized" table acts as a skill index within the skill — it lets Claude quickly match a user's question to the exact API topic without loading all topic files. The "common analytical tasks" section mirrors how users actually phrase questions, which improves routing accuracy when the skill is used as a router target.
─────────────────────────────────────────────────
development
Cross-platform audience synchronization design across advertising platforms including Facebook, Google, TikTok, LinkedIn, and programmatic networks.
development
Defines cross-cutting API patterns for authentication, provisioning, preference management, and content delivery.
development
Covers API basics, authentication, rate limits, error codes, endpoint overview, data retention policies, and Postman collection usage.
development
Integration architecture for AI model providers including OpenAI, Google Gemini, and Anthropic within Braze messaging workflows.