Enrich company

From carta/plugins · View interactive version

Enrich company is an AI agent skill from the GitHub repository carta/plugins. Researches a company by fetching its website and returning structured profile data. Use this skill when the user says things like "enrich this company", "look up company info", "research this company", "what does [domain] do", "get company details for [url]", "find info on [company]", or "/enrich-co

How to use this skill

Skill file

<!-- carta:plugin-version -->

<carta-plugin>carta-crm:1.20.21</carta-plugin>

Overview

Enrich a company profile by fetching its website and extracting key business information.

The result is returned as structured JSON and saved locally for auditing.

Step 1 — Normalize the target URL

Take the target input and produce a clean https:// URL:

Also extract the bare domain (e.g., acme.com) — you'll need it for the output filename.

Step 2 — Fetch the company website

Use WebFetch to retrieve the homepage. Look for:

If the homepage returns insufficient content (e.g., a login wall, placeholder, or very sparse text),

also try fetching [root-url]/about as a fallback.

Step 3 — Supplement with web search if needed

If the website alone doesn't clearly reveal the company's industry or what it does,

run a WebSearch for:

"[company name]" company what does it do

Use the top 2–3 results to fill in gaps — especially for industry and description.

Step 4 — Extract structured data

From the gathered content, produce the following fields:

| Field | Type | Notes |

|-------|------|-------|

| name | string | Official company name (not the domain) |

| industry | string | Primary industry, e.g. "FinTech", "SaaS", "Healthcare IT", "Climate Tech" |

| tags | array of strings | 3–6 short topic tags, e.g. ["payments", "B2B", "API", "embedded finance"] |

| description | string | 1–2 sentence plain-English summary of what the company does |

| website | string | Canonical root URL, e.g. https://acme.com |

Use specific, meaningful tags — avoid generic ones like "technology" or "software" on their own.

Step 5 — Save the enrichment record

Write the JSON to a local audit file:

mkdir -p ~/.carta-crm/enriched-companies
cat > ~/.carta-crm/enriched-companies/[domain].json << 'ENDJSON'
{
  "name": "...",
  "industry": "...",
  "tags": [...],
  "description": "...",
  "website": "..."
}
ENDJSON

Replace [domain] with the bare domain (e.g., acme.com).

Confirm the file was written with echo $? (should be 0).

Step 6 — Return the result

Return the enrichment record as a JSON block, followed by the save path:

{
  "name": "...",
  "industry": "...",
  "tags": [...],
  "description": "...",
  "website": "..."
}

State: Saved to ~/.carta-crm/enriched-companies/[domain].json

Handling multiple companies

If the user provides multiple targets, repeat Steps 1–5 for each one, then return all

results together and summarize: Enriched N companies — saved to ~/.carta-crm/enriched-companies/

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.