skills/integrations/hubspot/hubspot-master/SKILL.md
Shared resource library for HubSpot integration skills. DO NOT load directly - provides common references (setup, API docs, error handling, authentication) and scripts used by hubspot-connect and individual HubSpot skills.
npx skillsauth add beam-ai-team/beam-next-skills hubspot-masterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This is NOT a user-facing skill. It's a shared resource library referenced by HubSpot integration skills.
This shared library may read and mutate HubSpot CRM data. Before scripts create/update/archive records, log engagements, change associations, or export data, show the portal/account, target records, payload summary, destination path when used, and expected side effects. Require explicit user approval in the current turn before mutating HubSpot or writing files. Config checks and read-only list/search operations do not require additional approval after scope is confirmed.
Provides shared resources to eliminate duplication across:
hubspot-connect - Meta-skill for HubSpot CRM operationshubspot-list-contacts - List contactshubspot-create-contact - Create contacthubspot-update-contact - Update contacthubspot-search-contacts - Search contactshubspot-list-companies - List companieshubspot-create-company - Create companyhubspot-search-companies - Search companieshubspot-list-deals - List dealshubspot-create-deal - Create dealhubspot-update-deal - Update dealhubspot-search-deals - Search dealshubspot-get-associations - Get CRM associationshubspot-list-emails - List email engagementshubspot-log-email - Log email engagementhubspot-list-calls - List call engagementshubspot-log-call - Log call engagementhubspot-list-notes - List noteshubspot-create-note - Create notehubspot-list-meetings - List meetingshubspot-create-meeting - Create meetingInstead of loading this skill, users directly invoke the specific skill they need above.
Problem solved: HubSpot skills would have duplicated content (setup instructions, API docs, auth flow, error handling).
Solution: Extract shared content into hubspot-master/references/ and hubspot-master/scripts/, then reference from each skill.
Result: Single source of truth, reduced context per skill.
All HubSpot skills reference these resources (progressive disclosure).
setup-guide.md - Complete setup wizard
api-reference.md - HubSpot API patterns
error-handling.md - Troubleshooting
authentication.md - Token management
check_hubspot_config.py - Pre-flight validation
uv run python check_hubspot_config.py [--json]
| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| --json | No | False | Output structured JSON for AI consumption |
Exit codes: 0=configured, 1=partial, 2=not configured
When to Use: Run this FIRST before any HubSpot operation. Use to validate access token is configured, diagnose authentication issues, or check if setup is needed.
setup_hubspot.py - Interactive setup wizard
uv run python setup_hubspot.py
No arguments - runs interactively. Guides through Private App setup, tests connection, saves to .env.
When to Use: Use when HubSpot integration needs initial setup, when check_hubspot_config.py returns exit code 2, or when user needs to reconfigure credentials.
list_contacts.py - List contacts (GET /crm/v3/objects/contacts)
uv run python list_contacts.py [--limit N] [--properties PROPS] [--after CURSOR] [--json]
| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| --limit | No | 10 | Number of results (max 100) |
| --properties | No | email,firstname,lastname | Comma-separated properties |
| --after | No | - | Pagination cursor |
| --json | No | False | Output as JSON |
When to Use: Use when user says "list contacts", "get contacts", "show contacts".
create_contact.py - Create contact (POST /crm/v3/objects/contacts)
uv run python create_contact.py --email EMAIL [--firstname NAME] [--lastname NAME] [--phone PHONE] [--company COMPANY] [--json]
| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| --email | Yes | - | Contact email address |
| --firstname | No | - | First name |
| --lastname | No | - | Last name |
| --phone | No | - | Phone number |
| --company | No | - | Company name |
| --json | No | False | Output as JSON |
When to Use: Use when user says "create contact", "add contact", "new contact".
update_contact.py - Update contact (PATCH /crm/v3/objects/contacts/{id})
uv run python update_contact.py --id CONTACT_ID [--email EMAIL] [--firstname NAME] [--lastname NAME] [--phone PHONE] [--json]
| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| --id | Yes | - | Contact ID to update |
| --email | No | - | New email |
| --firstname | No | - | New first name |
| --lastname | No | - | New last name |
| --phone | No | - | New phone |
| --json | No | False | Output as JSON |
When to Use: Use when user says "update contact", "edit contact", "modify contact".
search_contacts.py - Search contacts (POST /crm/v3/objects/contacts/search)
uv run python search_contacts.py [--email EMAIL] [--name NAME] [--company COMPANY] [--limit N] [--json]
| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| --email | No | - | Search by email |
| --name | No | - | Search by name (first or last) |
| --company | No | - | Search by company |
| --limit | No | 10 | Max results |
| --json | No | False | Output as JSON |
When to Use: Use when user says "search contacts", "find contact", "lookup contact".
list_companies.py - List companies (GET /crm/v3/objects/companies)
uv run python list_companies.py [--limit N] [--properties PROPS] [--after CURSOR] [--json]
When to Use: Use when user says "list companies", "get companies", "show companies".
create_company.py - Create company (POST /crm/v3/objects/companies)
uv run python create_company.py --name NAME [--domain DOMAIN] [--industry INDUSTRY] [--json]
When to Use: Use when user says "create company", "add company", "new company".
search_companies.py - Search companies (POST /crm/v3/objects/companies/search)
uv run python search_companies.py [--name NAME] [--domain DOMAIN] [--industry INDUSTRY] [--limit N] [--json]
When to Use: Use when user says "search companies", "find company", "lookup company".
list_deals.py - List deals (GET /crm/v3/objects/deals)
uv run python list_deals.py [--limit N] [--properties PROPS] [--after CURSOR] [--json]
When to Use: Use when user says "list deals", "get deals", "show deals", "show pipeline".
create_deal.py - Create deal (POST /crm/v3/objects/deals)
uv run python create_deal.py --name NAME [--amount AMOUNT] [--stage STAGE] [--pipeline PIPELINE] [--json]
When to Use: Use when user says "create deal", "add deal", "new deal", "new opportunity".
update_deal.py - Update deal (PATCH /crm/v3/objects/deals/{id})
uv run python update_deal.py --id DEAL_ID [--name NAME] [--amount AMOUNT] [--stage STAGE] [--json]
When to Use: Use when user says "update deal", "edit deal", "change deal stage".
search_deals.py - Search deals (POST /crm/v3/objects/deals/search)
uv run python search_deals.py [--name NAME] [--stage STAGE] [--min-amount N] [--max-amount N] [--limit N] [--json]
When to Use: Use when user says "search deals", "find deal", "lookup deal".
get_associations.py - Get associations (GET /crm/v4/objects/{type}/{id}/associations/{toType})
uv run python get_associations.py --object-type TYPE --object-id ID --to-type TO_TYPE [--json]
When to Use: Use when user says "get associations", "linked records", "related contacts".
list_emails.py - List email engagements log_email.py - Log email engagement list_calls.py - List call engagements log_call.py - Log call engagement list_notes.py - List notes create_note.py - Create note list_meetings.py - List meetings create_meeting.py - Create meeting
When a HubSpot skill fails due to missing configuration, the AI should:
uv run python skills/integrations/hubspot/hubspot-master/scripts/check_hubspot_config.py --json
ai_action Field| ai_action | What to Do |
|-----------|------------|
| proceed_with_operation | Config OK, continue with the original operation |
| prompt_for_access_token | Ask user: "I need your HubSpot access token. Create a Private App to get one." |
| create_env_file | Create .env file and ask user for credentials |
| add_missing_scopes | Guide user to add scopes in HubSpot Private App settings |
| verify_token | Token exists but connection failed - verify it's correct |
If ai_action is prompt_for_access_token:
.env:
HUBSPOT_ACCESS_TOKEN=pat-na1-their-token-here
Required in .env:
HUBSPOT_ACCESS_TOKEN=pat-na1-xxxxxxxxxxxxx
All API requests go to: https://api.hubapi.com
Version: 1.0 Created: 2025-12-13 Status: Production Ready
tools
Build a Palantir-shape, PDF-native use-case proposal document for a sophisticated enterprise account: research-grounded use cases (each with description, challenge, impact, value), an operating-graph ontology page, a recommended PoC with a week-by-week plan, and a closing page that asks for one decision. Load when a client asks us to 'propose high-impact use cases', requests a use-case presentation/catalog for a function (finance, HR, ops), or when a technical evaluation team will review candidates to pick a PoC. NOT for single-account cold outreach (use prospect-brief), full process diagnostics (use operating-diagnostic), or priced proposals (use proposal-creation).
development
Convert Beam Figma slide designs into high-fidelity, editable HTML presentation decks. Use when Codex is asked to audit Figma slides, extract slide templates, rebuild Beam slides as HTML decks, decide whether Figma imagery should be exported or rebuilt in HTML/CSS, create Beam/Prism-compatible deck templates, or improve fidelity of existing Beam HTML slide rebuilds.
development
Use the Beam AI reusable slide library: individual HTML slide templates extracted from Beam Figma rebuilds, kept separate from deck themes and full deck templates. Load when the user asks for a slide library, specific Beam slide patterns, reusable Figma-inspired slides, Prism slide-library items, or slide-level HTML templates.
development
Use Beam AI deck and report design packs, HTML templates, and curated examples to create sales decks, customer intro decks, RPO decks, and DIN A4 use-case proposal reports. Load when the user asks for Beam-branded presentation templates, Prism-compatible deck templates, Beam report templates, customer intro decks, commercial proposals, or reusable HTML deck/report examples.