
Audience Targeting
Pulls contact segments from HubSpot by filtering on lifecycle stage, engagement, job title, geography, or firmographics, then exports to JSONL for campaigns or downstream tools. The skill handles the filter syntax quirks (token matching with tilde, cross-object company-to-contact traversal for industry filters, batching to avoid per-record API hits) and follows the bulk operations safety patterns with dry-run digests. Saves segments as reusable JSONL files you can re-query or update later. One honest take: the cross-object company filtering recipe is the most useful part since firmographic data lives on a different object and the naive approach kills your rate limit.
- skills.sh installs
- 1.8K
- GitHub stars
- 29
- last updated
- Aug 21, 2026
Install
$ npx -y skills add hubspot/agent-cli-skills --skill audience-targeting --agent claude-codeInstalls into .claude/skills of the current project.
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.
Sponsors
Details
- Repository
- github.com/hubspot/agent-cli-skills
- Categories
- DevOps & CI/CD, AI & Agent Building, Sales & Marketing, CLI & Terminal
- First seen
- Jul 14, 2026