smart-segmentation

smart-segmentation is a skill for Claude Code, Codex from sendx/email-skills. It costs 26 tokens per session (2,846 once invoked), scanned A, original, MIT.

An email-list planning guide that groups subscribers by shared traits or engagement, so different groups can receive different messages.

In plain words
What is it for?
Planning targeted email campaigns, engagement groups, re-engagement efforts, and subscriber cleanup.
Why use it?
It helps avoid sending irrelevant emails to everyone and makes it easier to identify inactive or highly engaged subscribers.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sendx/email-skills/smart-segmentation
Any agent
npx skills add sendx/email-skills --skill smart-segmentation
Clone the repo
git clone --depth 1 https://github.com/sendx/email-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smart-segmentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/sendx/email-skills/smart-segmentation.svg)](https://agentmods.dev/skills/sendx/email-skills/smart-segmentation)
Your own site
<a href="https://agentmods.dev/skills/sendx/email-skills/smart-segmentation"><img src="https://agentmods.dev/badge/skills/sendx/email-skills/smart-segmentation.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,846 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.02846
Opus 5 $0.00013 $0.01423
Sonnet 5 $0.00005 $0.00569
Haiku 4.5 $0.00003 $0.00285

Measured 5d ago against content hash 135ad56a1ac4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

smart-segmentation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/smart-segmentation/SKILL.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Smart Segmentation

Your Setup — Fill These In for Better Results

This skill gives generic advice by default. Fill in your details below and it will tailor engagement tiers, dormancy windows, and sunset timelines to your business.

  • Industry: [e.g., ecommerce, SaaS, non-profit, content/media]
  • List size: [e.g., 25,000]
  • Sending frequency: [e.g., 2x/week, daily, monthly]
  • Current open rate: [e.g., 22%]
  • Current click rate: [e.g., 3.5%]

What you do

You're the traffic cop of your email list. With thousands of contacts in your database, you can't send everyone the same email—your product people care about features you don't mention to your support team, and new subscribers need onboarding while long-time subscribers need to be re-engaged. Segmentation is how you organize your list so the right person gets the right message. Without it, you're sending irrelevant email to everyone and wondering why engagement is low.

When to activate

Activate this skill when you:

  • Have more than 500 contacts and want to send targeted campaigns
  • Notice people are unsubscribing after receiving irrelevant emails
  • Want to know which segments are most engaged
  • Are building your first email sequences and need to segment audiences
  • Are trying to improve click rates and open rates (not just volume)
  • Need to organize contacts by where they came from, what they bought, or how they behave

Your expertise

Lists vs. Tags vs. Segments: Know the difference

These three tools do different jobs. Use them wrong and you'll waste time.

Lists: Think of a list as a subscription. When someone joins your email list, they opt in to receive emails from that list. You can have multiple lists (Main List, Blog Subscribers, Webinar Attendees, Premium Members). Each list has:

  • Double opt-in (person signs up, confirms email, then they're added). This makes sure you don't accidentally email typos or fake addresses.
  • A confirmation email (lets people know they've subscribed, sets expectations).
  • Per-list analytics (open rate, click rate, unsubscribe rate for that list specifically).

Read the full file on GitHub · 178 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 178 lines · 26 tokens per session scan A 135ad56a1ac4

Subscribe to this mod's changes

smart-segmentation is a skill published in the GitHub repository sendx/email-skills (8 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 2,846 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

email-marketing-bible

Data-backed email marketing skill for AI agents. Use when building or running email automation, driving an ESP from an agent (MCP/connectors), diagnosing deliverability, writing or de-slopping email copy, designing emails, choosing a platform, or pulling benchmarks. Covers AI email automation, flows, deliverability…

CosmoBlk/email-marketing-bible · 93 tokens

upgrading-golang

Upgrades Go version across the entire Chainloop codebase including source files, Docker images, CI/CD workflows, and documentation. Use when the user mentions upgrading Go, golang version, or updating Go compiler version.

chainloop-dev/chainloop · 48 tokens

custom-builtin-functions

Create a custom builtin function to be used in the Rego policy engine.

chainloop-dev/chainloop · 19 tokens

catalyst-center-readonly

Query Cisco Catalyst Center read-only — device inventory, site hierarchy, wireless, assurance health, compliance, software images, events. All 514 read-only API operations reachable through 8 grouped dispatchers. Use when asked what Catalyst Center manages, where a device sits, what its health or compliance state is…

automateyournetwork/netclaw · 78 tokens

playwright-best-practices

Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions…

currents-dev/playwright-best-practices-skill · 214 tokens

huawei-cloud-ucs-policy-governor

Huawei Cloud UCS (Ubiquitous Cloud Native Service) policy governance and compliance management skill using hcloud CLI. Use this skill when the user wants to: (1) manage UCS policy instances - create/update/query/delete, (2) manage UCS policy definitions - query/list, (3) enable/disable policies on clusters or fleet…

huaweicloud/huaweicloud-skills · 215 tokens