Skip to content

Read-only CRM lookup that finds records by ID, email, domain, or name fragment and traverses associations.

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

Own this skill? Claim it

What it does

  • Covers finding contacts, companies, deals, and tickets, then pulling their associated records for a full account picture
  • Uses hubspot objects get and objects search with exact-match email and domain filters, plus token-based name search narrowed with jq
  • Batches up to ~100 IDs per call and pipes association lists into batch gets to avoid one process per record
  • Designed for CRM users who need quick record lookups, and defers pagination and any follow-up writes to bulk-operations

Install

$ npx -y skills add hubspot/agent-cli-skills --skill crm-lookup -y

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

Files

Source of truth

hubspot <command> --help is authoritative. Read bulk-operations/SKILL.md first — it owns JSONL piping, pagination, batch-get-via-stdin, and the safety flow for any write that comes after a lookup. This skill is read-only.

Pick properties from the live schema

Schemas drift. Run hubspot properties list --type <type> for the live set. First-pass --properties for a brief:

Object--properties
contactsemail,firstname,lastname,company,phone,lifecyclestage,hubspot_owner_id
companiesname,domain,industry,annualrevenue,numberofemployees,hubspot_owner_id
dealsdealname,amount,dealstage,closedate,hubspot_owner_id,hs_is_closed_won
ticketssubject,hs_pipeline_stage,hs_ticket_priority,hubspot_owner_id

Contact ad/campaign attribution lives on hs_analytics_* (e.g. hs_analytics_source, hs_analytics_source_data_1/_2, hs_analytics_first_touch_converting_campaign, hs_analytics_last_touch_converting_campaign). Full list: hubspot properties list --type contacts | grep hs_analytics_.

1. Lookup by ID

Up to ~100 IDs in a single batch call:

Details

Repository
github.com/hubspot/agent-cli-skills
Category
Sales & CRM
First seen
Jul 14, 2026

Questions

Which skills lead the Sales & CRM category, and where does crm-lookup stand?

The crm-lookup skill ranks in the top 50 on the Sales & CRM category page, alongside skills such as cold-email, sales-enablement, revops, prospecting and firecrawl-lead-gen. It is a read-only skill that finds a specific CRM record by ID, email, domain or name fragment and then traverses its associations.

How do I find a HubSpot contact by email with crm-lookup?

The skill runs an exact-match search such as hubspot objects search --type contacts --filter "email=jane@acme.com" with a list of properties. Email and domain matches are exact, so the skill tells the agent to normalize them to lowercase first.

How do I install crm-lookup and what does it let the agent do?

Run npx -y skills add hubspot/agent-cli-skills --skill crm-lookup -y in a project to install it. Once installed, the agent can look up contacts, companies and deals by ID, email, domain or partial name and pull the contacts, deals or company linked to a record.

Does crm-lookup need the hubspot CLI and a HubSpot account?

The skill calls the hubspot agent CLI for every command, so that CLI must be available and pointed at a HubSpot account. It is separate from the hs developer CLI used for building apps and themes. The skill itself makes read-only calls only.

Can crm-lookup find contacts at a company or open deals for a contact?

Yes, it chains an associations list call into an objects get batch call to return all contacts at a company or deals linked to a contact. Open deals are filtered on the client side, since what counts as open varies by pipeline.

More from hubspot/agent-cli-skills

All 15

Similar to Crm Lookup

More Sales & CRM