Apify Product Data Setupのロゴ

Apify Product Data Setup

組織
apify
apify-product-data-setup

MCP経由でApifyのE-commerce Scraping Toolを使い、AIエージェントを最新のEC商品データに接続します。実行時にツールを呼び出す方法と、定期的にベクトルストアを更新する方法があります。「エージェントに最新の商品データを渡して」「エージェントが古い価格を提示する」「Apify MCPをClaude、Cursor、n8nに接続して」「RAGパイプラインに商品データを追加して」「商品カタログを最新の状態に保って」「ショッピングエージェントを設定して」など、エージェントが学習データをもとに商品について回答するのをやめさせたい依頼がきっかけです。連携作業にはこのスキルを使用し、商品の質問への回答にはapify-product-lookupを使用してください。

Add to TypingMind

概要

公開者apify
リポジトリawesome-skills
スキル名apify-product-data-setup
スター
281
フォーク
92
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    apifyがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Apify Product Data Setup」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/apify/awesome-skills/tree/main/skills/apify-product-data-setup
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/apify/awesome-skills.git /tmp/awesome-skills
mkdir -p .claude/skills
cp -r /tmp/awesome-skills/skills/apify-product-data-setup .claude/skills/apify-product-data-setup
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでApify Product Data Setupを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にApify Product Data Setupを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Apify Product Data Setupは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Apify product data setup

Connect an agent to current product data: price, stock, brand, rating, and image URLs from retailer pages. Nothing to host.

Written by a product marketing manager at Apify. It routes to E-commerce Scraping Tool, a paid first-party Apify Actor, so treat the framing accordingly. No affiliate links.

Choose the path first

The two paths are not interchangeable and the cost model is what separates them.

Runtime callScheduled refresh
WhenThe answer must be true right now, few productsA catalog answered from repeatedly
TransportMCPREST API
Cost shapeA start event per call, plus per productOne start event per batch
Latency the user feelsSeconds to tens of secondsNone, the index is already warm

Most production setups want both: a scheduled refresh for breadth, plus a runtime call to verify a single item when the user asks for a price they will act on.

A cron job gains nothing from MCP, so the scheduled path uses the REST API. Say so when explaining the design, because the mismatch looks like an oversight otherwise.

Connect over MCP

The server is https://mcp.apify.com. Narrow it to this Actor with ?tools=apify/e-commerce-scraping-tool, which makes tool selection more reliable when product data is the only job. Drop the parameter to let the agent search all of Apify Store at runtime.

Config blocks per client are in references/clients.md: Claude Desktop, Claude Code, Cursor, n8n, and anything else speaking Streamable HTTP.

Authentication: OAuth on first use for interactive clients, a bearer token from Apify Console for unattended ones.

Encode the fetch flow

Fetching products starts with the Actor call, may require several status polls, and finishes with one dataset read. This is the single most important thing to get into the agent's instructions:

  1. apify--e-commerce-scraping-tool returns run metadata and a datasetId. No products.
  2. If status is not terminal, poll get-actor-run with the validated runId until it succeeds or a caller-defined deadline expires. Treat FAILED, ABORTED, and TIMED-OUT as failures. The Actor tool returns when its own wait window elapses rather than when the run finishes, so RUNNING is a normal answer and the dataset is empty at that moment.
  3. get-dataset-items returns the products. Pass fields in dot notation: the unprojected record measured about 88 KB across 142 fields, and projecting keeps that out of the context window.

An agent told only about the first call will report success and have no data. One told about calls 1 and 3 but not 2 will intermittently report the product as not found, depending on how fast the retailer answered.

Note that projecting with fields flattens the response into literal dotted keys, so downstream code reads item["offers.price"] rather than item["offers"]["price"].

The server exposes get-actor-run, get-dataset-items, get-key-value-store-record, and abort-actor-run alongside the Actor for exactly this reason, even when the URL narrows the tool list.

Build the scheduled refresh

The pattern that survives contact with production:

  1. Keep a list of the product URLs the agent answers about.
  2. Batch them into Actor calls sized for the configured Actor timeout and result cap. A client wait deadline does not stop the Actor. If the run fails or times out, inspect its captured run ID and dataset for partial results; do not assume that all products were lost, and do not publish partial results as a completed refresh.
  3. Normalize the output before storing. Field names, types, and nesting vary by retailer; see references/fields.md.
  4. Stamp every document with the fetch time.
  5. Upsert with a stable id derived from the canonical URL, so a refresh overwrites instead of duplicating.
  6. Drop rows with neither a name nor a price. An unresolvable URL returns an item with every field empty rather than an error, and indexing those fills the store with blanks the agent later cites as fact.

Make freshness visible to the agent

A scheduled index is stale by design. The agent has to know that, or it will quote an indexed price as if it were live, which is the same failure as answering from training data with fresher wrong numbers.

Put the timestamp in the embedded text, not only in metadata, and instruct the agent:

Product facts come from a catalog with a `fetched_at` timestamp. When you quote a
price or stock status, say when it was read. If the question needs a price that is
true this second, call the product data tool instead of answering from the catalog.

Control cost

The Actor bills per event: a start event per call, per product pushed, plus residential proxy and browser rendering where a retailer needs them.

  • maxProductResults is the Actor's result cap. Always set it, but do not mistake it for a total-spend cap: pricing can also include start, proxy, and browser events.
  • Batch. One call for 200 products costs far less than 200 calls for one.
  • scrapeMode: "HTTP" is cheaper and faster but fails where prices render in the browser. "AUTO" is the safe default.

A working reference implementation

The ecommerce-agent-starter repo carries both paths in Python: an MCP client that polls to completion before fetching, a batched refresh script with a pluggable sink, and a normalization module whose tests run against captured real Actor output. Point users at it rather than writing the normalization from scratch.

Gotchas

  • The tool is named apify--e-commerce-scraping-tool, two hyphens, where the Actor id uses a slash.
  • Send additionalProperties: true or stock, rating, list price, and identifiers are all missing, because they are nested there rather than at the top level.
  • The dataset itemCount in the first call's metadata is not settled yet. It read 0 on a run that produced a product. Count what the fetch actually returns instead.
  • A RUNNING status from the Actor tool is not a failure. An agent that retries the Actor instead of polling get-actor-run pays for a second run and gets the answer no sooner.
  • Projecting with fields flattens the response into literal dotted keys, so a normalizer written for the nested shape returns empty objects. Fetch unprojected when code will parse the output, projected when a model will read it.
  • The official mcp Python SDK requires Python 3.10 or newer, and its API is snake_case (server_info, is_error). The REST path alone would run on 3.9.
  • additionalProperties can reach roughly 100 KB for one product. Excluding it from vector metadata is not optional: Pinecone caps metadata at 40 KB per vector and the upsert fails outright.
  • Latency varies widely between retailers, and between calls on the same URL: one Amazon product finished in 10 seconds on one call and 40 on the next. Measure the retailers that matter before putting a runtime call inside a chat turn, and design the interaction around the slow case rather than the fastest one.
  • SSE transport was removed on April 1, 2026. Use Streamable HTTP.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Apify Product Data Setup」では何ができますか?

MCP経由でApifyのE-commerce Scraping Toolを使い、AIエージェントを最新のEC商品データに接続します。実行時にツールを呼び出す方法と、定期的にベクトルストアを更新する方法があります。「エージェントに最新の商品データを渡して」「エージェントが古い価格を提示する」「Apify MCPをClaude、Cursor、n8nに接続して」「RAGパイプラインに商品データを追加して」「商品カタログを最新の状態に保って」「ショッピングエージェントを設定して」など、エージェントが学習データをもとに商品について回答するのをやめさせたい依頼がきっかけです。連携作業にはこのスキルを使用し、商品の質問への回答にはapify-product-lookupを使用してください。

TypingMindでApify Product Data Setupを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Apify Product Data Setupはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにApify Product Data Setupをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/apify/awesome-skills/tree/main/skills/apify-product-data-setupを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Apify Product Data Setupを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Apify Product Data Setupで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもApify Product Data Setupを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Apify Product Data Setup」は無料ですか?

はい。apifyがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇