# posthog-cohorts-setup

> Create and configure user cohorts for targeted analysis and feature flag targeting

## Directory Structure

```
posthog-cohorts-setup/
├── SKILL.md
└── examples/
    ├── cohort_definitions.json
    ├── behavioral_cohorts.md
    ├── cohort_api.py
    └── targeting_examples.md
```

## File Descriptions

| File | Type | Purpose |
|------|------|---------|
| SKILL.md | Markdown | Core skill instructions for creating and managing PostHog cohorts |
| cohort_definitions.json | JSON | Example cohort configurations with various criteria |
| behavioral_cohorts.md | Markdown | Guide for creating behavior-based dynamic cohorts |
| cohort_api.py | Python | Script to manage cohorts via PostHog API |
| targeting_examples.md | Markdown | Examples of using cohorts for feature flag targeting |

## Summary

**Category:** Operations
**Target Audience:** Product and marketing teams segmenting users for analysis and targeting
**Trigger Phrases:** "posthog cohorts", "create cohort posthog", "user segmentation posthog", "posthog user groups", "behavioral cohort posthog", "target cohort posthog"

---

**Author:** Jeremy Longshore <jeremy@intentsolutions.io>
**License:** MIT
**Version:** 1.0.0
