• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLKnowledge Workproductivity

search-deals

プラグイン
carta-crm
ソース
GitHub で見る ↗
説明

Carta CRMから営業案件(ディール)を検索して取得するスキルです。 **次のような場合に使用:** - 「営業案件を探して」 - 「案件を検索して」 - 「案件を調べて」 - 「〇〇会社の案件を見せて」 - 「IDで案件を取得して」 - 「特定の段階にある案件を探して」 - 「案件をリストアップして」 - 「〇〇会社にはどんな案件があるか」 - 「/search-deals」 営業案件の詳細情報として、ID、企業名、進捗段階、パイプライン(案件処理の流れ)、タグ、カスタム項目などを返します。取得した営業案件のIDは、別の「案件更新」スキルで使用できます。

原文を表示

Searches for and retrieves deal records from the Carta CRM. Use this skill when the user says things like "find a deal", "search deals", "look up a deal", "show me deals for [company]", "get deal by ID", "find deal in [stage]", "list deals", "what deals do we have for [company]", or "/search-deals". Returns deal details including ID, company, stage, pipeline, tags, and custom fields. The deal ID returned can be used with the update-deal skill.

ユースケース
  • 営業案件を検索・取得したい
  • 特定企業の案件情報を確認したい
  • 案件を進捗段階で検索したい
  • 案件IDから詳細情報を取得したい
  • 案件をリストアップして一覧表示したい
本文(日本語訳)

<!-- carta:plugin-version --> <carta-plugin>carta-crm:1.14.2</carta-plugin>

概要

Carta CRM(顧客管理システム)内の取引情報を検索します。ユーザーがIDを提供した場合は、その取引を直接取得します。それ以外の場合は、フィルター機能を使って search_deals(取引検索)を実行します。ユーザーが取引を更新する際に参照できるよう、常に取引IDを表示します。

重要: search_dealsを呼び出す前に、必ず get_deal_fieldsを実行してください。フィルターに使える項目IDを確認する必須ステップです。

ステップ1 — 取引項目の情報を取得

検索の前に必ず実行してください。スキーマ(データ構造)を調べるための照会で、専用の表示画面がないため、crm_call_toolを通して実行します:

crm_call_tool({ "name": "crm:get_deal_fields", "arguments": {} })

項目ID、データ型、説明をよく確認してください。ユーザーの意図と最も合致する項目にマップして、filtersパラメーターで使用します。

ステップ2 — 検索方法を判断

  • IDで検索 — ユーザーが取引IDを提供した場合 → fetch_deal_by_deal_idを呼び出す
  • フィルター・キーワードで検索 — ユーザーが企業名、ステージ(進捗段階)、その他の条件を提供した場合 → search_dealsを呼び出す

ステップ3 — 検索を実行

crm_view_toolを使うと、結果がユーザーが並び替えやクリックで詳細確認できるインタラクティブなテーブル形式で表示されます。パラメーターは crm_call_toolと同じです。

IDで検索:

crm_view_tool({ "name": "crm:fetch_deal_by_deal_id", "arguments": { id: "<deal id>" } })

フィルターで検索:

crm_view_tool({
  "name": "crm:search_deals",
  "arguments": {
    query: "<フリーテキスト検索 — 最後の手段のみ>",
    stages: ["<ステージID>"],
    filters: [
      { field_id: "<項目ID>", operator: "eq", value: "<値>" }
    ],
    limit: 50
  }
})

ユーザーの意図に合った特定の項目がある場合は、queryよりfiltersを優先してください。利用可能な演算子: eq(等しい)、neq(等しくない)、gt(より大きい)、gte(以上)、lt(より小さい)、lte(以下)、contains(含む)、in(リストに含まれる)、between(範囲内)。パイプライン(営業プロセス)のステージでフィルターする場合は stagesを使用します(ファネル、追跡中、デューディリジェンス(詳細審査)、実行中、終了、完了)。

remainingCount > 0の場合はlimitを増やすか、offsetを使ってページネーション(複数ページの表示)をしてください。

ビューが利用できない場合

CRMビューは組織ごとに有効・無効が設定されているため、上記の呼び出しが次のように応答することがあります:

CRM tool 'search_deals' has no view — call it with crm_call_tool instead.

これは失敗ではなく、その組織ではそのビューが有効になっていないという正常な応答です。その呼び出しを同じ内容でcrm_call_toolを通して再実行し、ステップ4に従ってテキスト形式で結果を提示してください。crm_view_toolで再試行しないでください。また、このメッセージをユーザーに報告しないでください。

ステップ4 — 結果を提示

ビューが正常に表示された場合、ユーザーは既に画面上のすべての取引を見ています。行をテキストとして再度リストアップ、再フォーマット、要約しないでください。テーブルと重複するため、ユーザーが実際に質問していることに答えるか、1行で簡潔に認識するにとどめてください(例: 「デューディリジェンス段階の取引が8件あります — 取引IDは最初の列にあり、/update-dealで使えます」)。

crm_call_toolにフォールバックした場合、空白でないすべての項目を読みやすくまとめて表示し、取引IDを目立たせてください。ユーザーが /update-dealを実行する際に必要だからです。

fetch_deal_by_deal_idは、すべてのメモと関連する人物情報を含む完全な詳細情報を返します。ビューにそれらが表示されるため、ユーザーがそれらについて質問した場合のみテキストで呼び出してください。

取引が見つからない場合:

「検索条件に該当する取引が見つかりません。別の企業名を試すか、フィルターを調整してください。」

合計件数を表示し、remainingCount > 0の場合はページネーション機能の利用を提案してください。

原文(English)を表示

<!-- carta:plugin-version --> <carta-plugin>carta-crm:1.14.5</carta-plugin>

Overview

Search for deals in the Carta CRM. If the user provided an ID, fetch that deal directly. Otherwise use search_deals with filters. Always surface the deal ID so the user can reference it for updates.

Important: Call get_deal_fields before every search_deals call to discover valid field IDs for filters. Do not skip this step.

Step 1 — Fetch deal fields

Always call this before searching. It is a schema lookup with no view of its own, so it goes through crm_call_tool:

crm_call_tool({ "name": "crm:get_deal_fields", "arguments": {} })

Read the field IDs, types, and descriptions carefully. Map the user's intent to the most specific matching field(s) and use those in the filters parameter.

Step 2 — Determine search mode

  • By ID — user provided a deal ID → call fetch_deal_by_deal_id
  • By filters / keyword — user provided a company name, stage, or criteria → call search_deals

Step 3 — Execute the search

Use crm_view_tool so the result renders as an interactive table the user can sort and click through. It takes exactly the same name and arguments as crm_call_tool.

By ID:

crm_view_tool({ "name": "crm:fetch_deal_by_deal_id", "arguments": { id: "<deal id>" } })

By filters:

crm_view_tool({
  "name": "crm:search_deals",
  "arguments": {
    query: "<free-text search — last resort only>",
    stages: ["<stage id>"],
    filters: [
      { field_id: "<field id>", operator: "eq", value: "<value>" }
    ],
    limit: 50
  }
})

Prefer filters over query whenever a specific field matches the user's intent. Available operators: eq, neq, gt, gte, lt, lte, contains, in, between. Use stages to filter by pipeline stage (funnel, tracking, due-diligence, execution, dead, completed).

Increase limit or use offset to paginate if remainingCount > 0.

If the view is unavailable

CRM views are enabled per organisation, so either call above may answer with:

CRM tool 'search_deals' has no view — call it with crm_call_tool instead.

That is a normal response, not a failure — this organisation does not have that view enabled. Retry that one call verbatim through crm_call_tool and present the result as text per Step 4. Do not retry crm_view_tool, and do not report the message to the user.

Step 4 — Present results

When the view rendered, the user already sees every deal on screen. Do NOT re-list, re-format, or summarise the rows as text — that duplicates the table. Answer the question they actually asked, or acknowledge in one line (e.g. "8 deals in due diligence — the ID is in the first column, for /update-deal.").

When you fell back to crm_call_tool, display all non-empty fields in a readable summary and show the deal ID prominently — the user needs it to run /update-deal.

fetch_deal_by_deal_id returns full detail including all notes and linked people. The view renders those, so only call them out in text if the user asked about them.

If no deals are found:

"No deals found matching your search. Try a different company name or adjust the filters."

Note the total count and offer to paginate if remainingCount > 0.

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