company-research
Company discovery and deep research skill. Researches a company's product and ICP, discovers target companies to sell to using Browserbase Search API, deeply researches each using a Plan→Research→Synthesize pattern, and scores ICP fit — compiled into a scored research report and CSV. Supports depth modes (quick/deep/deeper) for balancing scale vs intelligence. Use when the user wants to: (1) find companies to sell to, (2) research potential customers, (3) discover companies matching an ICP, (4) build a target company list, (5) do market research on prospects. Triggers: "find companies to sell to", "company research", "find prospects", "ICP research", "target companies", "who should we sell to", "market research", "lead research", "prospect list".
NPX Install
npx skill4agent add team2027/browserbase-skills company-researchTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Company Research
BROWSERBASE_API_KEYbrowsebrowse cloud fetchbrowse cloud searchcatmkdirsed~/.claude/settings.jsonpermissions.allow"Bash(browse:*)", "Bash(bunx:*)", "Bash(bun:*)", "Bash(node:*)",
"Bash(cat:*)", "Bash(mkdir:*)", "Bash(sed:*)", "Bash(head:*)", "Bash(tr:*)", "Bash(rm:*)"~$HOME{SKILL_DIR}~/Desktop/{company_slug}_research_{YYYY-MM-DD}/.md.csv- All web searches: use . NEVER use WebSearch.
browse cloud search - All page content extraction: use . This script fetches via
node {SKILL_DIR}/scripts/extract_page.mjs "<url>", parses title + meta tags + visible body text, and automatically falls back tobrowse cloud fetch --outputwhen fetch fails or returns thin JS-rendered content. NEVER hand-roll abrowse get markdownpipeline — it strips meta tags and doesn't parse the stdout JSON envelope. NEVER use WebFetch.browse cloud fetch | sed - All research output: subagents write one markdown file per company to using bash heredoc. NEVER use the Write tool or
{OUTPUT_DIR}/{company-slug}.md. Seepython3 -cfor the file format.references/example-research.md - Report + CSV compilation: use — generates HTML report and CSV in one step, opens overview in browser.
node {SKILL_DIR}/scripts/compile_report.mjs {OUTPUT_DIR} --open - URL deduplication: use after discovery.
node {SKILL_DIR}/scripts/list_urls.mjs /tmp - Subagents must use ONLY the Bash tool. No other tools allowed.
- Main agent NEVER reads raw discovery JSON batch files. Use for dedup.
list_urls.mjs
- NEVER infer ,
product_description, orindustryfrom a site's fonts, framework (Framer/Next.js/React), design system, or typography. These are cosmetic and say nothing about what the company sells.target_audience - NEVER let the user's own ICP leak into a target's description. If you don't know what the target does, write — do not pattern-match them onto the ICP.
Unknown - MUST quote or paraphrase a specific phrase from
product_descriptionoutput (TITLE, META_DESCRIPTION, OG_DESCRIPTION, HEADINGS, or BODY). If none of those fields yield a recognizable product statement, writeextract_page.mjs.Unknown — homepage content not accessible - If is
product_description, capUnknownat 3 and seticp_fit_scoretoicp_fit_reasoning.Insufficient evidence — homepage returned no readable content
- Subagents MUST batch ALL file writes into a SINGLE Bash call using chained heredocs. One Bash call = one permission prompt.
- Batch ALL searches and ALL fetches into single Bash calls using chaining.
&&
Pipeline Overview
- Company Research — Deeply understand the user's company, product, and who they sell to
- Depth Mode Selection — Choose research depth based on how many targets they want
- Discovery — Find target companies using diverse search queries
- Deep Research & Scoring — Research each company, score ICP fit
- Report & CSV — Present findings, compile scored CSV
Step 0: Setup Output Directory
OUTPUT_DIR=~/Desktop/{company_slug}_research_{YYYY-MM-DD}
mkdir -p "$OUTPUT_DIR"{company_slug}{YYYY-MM-DD}{OUTPUT_DIR}~rm -f /tmp/company_discovery_batch_*.jsonStep 1: Deep Company Research
-
Ask the user for their company name or URL
-
Check for an existing profile:
- List files in (ignore
{SKILL_DIR}/profiles/)example.json - If a matching profile exists → load it, present to user: "I have your profile from {researched_at}. Still accurate?" If yes → skip to Step 2.
- If no profile exists → proceed with deep research below.
- List files in
-
Run a full deep research on the user's company using the Plan→Research→Synthesize pattern. Seefor sub-question templates and research methodology.
references/research-patterns.mdKey research steps:- Search:
browse cloud search "{company name}" --num-results 10 - Fetch homepage:
node {SKILL_DIR}/scripts/extract_page.mjs "{company website}" - Discover site pages via sitemap (do NOT hardcode paths like or
/about):/customers- — sitemap is small, raw
browse cloud fetch --allow-redirects "{company website}/sitemap.xml"is finebrowse cloud fetch - Scan for URLs with keywords: ,
customer,case-stud,pricing,about,use-case,industrysolution - Optionally also fetch for page descriptions
/llms.txt - Pick 3-5 most relevant URLs and extract with (NOT raw
extract_page.mjs)browse cloud fetch
- Search for external context and competitors
- Accumulate findings with confidence levels
Synthesize into a profile: Company, Product, Existing Customers, Competitors, Use Cases. Do NOT include ICP or sub-verticals — those are per-run decisions. - Search:
-
Present the profile to the user for confirmation. Do not proceed until confirmed.
-
Save the confirmed profile to
{SKILL_DIR}/profiles/{company-slug}.json -
Ask clarifying questions usingwith checkboxes:
AskUserQuestion- "Which segments are you targeting?" with options derived from the company research
- "Company stage?" — Startups, Mid-market, Enterprise, All
- "How many companies / depth?" — Quick (~100), Deep (~50), Deeper (~25)
- This is the ONLY user interaction. After this, execute silently until results are ready.
Step 2: Depth Mode Selection
| Mode | Research per company | Best for |
|---|---|---|
| Homepage + 1-2 searches | ~100 companies, broad scan |
| 2-3 sub-questions, 5-8 tool calls | ~50 companies, solid research |
| 4-5 sub-questions, 10-15 tool calls | ~25 companies, full intelligence |
Step 3: Discovery
ceil(requested_companies / 35)- Industry + company stage + geography ("fintech startups series A Bay Area")
- Technology stack + use case ("companies using Selenium for web scraping")
- Competitor adjacency ("alternatives to {known company in ICP}")
- Buyer persona + pain point ("engineering teams struggling with browser automation")
- Launch ALL discovery subagents at once (up to ~6 per message). Each runs its queries in a SINGLE Bash call:
bash
browse cloud search "{query}" --num-results 25 --output /tmp/company_discovery_batch_{N}.json - After all waves complete, deduplicate:
node {SKILL_DIR}/scripts/list_urls.mjs /tmp - Filter the URL list — remove:
- Blog posts, news articles (globenewswire.com, techcrunch.com, etc.)
- Directories/aggregators (tracxn.com, crunchbase.com, g2.com)
- The user's own competitors and existing customers (from profile) Keep only company homepages.
references/workflow.mdStep 4: Deep Research & Scoring
references/workflow.mdreferences/research-patterns.md-
Split filtered URLs into groups per subagent (quick: ~10, deep: ~5, deeper: ~2-3)
-
Launch ALL enrichment subagents at once (up to ~6 per message)
-
Each subagent uses ONLY Bash — for each company:Phase A — Plan (skip in quick mode): Decompose into 2-5 sub-questions based on ICP and enrichment fields.Phase B — Research Loop: Search and fetch pages, extract findings. Respect step budget (quick: 2-3, deep: 5-8, deeper: 10-15).Phase C — Synthesize: Score ICP fit 1-10 with evidence. Fill enrichment fields from findings.
-
Subagents write ALL markdown files in a SINGLE Bash call using chained heredocs to
{OUTPUT_DIR}/ -
After ALL subagents complete, proceed to Step 5
{OUTPUT_DIR}Step 5: Report & CSV
-
Generate HTML report + CSV (opens overview in browser automatically):bash
node {SKILL_DIR}/scripts/compile_report.mjs {OUTPUT_DIR} --openThis generates:- — overview page with scored table (opens in browser)
{OUTPUT_DIR}/index.html - — individual company pages (linked from overview)
{OUTPUT_DIR}/companies/*.html - — scored spreadsheet for import into sheets/CRM
{OUTPUT_DIR}/results.csv
-
Present a summary in chat too:
## Company Research Complete
- **Total companies researched**: {count}
- **Depth mode**: {mode}
- **Score distribution**:
- Strong fit (8-10): {count}
- Partial fit (5-7): {count}
- Weak fit (1-4): {count}
- **Report opened in browser**: ~/Desktop/{company_slug}_research_{date}/index.html- Show the top companies sorted by ICP score in a table:
| Company | Score | Product | Industry | Fit Reasoning |
|---------|-------|---------|----------|---------------|
| Acme | 9 | AI inventory management | E-commerce SaaS | Series A, uses Selenium, expanding to EU |- For the top 3-5 companies, show a brief research summary — key findings, why they're a good fit, and what specific angle to approach them with.