segment-manager

Manage segment lifecycle with list, get, create, update, delete, validate, and size operations.

4|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/lytics/agent-skills --skill segment-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: segment-manager
Source: https://github.com/lytics/agent-skills/tree/main/segment-manager
Command: npx skills add https://github.com/lytics/agent-skills --skill segment-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Segment CRUD, validation, and sizing operations streamline managing audience segments across the full lifecycle.

Core Features & Use Cases

  • List, view, create, update, delete, validate FilterQL, and size segments to ensure accurate audience targeting and scalable analytics.
  • Validate and estimate size before deployment to minimize errors and guardrails.
  • Use Case: A data team needs to quickly spin up a segment for a new marketing test and confirm its size beforehand.

Quick Start

List existing segments to see current entries.

Frequently Asked Questions about segment-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage the full lifecycle of audience segments across accounts and tables?

You can manage the full segment lifecycle by performing list, get, create, update, delete, validate, and size operations against a user data store. This coordinates accurate audience definitions and consistent segment operations across accounts and tables.

How do I validate segment filters and estimate audience size before deployment?

To validate segment filters and estimate audience size before deployment, you run validation and sizing operations against your user data store. This minimizes deployment errors by applying strict payload validation and guardrails to FilterQL definitions.

What is the best way to automate creating and sizing segments for marketing tests?

Automating segment creation and sizing for marketing tests involves using API interactions to define segments and request size estimates. This lets data teams quickly spin up audience segments and confirm their scale beforehand.

Can I perform CRUD operations on segments across multiple accounts and tables?

Yes, you can perform CRUD operations on segments across multiple accounts and tables. The system handles API interactions with strict payload validation and error handling to ensure safe, consistent segment management across your user data store.

Does segment management include guardrails for safe API interactions and error handling?

Segment management includes built-in guardrails for safe API interactions, strict payload validation, and error handling. These guardrails ensure consistent operations and prevent invalid filter definitions from impacting your user data store.

When do I need to validate FilterQL definitions for audience segmentation?

You need to validate FilterQL definitions for audience segmentation whenever you create or update segments. Validating filters before deployment minimizes targeting errors and ensures your segment definitions are structurally accurate before sizing.