Hubspot custom objects
Skill dipankar/hubspot-cli/assets/skills/hubspot-custom-objects
Use when the user works with HubSpot custom object schemas and records (portal-defined object types beyond contacts/companies/deals/tickets) via the `hubspot` command-line tool.From its SKILL.md
npx -y skills add dipankar/hubspot-cli --skill hubspot-custom-objectsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
4 things to look at
- skips confirmationTells the agent to proceed without asking first, 1 time: "--yes".
- reads credentialsReads from 1 credential source: `HUBSPOT_ACCESS_TOKEN`.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 8 commands, including `hubspot crm custom-objects list-types` and 7 more.
SKILL.md
2.0 KB, 474 tokens by cl100k_base, as published. Nobody here has run it
HubSpot Custom Objects (via hubspot CLI)
Custom objects are portal-specific object types beyond the built-in ones. Always discover the schema before operating on records.
Auth
Set HUBSPOT_ACCESS_TOKEN. Optional --profile <name>.
Discovery first
# List every custom object type in the portal
hubspot crm custom-objects list-types
# List properties on a type (replace <type>)
hubspot discover properties <type>
Type names look like p12345_cars or a fully-qualified 2-12345 object-type id. Use whatever list-types returns.
Canonical commands
| Intent | Command |
|---|---|
| List schemas | hubspot crm custom-objects list-types |
| List records | hubspot crm custom-objects list <type> --limit 20 |
| Get | hubspot crm custom-objects get <type> <id> |
| Create | hubspot crm custom-objects create <type> --properties '{"name":"X","vin":"ABC"}' |
| Update | hubspot crm custom-objects update <type> <id> --properties '{"name":"Y"}' |
| Delete | hubspot crm custom-objects delete <type> <id> --yes |
Associations
Custom-object records can associate to any standard object:
hubspot crm associations create <type> <id> contacts 67890
hubspot crm associations list <type> <id> deals
Output / errors
Envelope matches other CRM objects. Extra error code to handle: SCHEMA_NOT_FOUND (exit 6) — the <type> argument is wrong; run list-types.
Scopes
- Read:
crm.schemas.custom.read,crm.objects.custom.read - Write:
crm.schemas.custom.write,crm.objects.custom.write
Tips
- Custom object type names are portal-specific. Never hard-code a type in a reusable script — discover first.
- Required properties on create vary per schema. If a create returns
VALIDATION_ERROR, runhubspot discover properties <type>and look for"required": true.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.