Copydesk

Audience Segment Builder skill for Claude

Turns your customer list into ad audiences and lists of people to keep out

A 4-minute lesson on audiences & bidding, updated on

SKILL.md
140 lines, 2 files in the folder
Works in
claude.ai, Claude Code

These 7 slides give the short version of the lesson

Watch it work

This is one real run on a sample job, replayed as it happened

Read the run as text

Build audience segments from my Shopify customer export. Goal is DR. Platforms: Google + Meta. This is our whole list: 40 customers, hashed IDs, no emails

  • customers.csv40 rows
ClaudeAudience Segment Builder skill
Reading 40 customer rows from customers.csv
Columns found in your export3 passed1 needs a look1 failed
  • passed: total_spend as the value field
  • passed: last_order for recency windows
  • passed: subscription status and refunded flag
  • failed: Email or phone match keys
  • needs a look: GA4 site and cart behavior
Seed audiences
SegmentRuleSize
active-subscriberssubscription = active16
repeat-buyers-90d2+ orders, last order since Sep 119
high-AOVspend per order of $60 or more10
lapsed-91-365dno order in 91 to 365 days, not refunded10

Lookalike seed: the top 25% by total_spend (cut-off $176.16). That is 10 customers holding 55.8% of revenue, 7 of them active subscribers. The platforms expand the seed; it is small, so a top-50% fallback (20 customers) is listed.

Customer lists kept out of ads
  • existing-customers40all prospecting
  • active-subscribers16while active
  • recent-purchasers-30d14median reorder gap is 39 days
  • refunded4removed from every seed
Which audience fits each funnel stage
StageBuilt fromWindow
Prospectlookalike of the 10-row seedn/a
EngagedGA4 visitors (needs input)30 days
IntentGA4 cart and checkout (needs input)7 days
Customerlapsed-91-365d for win-back91 to 365 days

The segment plan is ready

  • 4 seed audiences, each tied to a real column
  • Lookalike seed: 10 customers, 55.8% of revenue
  • 4 exclusion lists with stated windows
  • Needs input: match keys, GA4 data, a fit field beyond refunds

A worked example

Audience seeds and exclusions for a coffee roaster

The request

Build audience segments from my Shopify customer export. Goal is DR. Platforms: Google + Meta. This is our whole list: 40 customers, hashed IDs, no emails

  • customers.csv40 rows

Columns found in your export

  • total_spend as the value field
  • last_order for recency windows
  • subscription status and refunded flag
  • Email or phone match keys
  • GA4 site and cart behavior

Sections of the full answer

  1. Seed audiences
  2. Value-based lookalike seed list
  3. Who to keep out of ads
  4. Audience notes and missing data
  5. Summary

What came back

The segment plan is ready

  • 4 seed audiences, each tied to a real column
  • Lookalike seed: 10 customers, 55.8% of revenue
  • 4 exclusion lists with stated windows
  • Needs input: match keys, GA4 data, a fit field beyond refunds

How it works

Your goal sets the focus

The skill starts by fixing one of three ROAS profiles: direct-response, prospecting or incremental-profit. Their Audience weights are 0.15, 0.30 and 0.10. Prospecting puts the weight on lookalike seeds, while direct-response and incremental-profit put it on exclusions, warm segments and your own value data.

The kinds of audience it builds

Output always comes in four buckets: seed audiences grouped by trait or behavior, value-based lookalike seed lists, exclusion and suppression segments, and a funnel-stage targeting map. Every audience gets a name, a rule, the column it rests on and a size, or Unknown when the size cannot be read. Each figure is labeled Measured, User-provided or Estimated.

Customer lists the platforms grow from

For the lookalike, rows are ranked by your own value field and the top tier is taken as the seed. The skill emits the seed rows themselves and states the seed size, and the ad platform does the expansion. Uploading the finished lists to each ad platform is a separate step and is never needed to build them.

Keeping ads away from recent buyers

Exclusions must cover existing customers and recent purchasers, with the window written out, for example 14 to 30 days. Bad-fit, refunded and unqualified people form a third suppression segment, so spend does not reach people who already converted or never will.

Gaps are flagged rather than filled

If a value or fit column is missing, the affected bucket is marked needs input instead of invented. If the export is only described, the plan still comes back as rules over the described columns with sizes Unknown. Files are treated as untrusted input, and emails or phone numbers are never echoed back.

Rules it follows

Each rule comes from the skill's own instructions, with a line from the sample run where it shows the rule at work

  1. 1

    Missing columns are flagged as needing input rather than guessed

    A segment built on an assumed column would target people who may not exist in your data

  2. 2

    Rank rows by the user's own value field, take the top tier as the seed, and emit the seed rows rather than a platform-specific lookalike key

    The same seed definition then works on any platform, and the platform does the expansion

    In the sample run

    Value-based lookalike seed list

    Ranking field: total_spend (your own lifetime value field)

  3. 3

    Exclusions cover existing customers and recent buyers, with the time window stated

    Without a stated window there is no way to check whether ads still reach people who just bought

  4. 4

    The funnel-stage map is platform-neutral

    One definition of each stage keeps Google, Meta and other platforms targeting the same people

  5. 5

    Emails, phone numbers and other personal data are never repeated back

    Segments are described in aggregate, so a plan can be shared without exposing customers

What you give it and what you get

You give it

  • Customer or CRM export with value or LTV, last purchase date, plan or tier
  • GA4 audience or demographics export (optional)
  • Campaign goal: direct-response, prospecting or incremental-profit
  • Target ad platforms

You get back

  • Named seed audiences, each with the rule and the column behind it
  • A lookalike seed list ranked by your own value or LTV field, with its size
  • Exclusion lists for existing customers, recent buyers and bad-fit leads, with windows
  • A funnel-stage map (prospect, engaged, intent, customer) shared across ad platforms
  • A list of the fields your export is missing

Tasks it fits

  • You are setting up a new paid account and need audiences before campaigns
  • Your ads keep reaching people who bought last week
  • You want one lookalike seed and one exclusion set used on both Google and Meta

Prompts to start with

Here is our Shopify customer export with order totals and last order date. Build the exclusion lists and a lookalike seed for Meta

We sell B2B software and our CRM has plan tier and MRR per account. Which segments should seed prospecting on LinkedIn and Google?

Attached is a GA4 audience report. Map these audiences to funnel stages and tell me where retargeting should stop

Adding it to Claude

Open the zip and read every file before you add it

claude.ai

Download audience-segment-builder.zip, upload it as it is under Settings, Capabilities, Skills and then ask for the job in a new chat

Claude Code

unzip audience-segment-builder.zip -d ~/.claude/skills/

Or move the audience-segment-builder folder from the zip into .claude/skills/ inside one project

Anthropic's help pages Use skills in Claude and Skills in Claude Code explain the steps in more detail

  • audience-segment-builder/
  • CHANGES.md3 KB
  • SKILL.md15 KB

Questions

Does it upload audiences to Google Ads or Meta?

No, it defines the segments and the seed rows, and you upload the lists in each ad platform

What if my export has no customer value column?

The plan still comes back, with the segments that need a value field marked as needing input