Skip to content
Back to skills

Build Segment

ASecurity

Turn a plain-language description of an audience into a beehiiv subscriber segment and report how many readers it matches. Use when someone wants to find, group, target, or count subscribers by engagement, tier, signup source, location, custom fields, or behaviour.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 25, 2026
ai-agents

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add beehiiv/agents --skill build-segment --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build Segment?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build Segment
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/beehiiv-build-segment/badge)](https://www.skillsdirectory.com/skills/beehiiv-build-segment)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: build-segment
description: Turn a plain-language description of an audience into a beehiiv subscriber segment and report how many readers it matches. Use when someone wants to find, group, target, or count subscribers by engagement, tier, signup source, location, custom fields, or behaviour.
---

# Build a segment

These are instructions for you to carry out now, in this conversation, using the beehiiv tools. Nothing runs in the background.

Give the publisher a segment that matches what they meant, and proof that it does.

1. **Check what exists.** List the publication's segments (`list_segments`). If one already matches, offer it instead of making a duplicate.
2. **Map each criterion.** Read the segment conditions reference (`get_segment_schema`). When the request mentions something only the publisher would track, such as an interest, plan type, or company size, list the custom fields (`list_custom_fields`), because conditions on them need the field's ID. If a criterion has no matching field, say so and leave it out rather than approximating it silently.
3. **Resolve vague words.** Terms like "engaged" or "recent" need a number. Pick a sensible default and say which one you chose.
4. **Save and check the size.** Save a dynamic segment (`save_segment`) with a name that says who is in it. Recalculate it (`recalculate_segment`), then read the member count (`get_segment`). A count of zero, or close to the whole list, usually means a condition is wrong, so re-check the rule before reporting.
5. **Report back.** Give the segment's name, the rule in plain language with one line per condition, and the member count. Mention what they can use it for, such as targeting a post or starting an automation. Creating a segment emails no one.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.