Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .agents/plugins/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "agent-cli",
"interface": {
"displayName": "HubSpot Agent CLI"
},
"plugins": [
{
"name": "hubspot-agent-cli",
"source": {
"source": "local",
"path": "./hubspot-agent-cli"
},
"category": "Development"
}
]
}
18 changes: 18 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://json.schemastore.org/claude-code-marketplace.json",
"name": "HubSpot Agent CLI",
"description": "HubSpot CLI skills for AI agents — CRM operations, bulk data, workflows, and more",
"owner": {
"name": "HubSpot",
"email": "developer-experience@hubspot.com"
},
"plugins": [
{
"name": "hubspot-agent-cli",
"source": "./hubspot-agent-cli",
"description": "Skills for using the HubSpot CLI to accomplish CRM tasks — bulk operations, deal management, workflows, and more",
"category": "crm",
"tags": ["hubspot", "crm", "cli", "sales", "marketing"]
}
]
}
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "hubspot-agent-cli/skills"]
path = hubspot-agent-cli/skills
url = https://github.com/HubSpot/agent-cli-skills.git
10 changes: 10 additions & 0 deletions hubspot-agent-cli/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "hubspot-agent-cli",
"version": "1.0.0",
"description": "Skills for using the HubSpot CLI to accomplish CRM tasks — bulk operations, deal management, workflows, and more",
"author": {
"name": "HubSpot",
"email": "developer-experience@hubspot.com"
},
"repository": "https://github.com/HubSpot/agent-cli"
}
10 changes: 10 additions & 0 deletions hubspot-agent-cli/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "hubspot-agent-cli",
"version": "1.0.0",
"description": "Skills for using the HubSpot CLI to accomplish CRM tasks — bulk operations, deal management, workflows, and more",
"author": {
"name": "HubSpot",
"email": "developer-experience@hubspot.com"
},
"skills": "./skills/"
}
25 changes: 25 additions & 0 deletions hubspot-agent-cli/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Install the HubSpot CLI if it isn't already available.

if command -v hubspot &>/dev/null; then
exit 0
fi

if curl -fsSL --connect-timeout 5 https://install.hubspot.com 2>/dev/null | sh 2>/dev/null; then
exit 0
fi

cat <<'MSG'
HubSpot CLI auto-install failed.

To install manually:
curl -fsSL https://install.hubspot.com | sh

If you are in a cloud/remote session, allowlist these hosts in your
environment's network-access settings (Custom mode):
install.hubspot.com
api.hubapi.com

Run /hubspot-agent-cli:hubspot-setup for step-by-step guidance.
MSG
exit 0
14 changes: 14 additions & 0 deletions hubspot-agent-cli/hooks/hooks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/bootstrap.sh"
}
]
}
]
}
}
1 change: 1 addition & 0 deletions hubspot-agent-cli/skills
Submodule skills added at 71f2bd