hubspot
Skill38 starsChanged 8 months agoMITView on GitHub
Manage HubSpot contacts, companies, deals and pipelines via CRM API
11 other projects use a version of this.
Adopted by
Most recently taken up by
- oivanfelipe/claude-skillstheir own version, first seen Nov 8, 2026
- thensls/nsls-builder-toolkittheir own version, first seen Nov 8, 2026
- Shanksg/clawskillstheir own version, first seen Nov 1, 2026
- HybridAIOne/hybridclawtheir own version, first seen Oct 13, 2026
- jholhewres/devclaw-skillstheir own version, first seen Oct 9, 2026
- windsor-ai/claude-windsor-ai-plugintheir own version, first seen Sep 24, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- OpenClaudia/openclaudia-skills★ 731same name
- refly-ai/refly-skills★ 204same name
- HybridAIOne/hybridclaw★ 159same name
- apideck-libraries/api-skills★ 4same name
- jholhewres/devclaw-skills★ 4same name
- promptmetrics/hubspot-claude★ 4same name
- Shanksg/clawskills★ 2same name
- windsor-ai/claude-windsor-ai-plugin★ 1same name
- G-HunterAi/openclaw-skills★ 0same name
- oivanfelipe/claude-skills★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- abacatepaySkill
- appsignalSkill
- clickupSkill
- cloudflareSkill
- cloudinarySkill
- datadogSkill
- digitaloceanSkill
- discordSkill
- firebaseSkill
- flyioSkill
- google-sheetsSkill
- herokuSkill
- honeybadgerSkill
- hostingerSkill
- intercomSkill
- jiraSkill
- linearSkill
- mercadopagoSkill
- n8nSkill
- notionSkill
- openaiSkill
- planetscaleSkill
- posthogSkill
- railwaySkill
- resendSkill
- rewriteSkill
- sentrySkill
- shopifySkill
- slackSkill
- stripeSkill
- supabaseSkill
- trelloSkill
- twilioSkill
- vercelSkill
- xSkill
- zendeskSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
If the output is OK, proceed to the Flow section.
- Very specific: line 42
If the output is SETUP_NEEDED, guide the user step by step.
- Distinctive: line 62
If the script outputs an error, the token is invalid.
- Distinctive: line 72
Start by listing contacts, companies or deals based on what the user needs:
- Very specific: line 80
If $ARGUMENTS contains a name or keyword, search for it:
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/hubspot
Connect to HubSpot CRM to manage contacts, companies, deals, pipelines and more. Pure Ruby, zero gems — stdlib only.
Structure
scripts/
├── auth.rb # Bearer token auth + hubspot_request helper (required by all scripts)
├── check_setup.rb # Check if token exists (outputs OK or SETUP_NEEDED)
├── save_token.rb # Save and validate a private app token
├── contacts.rb # List contacts
├── contact.rb # Get contact details
├── create_contact.rb # Create a contact
├── update_contact.rb # Update a contact
├── companies.rb # List companies
├── company.rb # Get company details
├── deals.rb # List deals
├── deal.rb # Get deal details
├── create_deal.rb # Create a deal
├── search.rb # Search CRM objects (contacts, companies, deals, tickets)
├── pipelines.rb # List pipelines and stages
├── owners.rb # List owners
└── notes.rb # List notes for a contact, company or dealSetup (check before using)
ruby ~/.claude/skills/hubspot/scripts/check_setup.rbIf the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user to create a private app token:
You need a HubSpot private app access token.
- Go to Settings > Integrations > Private Apps in your HubSpot account
- Or open: https://app.hubspot.com/private-apps/
- Click Create a private app, give it a name (e.g. "hitank")
- Under Scopes, select:
crm.objects.contacts.read,crm.objects.contacts.write,crm.objects.companies.read,crm.objects.companies.write,crm.objects.deals.read,crm.objects.deals.write,crm.objects.owners.read- Click Create app and copy the access token
Paste the token here.
Step 2 — When the user pastes the token, save it:
ruby ~/.claude/skills/hubspot/scripts/save_token.rb 'PASTED_TOKEN'If the script outputs an error, the token is invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
Flow
The argument $ARGUMENTS may contain a contact name, company or deal reference.
Step 1: Overview
Start by listing contacts, companies or deals based on what the user needs:
ruby ~/.claude/skills/hubspot/scripts/contacts.rb
ruby ~/.claude/skills/hubspot/scripts/companies.rb
ruby ~/.claude/skills/hubspot/scripts/deals.rbIf $ARGUMENTS contains a name or keyword, search for it:
ruby ~/.claude/skills/hubspot/scripts/search.rb contacts "search query"Step 2: Details
ruby ~/.claude/skills/hubspot/scripts/contact.rb CONTACT_ID
ruby ~/.claude/skills/hubspot/scripts/company.rb COMPANY_ID
ruby ~/.claude/skills/hubspot/scripts/deal.rb DEAL_IDStep 3: Actions
Search CRM objects:
ruby ~/.claude/skills/hubspot/scripts/search.rb contacts "john"
ruby ~/.claude/skills/hubspot/scripts/search.rb companies "acme"
ruby ~/.claude/skills/hubspot/scripts/search.rb deals "enterprise"Create a contact (requires user confirmation):
ruby ~/.claude/skills/hubspot/scripts/create_contact.rb "email@example.com" --firstname John --lastname Doe --company "Acme"Update a contact (requires user confirmation):
ruby ~/.claude/skills/hubspot/scripts/update_contact.rb CONTACT_ID '{"phone":"+5511999999999","company":"Acme"}'Create a deal (requires user confirmation):
ruby ~/.claude/skills/hubspot/scripts/create_deal.rb "Deal Name" --stage appointmentscheduled --amount 5000 --closedate 2026-12-31List pipelines and stages:
ruby ~/.claude/skills/hubspot/scripts/pipelines.rb
ruby ~/.claude/skills/hubspot/scripts/pipelines.rb ticketsList owners:
ruby ~/.claude/skills/hubspot/scripts/owners.rbList notes:
ruby ~/.claude/skills/hubspot/scripts/notes.rb contacts CONTACT_ID
ruby ~/.claude/skills/hubspot/scripts/notes.rb deals DEAL_IDPagination — use --after CURSOR to paginate through results:
ruby ~/.claude/skills/hubspot/scripts/contacts.rb --limit 20 --after CURSOR_VALUENotes
- Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
- Auth via Bearer token (HubSpot private app)
- Token file:
~/.config/hubspot/token(outside the repo, never commit) - Creating and updating contacts, companies, and deals require explicit user confirmation
- HubSpot CRM API v3 uses cursor-based pagination
- Rate limit: 100 requests per 10 seconds (private apps)
- Base URL:
https://api.hubapi.com
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

