← スキル一覧に戻る

hubspot
by ASU-LE
Consolidated Claude Code plugins for ASU Learning Enterprise - Canvas LMS, Airtable, Asana, Salesforce, HubSpot
⭐ 0🍴 0📅 2026年1月16日
SKILL.md
name: hubspot description: Access HubSpot CRM to view contacts, companies, deals, tickets, and marketing data. Use when user mentions HubSpot, CRM, contacts, companies, deals, leads, or marketing automation. Uses Python hubspot-api-client for reliable access.
HubSpot CRM Client
First: Check Prerequisites
Step 1: Check Python
python3 --version 2>/dev/null || echo "NOT_INSTALLED"
If NOT installed:
- macOS:
brew install python3 - Windows: Download from https://python.org
Step 2: Check hubspot-api-client
python3 -c "import hubspot; print('OK')" 2>/dev/null || echo "NOT_INSTALLED"
If NOT installed:
pip3 install hubspot-api-client
Step 3: Check HubSpot Access Token
echo "HUBSPOT_ACCESS_TOKEN=${HUBSPOT_ACCESS_TOKEN:+SET}"
If NOT set, guide the user:
To get your HubSpot Access Token:
- Go to HubSpot → Settings (gear icon)
- Navigate to Integrations → Private Apps
- Click Create a private app
- Name it "Claude Assistant"
- Go to Scopes tab and select:
crm.objects.contacts.readcrm.objects.companies.readcrm.objects.deals.readcrm.objects.owners.read- (add write scopes only if needed)
- Click Create app → Continue Creating → Show token
- Copy the access token
Then set it:
echo 'export HUBSPOT_ACCESS_TOKEN="pat-na1-xxxxxxxx"' >> ~/.zshrc source ~/.zshrcRestart Claude Code after setting the token.
Quick Examples
List contacts:
python3 -c "
import os
from hubspot import HubSpot
client = HubSpot(access_token=os.environ['HUBSPOT_ACCESS_TOKEN'])
contacts = client.crm.contacts.basic_api.get_page(limit=10)
for c in contacts.results:
print(f'{c.properties.get(\"firstname\", \"\")} {c.properties.get(\"lastname\", \"\")} - {c.properties.get(\"email\", \"\")}')
"
List companies:
python3 -c "
import os
from hubspot import HubSpot
client = HubSpot(access_token=os.environ['HUBSPOT_ACCESS_TOKEN'])
companies = client.crm.companies.basic_api.get_page(limit=10)
for c in companies.results:
print(f'{c.properties.get(\"name\", \"Unknown\")} - {c.properties.get(\"domain\", \"\")}')
"
List deals:
python3 -c "
import os
from hubspot import HubSpot
client = HubSpot(access_token=os.environ['HUBSPOT_ACCESS_TOKEN'])
deals = client.crm.deals.basic_api.get_page(limit=10, properties=['dealname', 'amount', 'dealstage'])
for d in deals.results:
print(f'{d.properties.get(\"dealname\", \"\")} - \${d.properties.get(\"amount\", \"0\")}')
"
See api-reference.md for complete patterns.
スコア
総合スコア
55/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です