Team Ownership
Bulk reassignment, auditing, and rep-transition ownership changes for HubSpot CRM records, built on the bulk-operations skill.
- CCM score
- 73 of 100
- skills.sh installs
- 1.9K
- GitHub stars
- 30
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers finding records by owner, reassigning ownership in bulk or per record, and handling workflows when a rep leaves
- Includes search and update commands for contacts, companies, deals, and tickets, plus team-level grouping by
hubspot_owner_id - Enforces a dry-run digest and
--confirmstep before any irreversibleobjects updateis applied - Designed for CRM admins managing ownership changes across HubSpot portals, with
hubspot historyavailable for recovery
Install
$ npx -y skills add hubspot/agent-cli-skills --skill team-ownership -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Prereq: read bulk-operations/SKILL.md first. JSONL piping, pagination, dry-run/digest/confirm, and hubspot history recovery live there. Reshape patterns live in bulk-operations/resources/json-patterns.md.
hubspot_owner_id is a string field on contacts, companies, deals, and tickets. Owners are CRM users — hubspot owners list returns them; there is no teams object, so team-level views are client-side groupings by hubspot_owner_id.
1. Resolve email → owner ID
Never hardcode IDs — they are portal-specific. Resolve, then cache:
FROM_ID=$(hubspot owners list | jq -r 'select(.email=="sarah@company.com") | .id')
TO_ID=$(hubspot owners list | jq -r 'select(.email=="mike@company.com") | .id')
2. Find records for an owner
Same filter across all four object types. Add object-specific --properties for context. Unowned records use the !property form.
Details
- Repository
- github.com/hubspot/agent-cli-skills
- Category
- Sales & CRM
- First seen
- Jul 14, 2026
Questions
What does the team-ownership skill do?
The team-ownership skill assigns and reassigns CRM record ownership, audits who owns which records across contacts, companies, deals and tickets, and handles rep transitions. It is built on the bulk-operations skill, which supplies the JSONL piping and dry-run safety patterns it relies on.
How do I install the team-ownership skill?
Run npx -y skills add hubspot/agent-cli-skills --skill team-ownership -y in a project to install it. Once installed, the agent can resolve owner emails to owner IDs and search records by owner for bulk reassignment.
Does the team-ownership skill reassign records safely?
Yes, reassignment is irreversible, so the skill runs a dry-run first that emits a digest and a confirm value. You then re-run the update with that digest and confirm. If a record is reassigned by mistake, the hubspot history command can list the affected IDs from the last hour.
Where does the team-ownership skill rank in the Sales & CRM category?
The team-ownership skill ranks in the top 100 on the Sales & CRM category page. It covers ownership work that the other skills in the category, such as cold-email and revops, do not cover, namely assigning, reassigning and auditing owners across object types.
More from hubspot/agent-cli-skills
All 15Similar to Team Ownership
More Sales & CRMdeal-managementSkillhubspot/agent-cli-skills1.9K installsFull deal lifecycle from the CLI: discover pipelines, qualify MQLs, bulk-advance deals, hunt stalled ones, and close.
customer-retentionSkillhubspot/agent-cli-skills1.9K installsFind lapsed HubSpot customers through CRM filters and create follow-up tasks in bulk.
hubspot-adminPluginTomGranot/hubspot-admin-skills81 starsComplete HubSpot CRM administration toolkit — audit, clean, enrich, segment, automate, and maintain your database
SkillsmithMCP serversmith-horn78 starsTeam-scoped registry for sharing, security-scanning, and tracking agent skills across installs.