Skip to content

Foundation patterns for the hubspot CLI covering JSONL piping, batch reads, pagination, and guarded destructive writes.

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

Own this skill? Claim it

What it does

  • Covers paginated reads, batch reads, JSONL write pipelines, and hubspot history for recovery of changes
  • Includes resources/pagination-loop.sh for collecting every page into one JSONL file and resources/json-patterns.md for reshaping payloads with jq
  • Enforces a dry-run, digest, and confirm sequence for irreversible writes at any row count, and forbids per-record xargs spawning
  • Designed as the base layer that other HubSpot CLI skills build on for bulk CRM work

Install

$ npx -y skills add hubspot/agent-cli-skills --skill bulk-operations -y

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

Files

Resources

FileWhen to use
resources/json-patterns.mdReshape patterns for turning a read into an update payload, a search into a delete list, a CSV into an upsert stream.

Source of truth

This is the hubspot agent CLI; the hs developer CLI (@hubspot/cli) is a different tool and does not manage CRM data or workflows. hubspot <command> --help is authoritative. If anything in this file contradicts --help, trust --help and tell the user. Run hubspot objects types once at the start of a session to see what object types exist in this portal (standard + custom).

Submit Feedback

Use the hubspot feedback command to send a message to the owners of this CLI tool. Pass --source agent so it's attributed to agent traffic (it defaults to user):

hubspot feedback "batch upsert timed out on 5k rows" --source agent

This can be anything from:

Details

Repository
github.com/hubspot/agent-cli-skills
Categories
Sales & CRM, Databases, CLI & Terminal
First seen
Jul 14, 2026

Questions

What does the bulk-operations skill do?

The bulk-operations skill is the foundation for the hubspot agent CLI, covering JSONL piping, batch reads, pagination, and dry-run, digest and confirm steps for destructive operations. It also covers hubspot history for recovery. Other HubSpot skills build on these patterns.

How do I install the bulk-operations skill for Claude Code?

Run npx -y skills add hubspot/agent-cli-skills --skill bulk-operations -y in your project. The install adds the bulk-operations skill so your agent can follow its batch and pagination patterns when working with HubSpot records.

Where does bulk-operations rank among Sales & CRM skills?

It 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 stands apart by covering the shared foundation patterns that the other HubSpot skills depend on.

Does bulk-operations let me safely delete or merge many HubSpot records?

Yes, it requires a two-step dry-run, digest and confirm flow before irreversible writes such as delete, merge and update. This applies at any row count, so each destructive batch is previewed before it is applied.

More from hubspot/agent-cli-skills

All 15

Similar to Bulk Operations

More Sales & CRM