aiconfig-segments

Official

Group contexts for targeted AI Config rules.

Authorlaunchdarkly-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Segmenting contexts for AI Config targeting simplifies reusability and reduces configuration duplication by grouping users, organizations, devices, and other contexts into logical units.

Core Features & Use Cases

  • Segment creation: Define a reusable segment with a unique key, name, and description.
  • Rule-based targeting: Attach one or more rules to a segment to control inclusion criteria using LaunchDarkly operators.
  • Segment management: List, view, update, and delete segments across environments.
  • Apply in AI Configs: Reference segments in aiconfig-targeting to apply consistent targeting across multiple AI Configs.

Quick Start

Create a segment named 'ai-beta-testers' with a description and then add a rule that selects users with beta_opted_in set to true. Then reference the segment in a targeting rule to assign variations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: aiconfig-segments
Download link: https://github.com/launchdarkly-labs/aiconfigs-skills/archive/main.zip#aiconfig-segments

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.