/discolike:setupfrom DiscoLike
Connects the agent to DiscoLike via MCP or CLI. Installs/upgrades the CLI, signs in, or creates an account when needed.
Ships in DiscoLike. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two doors: the hosted MCP server (best when the client supports remote MCP) and the discolike CLI (best when shelling out). Either one signed in is enough. Work through the steps in order and stop at the first one that proves a working connection.
If tools named discover-similar-companies or account-status are in your tool list, call account-status. Success means DiscoLike is connected through MCP: name the plan and remaining quota in one line and stop. Skip the CLI steps unless the user wants the CLI too.
discolike auth status; echo "exit_code=$?"
Read the exit code and the JSON, not any prose.
"valid": true: signed in. Run discolike --version; at 0.4.1 or later, stop. Older, go to step 3.The skills need discolike-cli 0.4.1 or later. Do not install packages yourself; ask the user to run one of these in their own terminal:
pip install --upgrade discolike-cli
uv tool install discolike-cli # or: uv tool upgrade discolike-cli
Then confirm:
discolike --version; echo "exit_code=$?"
At 0.4.1 or later, go back to step 2. command not found right after installing means the install's script directory is not on PATH in this shell; have the user open a new shell.
Ask, with AskUserQuestion when available: does the user already have a DiscoLike account?
Yes, browser available:
discolike auth login
Opens the browser for OAuth and stores the session under ~/.config/discolike/. Over SSH or without a browser, discolike auth login --no-browser --port 8765 prints the URL to open elsewhere.
Yes, key in hand: ask the user to run discolike auth login --api-key <KEY> themselves, or set DISCOLIKE_API_KEY in their own shell. Never ask for the key in chat, never read it from a file they did not name, and never write it into a config file yourself.
No account: ask for the work email, first and last name, show the user the exact values, and run this only after they say yes.
discolike signup --email '[email protected]' --first-name 'Jane' --last-name 'Doe'
Single-quote every value so spaces and shell characters in a name stay literal; a name with an apostrophe goes in double quotes instead. Nothing sensitive comes back. The person confirms by email, picks a plan, and then runs discolike auth login. Free-mail and disposable domains are rejected; a 409 means the account exists, so send them to log in. Stop here and tell the user what to do next; the rest of setup waits for the confirmed account.
discolike account usage --format json
Report the plan and remaining quota in one sentence. Then return to whatever the user asked for; if setup was the whole request, offer one concrete first task: a free discolike count for their ICP, or a 25-record discover sample.
| Symptom | Cause | Fix |
|---|---|---|
discolike: command not found after step 3 | Install directory not on PATH in this shell | Open a new shell |
auth status exit 3 right after login | Expired OAuth session | discolike auth logout, then discolike auth login |
| Browser never opens | Headless or SSH session | discolike auth login --no-browser --port <n> and forward the port |
| MCP tools missing after adding the server | Client needs a restart, or OAuth was not completed | Restart the client, retry the authorization |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub discolike/discolike-skills --plugin discolike17 skills in this plugin
/build-icp-from-websiteUse when the user asks to "set up my ICP", "build an ICP from our website", or draft an ICP from a best customer's domain. Follow the discolike skill's access and spend rules./check-icp-fitUse when the user asks "which of these fit our ICP", "validate this list", or "only contact companies that fit". Follow the `discolike` skill's access and spend rules./clean-crmUse when the user asks "which of my HubSpot accounts are dead", "do not show me companies already in my CRM", "skip people already in Salesforce", or "find websites for domainless CRM accounts". Follow the `discolike` skill's access and spend rules./discolikeUse when the task involves finding companies, building a target account or TAM list, lookalikes of existing customers, ICP research, company enrichment (firmographics, tech stack, growth), or finding decision-maker contacts at companies. Also use when the user mentions DiscoLike, "companies like X", "find businesses that", prospect lists, or B2B data. Covers MCP server, CLI, Python SDK, and creating the account from the agent, and routes each job to its own skill./discover-lookalike-companiesUse when the user asks for a target account list, a list of "companies like X", or to "find businesses that" match an ICP. Follow the discolike skill's access and spend rules./enrich-crmUse when the user asks to "enrich this CRM export", "append firmographics or tech stack to this CSV", or enrich existing records in a connected CRM. Follow the discolike skill's access and spend rules.