/sir-albert:hubspot-safetyfrom Sir Albert
HubSpot API-safety check. Before shipping a workflow or code that calls HubSpot, scan for deprecated v1 endpoints and flag them with current v3 replacements so nothing silently breaks in production. Triggers: "hubspot safety", "check hubspot api", "is this hubspot endpoint deprecated", "hubspot v1 migration", "before I ship this HubSpot workflow".
Ships in Sir Albert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Boot from os/PREAMBLE.md.
Catch deprecated HubSpot API calls before they ship to a production workflow or integration. The v1/v2 → v3 migration has left many endpoints silently returning errors or returning deprecated data shapes. This skill scans workflow JSON, code, or HTTP node configs and flags every call that will break.
HubSpot deprecated its v1 (and most v2) CRM APIs in 2023–2024. Workflows built on the old
endpoints continue to authenticate successfully but return stale data, wrong field names, or
410 Gone errors — often without a loud failure. An n8n workflow calling
/contacts/v1/contact/email/:email/profile may run for months before an ops team notices
contacts are silently not syncing.
TODO(gal): paste the authoritative HubSpot v1→v3 deprecation list here once you have the canonical source. The table below is a working summary — verify against https://developers.hubspot.com/changelog before relying on it in production.
| Deprecated pattern | Replacement |
|---|---|
/contacts/v1/… | /crm/v3/objects/contacts/… |
/contacts/v2/… | /crm/v3/objects/contacts/… |
/companies/v2/… | /crm/v3/objects/companies/… |
/deals/v1/… | /crm/v3/objects/deals/… |
/engagements/v1/… | /crm/v3/objects/engagements/… (or type-specific: calls, emails, meetings) |
/owners/v2/… | /crm/v3/owners/… |
/pipelines/v1/… | /crm/v3/pipelines/… |
/properties/v1/… | /crm/v3/properties/… |
/lists/v1/… | /crm/v3/lists/… (Lists v3, GA 2024) |
/email/public/v1/… | /marketing/v3/emails/… |
/marketing/v1/… | /marketing/v3/… |
/forms/v2/… | /marketing/v3/forms/… |
hapikey= query param auth | Private App token (Bearer) or OAuth |
The hapikey query-parameter authentication method is fully deprecated. Any URL or header
containing ?hapikey= or hapikey= must be replaced with a Private App access token
passed as Authorization: Bearer <token>.
Accept any of: n8n workflow JSON, raw HTTP node config, Python/JS code, or a plain list of endpoint URLs. If nothing is pasted, ask.
Look for:
api.hubapi.com or api.hubspot.comnodes-base.hubspot) — check resource + operation for v1 internals/v1/, /v2/ after a HubSpot domainhapikey, HAPI_KEY, hub_api_keyFor each deprecated call found:
DEPRECATED GET /contacts/v1/contact/email/:email/profile
Replace with: GET /crm/v3/objects/contacts/:contactId?idProperty=email
Notes: Response shape changed — `properties` is now a flat object, not nested under `properties.data`.
`vid` field is replaced by `id`.
Include the HTTP method, the old path, the new path, and any response shape changes that will require downstream mapping updates.
If hapikey is used anywhere:
DEPRECATED AUTH hapikey query parameter
Replace with: Authorization: Bearer <private-app-token>
Action: Create a Private App in HubSpot Settings > Integrations > Private Apps,
grant the required scopes, and store the token as a credential.
End with a clear verdict:
nodes-base.hubspot node
may internally call v1 APIs depending on the n8n version. Note this risk when the native
node is in use.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gal-tab/sir_albert --plugin sir-albert42 skills in this plugin
/board-of-advisorsAssemble a virtual "Board of Advisors" offering 4 distinct perspectives on a problem, decision, or strategy. Use when the user asks for "board of advisors", "multiple perspectives", "evaluate this decision from different angles", or "4 points of view"./brainstormUse when exploring angles, sharpening thinking, attacking a plan, running a panel of advisors, drilling an idea with relentless questions, zooming out on context, designing a solution, or receiving a context dump asking for your opinion or a recommendation. Triggers on: "brainstorm this", "grill this", "attack this", "zoom out", "play devil's advocate", "let's design this", "board of advisors", "sharpen this", "stress test this", "find holes in this", "fresh perspective", "4 perspectives", "want to build X", "want to understand what's happening", "look at this and advise", "what's really going on here", "here's the situation"./buildOther plugins' skills for the same job