hubspot avatar

Crm Data Quality

If you've ever inherited a HubSpot CRM with duplicate contacts, half-empty fields, and "Acme Inc" spelled six different ways, this is your cleanup toolkit. It wraps the HubSpot CLI to find incomplete records with property filters, normalize values in bulk through JSONL pipes, and merge duplicates with the native merge API. The deduplication logic is straightforward but requires pagination to catch duplicates that span API pages, which the docs walk through clearly. Everything routes through a dry run, digest, and confirm flow borrowed from the bulk-operations skill, so you won't accidentally merge 500 contact pairs without a preview. Merges are irreversible, but the history command gives you an audit trail.

skills.sh installs
1.9K
GitHub stars
29
last updated
Aug 21, 2026

Install

$ npx -y skills add hubspot/agent-cli-skills --skill crm-data-quality --agent claude-code

Installs into .claude/skills of the current project.

Files

Read bulk-operations/SKILL.md first — JSONL piping, batch read, pagination, and dry-run/digest/confirm gating apply to every command below.

Property discovery

Don't guess property names. List them:

hubspot properties list --type contacts --format table
hubspot properties list --type contacts | jq -c 'select(.type=="enumeration") | {name, label}'

Same for --type companies, deals, or any custom type (hubspot objects types).

1. Find incomplete records

!name = NOT_HAS_PROPERTY (missing or empty). Bare name = HAS_PROPERTY. Within one --filter, chain with AND; multiple --filter flags are OR'd.

hubspot objects search --type contacts --filter "!email" --properties firstname,lastname,company
hubspot objects search --type contacts --filter "!phone AND !mobilephone" --properties email
hubspot objects search --type contacts --filter "!hubspot_owner_id" --properties email,lifecyclestage

For >100 results, use the pagination loop from bulk-operations.

2. Normalize field values

Sponsors

Details

Repository
github.com/hubspot/agent-cli-skills
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building, Sales & Marketing, CLI & Terminal
First seen
Jul 14, 2026

More from hubspot/agent-cli-skills

All 15
1buildgreatproducts avatardesign-systembuildgreatproducts/builder-osTranslates an image (or a set of image references — screenshots, mockups, Figma URLs, live websites) into two mirrored design-system artifacts: `docs/design.md`1.9Kskills.sh installs
2forcedotcom avatarintegrating-b2b-commerce-open-code-componentsforcedotcom/sf-skillsIntegrate Salesforce B2B Commerce open source components from GitHub into B2B Commerce stores. Use when users mention "integrate open code components", "open so1.9Kskills.sh installs
3brightdata avatarseo-auditbrightdata/skillsWhen the user wants to audit, review, or diagnose SEO issues on their site. Uses live web data via the Bright Data CLI for accurate detection of JS-injected sch1.9Kskills.sh installs
4resciencelab avatarbanner-creatorresciencelab/opc-skillsCreate banners using AI image generation. Discuss format/style, generate variations, iterate with user feedback, crop to target ratio. Use when user wants to cr1.8Kskills.sh installs
5lingzhi227 avatarpaper-revisionlingzhi227/agent-research-skillsRevise papers based on reviewer feedback. Map reviewer concerns to specific sections, apply targeted edits, run additional experiments if needed, and verify imp1.8Kskills.sh installs
6master-cai avatarresearch-paper-writingmaster-cai/research-paper-writing-skillsImprove academic paper writing quality for ML/CV/NLP-style papers with clear section structure, paragraph flow, and reviewer-facing presentation. Use when draft1.8Kskills.sh installs