Skip to content
hubspot avatar

Audience Targeting

Targeted contact segmentation by lifecycle, engagement, jobtitle, geography, or firmographics, exported as JSONL.

CCM score
75 of 100
skills.sh installs
1.9K
GitHub stars
30
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers filtering contacts on lifecycle stage, email engagement, job title, country, city, and deal association through hubspot objects search
  • Includes company-to-contact traversal that filters companies by industry and numberofemployees before pulling their associated contacts in batches
  • Enforces the CRM search limits of 5 filter groups, 6 conditions per group, and 18 total, with @= and @!= for enum lists
  • Designed for marketing and sales teams that need to size, save, and export audiences as JSONL or HubSpot lists and views

Install

$ npx -y skills add hubspot/agent-cli-skills --skill audience-targeting -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Foundation

Read bulk-operations/SKILL.md first — pagination, JSONL piping, destructive-op safety. Reshape recipes in bulk-operations/resources/json-patterns.md. Resource: resources/contact-segmentation-filters.md is the filter-expression cookbook (lifecycle, lead status, email engagement, activity, deals, owner).

Filter syntax cheat sheet

Source of truth: hubspot objects search --help.

Details

Repository
github.com/hubspot/agent-cli-skills
Categories
Sales & CRM, Marketing, SEO & Ads
First seen
Jul 14, 2026

Questions

What does the audience-targeting skill do?

It builds a targeted contact segment by filtering on lifecycle stage, engagement, job title, geography or firmographics. The segment can then be exported as JSONL for a campaign or a downstream tool.

How do I install the audience-targeting skill?

Run npx -y skills add hubspot/agent-cli-skills --skill audience-targeting -y in your project. Once installed, the agent can use the hubspot CLI to search contacts with filters and save the results as a reusable segment file.

Where does audience-targeting rank in the Sales & CRM category?

It ranks in the top 100 of the Sales & CRM category on Claude Marketplaces. Its sibling skills in that category include cold-email, sales-enablement, revops, prospecting and firecrawl-lead-gen.

Can audience-targeting segment contacts by company industry or size?

Yes, it targets companies by industry and employee count first, then traverses their associations to pull the contacts at those companies. Firmographic fields like industry live on companies, so the skill handles that cross-object step.

Can I save an audience inside HubSpot instead of as a file?

Yes, the skill can save an audience as a HubSpot list or view using the segments and views commands. It can also count matching contacts before you save or export them.

More from hubspot/agent-cli-skills

All 15

Similar to Audience Targeting

More Sales & CRM