opencode-sales-agent
v0.1.3
Published
Standalone OpenCode sales sub-agent plugin with /sales command and optional MCP connectors
Downloads
321
Maintainers
Readme
opencode-sales-agent
Standalone OpenCode CLI sales sub-agent plugin for Windows 11.
- Primary command:
/sales - Package name:
opencode-sales-agent - Source inspiration: Anthropic knowledge-work-plugins sales plugin
- License: Apache-2.0
Features
/salesrouter command with subcommand flow:call-summaryforecastpipeline-reviewcreate-asset
- Sales skills converted for OpenCode:
account-researchcall-prepcompetitive-intelligencecreate-an-assetdaily-briefingdraft-outreach
- Optional MCP connector catalog for CRM, enrichment, chat, docs, and transcripts
- Windows-native state management:
%USERPROFILE%\.local\share\opencode-sales-agent\state.json
Windows 11 Installation
1) Install package
npm install -g opencode-sales-agent2) Register plugin in OpenCode config
Open config file:
New-Item -ItemType Directory -Path "$env:USERPROFILE\.config\opencode" -Force
notepad "$env:USERPROFILE\.config\opencode\opencode.jsonc"Add package to plugin array:
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"opencode-sales-agent"
]
}3) Restart OpenCode
opencode4) Use the sales command
/salesOr direct subcommand routing:
/sales call-summary
/sales forecast
/sales pipeline-review
/sales create-assetOptional MCP Setup
All connectors are optional. If not configured, commands still run with manual input and web research.
Connector definitions are provided in:
mcp/config.jsonmcp/CONNECTORS.md
Copy relevant entries into %USERPROFILE%\.config\opencode\opencode.jsonc under mcp.
Included connector catalog
slackhubspotcloseclayzoominfonotionatlassianfirefliesms365
Example enabling HubSpot:
{
"mcp": {
"hubspot": {
"type": "remote",
"url": "https://mcp.hubspot.com/anthropic",
"enabled": true
}
}
}Runtime State
Runtime state is stored outside the repository:
%USERPROFILE%\.local\share\opencode-sales-agent\state.json
If missing or invalid, the plugin recreates defaults automatically.
Development
npm install
npm run buildAttribution
This project is adapted from the Anthropic knowledge-work-plugins/sales plugin model and converted for standalone OpenCode CLI plugin usage.
