claude-skills/

Anthropic公式スキル・プラグインの日本語ディレクトリ

last sync 22h ago
スキルOfficialproductivity

🔍enrich-company

プラグイン
carta-crm

説明

企業のウェブサイトを取得し、構造化されたプロフィールデータを返すことで、企業情報をリサーチします。 次のような場合に使用: ユーザーが「enrich this company」「look up company info」「research this company」「[ドメイン]は何をしている会社か」「[URL]の会社詳細を取得して」「[会社名]の情報を調べて」または「/enrich-company」といった言葉を使ったとき。 - **入力:** `target`(ドメイン名またはウェブサイトのURL) - **出力:** `name`・`industry`・`tags`・`description`・`website` を含む構造化JSON 結果は監査目的のため、`~/.carta-crm/enriched-companies/` にローカル保存されます。

原文を表示

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-company". Input: target (domain name or website URL). Output: structured JSON with name, industry, tags, description, and website. Saves the result locally at ~/.carta-crm/enriched-companies/ for auditing.

ユースケース

  • 企業のウェブサイトから情報をリサーチ
  • ドメイン名またはURLから企業情報を取得
  • 企業のプロフィールデータを構造化する
  • 企業情報を監査目的で保存する

本文(日本語訳)

概要

企業のウェブサイトを取得し、主要なビジネス情報を抽出することで、企業プロファイルを充実させます。 結果は構造化されたJSONとして返され、監査用にローカルへ保存されます。


ステップ 1 — ターゲットURLの正規化

target の入力値を受け取り、クリーンな https:// URLを生成します:

  • すでに http:// または https:// で始まっている場合は、そのまま使用します。
  • acme.com のような裸のドメインに見える場合は、先頭に https:// を付与します。
  • 末尾のパスは除去し、ルートURLのみを使用します(例: https://acme.com)。

また、出力ファイル名に使用するため、裸のドメイン(例: acme.com)も抽出してください。


ステップ 2 — 企業ウェブサイトの取得

WebFetch を使用してホームページを取得します。以下の情報を探してください:

  • ページの <title> および <meta name="description"> の内容
  • <h1> / <h2> 見出しやヒーロー・タグライン テキスト
  • 「About」「What we do」「Our mission」などのセクション

ホームページのコンテンツが不十分な場合(ログイン壁、プレースホルダー、極めて少ないテキストなど)は、 フォールバックとして [root-url]/about の取得も試みてください。


ステップ 3 — 必要に応じたWeb検索による補完

ウェブサイトだけでは企業の業種や事業内容が明確に把握できない場合は、 以下のクエリで WebSearch を実行してください:

"[company name]" company what does it do

上位 2〜3 件の結果を使って情報の空白を補完します — 特に industrydescription について有効です。


ステップ 4 — 構造化データの抽出

収集したコンテンツから、以下のフィールドを生成します:

フィールド 備考
name string 企業の正式名称(ドメイン名ではない)
industry string 主要業種。例: "FinTech"、"SaaS"、"Healthcare IT"、"Climate Tech"
tags array of strings 3〜6個の短いトピックタグ。例: ["payments", "B2B", "API", "embedded finance"]
description string 企業の事業内容を平易な英語で1〜2文にまとめた説明
website string 正規のルートURL。例: https://acme.com

タグは具体的で意味のあるものを使用してください —「technology」や「software」単体のような汎用的なタグは避けてください。


ステップ 5 — エンリッチメントレコードの保存

JSONをローカルの監査ファイルに書き込みます:

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

[domain] は裸のドメイン(例: acme.com)に置き換えてください。 echo $? でファイルが正常に書き込まれたことを確認してください(結果は 0 になるはずです)。


ステップ 6 — 結果の返却

エンリッチメントレコードをJSONブロックとして返し、続けて保存先パスを示します:

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

次のように出力します: Saved to ~/.carta-crm/enriched-companies/[domain].json


複数企業の処理

ユーザーが複数のターゲットを指定した場合は、それぞれについてステップ 1〜5 を繰り返し実行したうえで、 すべての結果をまとめて返し、次のように要約してください: Enriched N companies — saved to ~/.carta-crm/enriched-companies/

原文(English)を表示

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:

  • If it already starts with http:// or https://, use it as-is.
  • If it looks like a bare domain (e.g., acme.com), prepend https://.
  • Strip any trailing paths — use only the root URL (e.g., https://acme.com).

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:

  • Page <title> and <meta name="description"> content
  • <h1> / <h2> headings and hero/tagline text
  • Any "About", "What we do", or "Our mission" sections

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/

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。