Selling Partner Seller Analyticsのロゴ

Selling Partner Seller Analytics

組織
Amazon-Quick
selling-partner-seller-analytics

Answers a Fulfillment by Amazon (FBA) seller's business-performance questions (inventory health, traffic, and sales) by querying the Selling Partner API (SP-API) analytics operations. Discovers the real metric IDs first (never guesses metric names), retrieves the data with the correct filters, grouping, and time range, and explains the result in plain language. Read-only: it reports numbers, it never changes anything. Use when asked how are my sales or sessions or traffic, am I at risk of a stockout, how much inventory do I have, what is my days of supply, show me page views by ASIN, when should I restock, seller analytics, or business report. Do NOT use for changing prices or listings, creating shipments (use selling-partner-fba-inbound-management), tax or financial-settlement reports, or establishing which account and marketplace to use.

概要

公開者Amazon-Quick
リポジトリAmazon-Quick-official-catalog
スキル名selling-partner-seller-analytics
スター
50
フォーク
4
同梱ファイル
3
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Amazon-Quick/Amazon-Quick-official-catalog.git /tmp/Amazon-Quick-official-catalog
mkdir -p .claude/skills
cp -r /tmp/Amazon-Quick-official-catalog/skills/sales/selling-partner-seller-analytics .claude/skills/selling-partner-seller-analytics
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にSelling Partner Seller Analyticsを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Overview

Retrieves a seller's business-performance metrics (Fulfillment by Amazon (FBA) inventory health, storefront traffic, and sales) through the Selling Partner API (SP-API) analytics operations and reports them in plain language. It is read-only: it discovers what metrics exist, queries their values, and explains them, and never changes a price, listing, or shipment. Its one hard rule is discover before you query: the agent must not guess metric names, because guessing returns the wrong data. It is the reporting member of the SP-API seller family; for acting on a stockout risk it surfaces, it points the seller to selling-partner-stockout-prevention.

Workflow

<Definition - Measure vs Dimension> The two kinds of column the metadata returns. A measure is a numeric value to report (isGroupable false); it goes in the request's metrics array. A dimension is a column to group or filter by (isGroupable true), for example ASIN or MARKETPLACE_ID; it goes in groupBy or the filter. Reading isGroupable correctly is how you decide where a column belongs in the request. </Definition - Measure vs Dimension>

<Definition - Grain> The level a metric's data exists at (for example marketplace-level, ASIN-level). A single metric can be grouped by any column it is groupable on. To combine several metrics in one query they must share a grain: the metadata's domains availability lists the commonGrains shared across metrics, and a combined query may group only by a column in that shared set. Metrics at different grains must be queried separately. </Definition - Grain>

<Definition - Marketplace Filter> A required condition inside the query's groupableColumnFilter that carries a MARKETPLACE_ID leaf using EQUALS (one marketplace) or IN (several) with an actual value. It is required on every data query even though the marketplace is also passed at the top level. A predicate operator (IS_NULL, IS_NOT_NULL, LIKE) or a filter on another column alone (for example ASIN only) does not satisfy it, and such a request is rejected. To also filter by another dimension, wrap both in an AND. Full request shapes are in references/request-reference.md. </Definition - Marketplace Filter>

<Definition - Active Context> The one merchant account (entityId, the Merchant Token / MCID) plus one marketplace pinned for the session after the connector resolves the seller. Every analytics call carries this pair explicitly (the gateway does not auto-populate entityId). It exists only for the session and is never persisted (Rule 8). </Definition - Active Context>

<Workflow - Report Seller Analytics description="Answer a seller's inventory, traffic, or sales question read-only: establish context, discover the right metric, build a correct query, handle pagination and empty results, and explain the numbers in plain language." tools=[] triggers=["how are my sales", "how are my sessions", "how is my traffic", "am I at risk of a stockout", "how much inventory do I have", "what is my days of supply", "page views by ASIN", "when should I restock", "seller analytics", "business report"]

  1. [Agent] Confirm the built-in Amazon Selling Partner connector is connected before any work, per the README pre-requisites. The analytics operations run through it. Validate: The connector is connected and its analytics operations are reachable. If fails: Tell the seller the Amazon Selling Partner connector must be connected and authenticated (from onboarding or Settings > Capabilities), and stop rather than simulating a result.

  2. [Agent] Establish account context (pre-resolved). The connector resolves the seller's merchant account(s) and marketplace(s) at the start of the session. Pin exactly one entityId and one marketplace before any query; if several are in scope, ask which. Keep this context in the session only (Rule 8), and pass entityId explicitly on every call (Gotchas). Validate: Exactly one entityId and one marketplace are pinned. If fails: If no context is available, tell the seller the connector should resolve it on connect and ask them to confirm the account and marketplace; do not guess an identifier. If more than one is in scope and the seller has not chosen, ask rather than defaulting to the first.

  3. [Decide] Is the seller's request in scope (inventory health, traffic, or sales reporting)?

    • In scope: continue to step 4.
    • A change to price, listing, or a shipment: decline the change (Rule 1), offer the relevant read-only numbers, and route to the right skill (selling-partner-stockout-prevention, the listing skills, or selling-partner-fba-inbound-management).
    • Tax or financial-settlement reporting, or listing copywriting: say this skill does not cover it and stop (Rule 11).
  4. [Agent] Discover the right metric (never guess). Call the metric-metadata operation for the marketplace and read the response to find the metric ID that matches the seller's intent, confirming against each metric's business definition. Use the intent-to-metric map in references/metrics-catalog.md as a shortcut, but treat metadata as the source of truth. Note which columns are measures (isGroupable false) and which are dimensions (isGroupable true) per <Definition - Measure vs Dimension>. Validate: A metric ID present in the metadata is selected for the seller's intent. If fails: If the mapped metric is not in the metadata, pick the closest available one and say which you used; if nothing fits, tell the seller the metric is not available for this marketplace (Rule 5).

  5. [Decide] Does the request need more than one metric?

    • One metric: continue to step 6.
    • Several metrics: check the metadata's domains availability and combine in one call only if they share a grain, grouping only by a column in the shared commonGrains (Rule 4, <Definition - Grain>). Otherwise split into separate calls. Validate: The planned call(s) group only by a column valid for all metrics in that call. If fails: Split the metrics into separate calls by grain and continue.
  6. [Agent] Build and run the query. Call the metric-data operation with metrics as objects, a required dateGranularity, and a required groupableColumnFilter carrying a MARKETPLACE_ID condition (EQUALS or IN with a real value); add groupBy (for example ASIN) for a per-product breakdown, and combine a second dimension with MARKETPLACE_ID via AND. If the seller gave no dates, default to a recent window ending at least two days ago (Rule 10, Gotchas). Follow references/request-reference.md. Validate: The request is well-formed (metrics as objects, dateGranularity present, valued MARKETPLACE_ID filter present) and returns a result. If fails: If the request is rejected, correct the specific malformed field (most often a missing or predicate-only marketplace filter, missing dateGranularity, or string metrics) and retry.

  7. [Decide] Are results paginated or empty?

    • Paginated (a nextToken is present): pass it back as paginationToken to fetch more, until complete or enough for the answer.
    • Empty: adjust the query at most once (widen the date range or drop groupBy for an aggregated total), say what you changed, and if still empty report there is no data for that range and ask the seller how to proceed (Gotchas).
    • Complete: continue to step 8. Validate: All needed pages are retrieved, or an empty result is handled with a single adjustment. If fails: Report what was retrieved and what remains unknown rather than looping.
  8. [Agent] Explain, do not dump. Report the numbers in plain language tied to the seller's question, apply any stated analysis rule (for example days of supply under 14 is at risk of stockout), and state the date window used and the roughly two-day data delay when recency matters. If a stockout risk surfaces and the seller may want to act, note that acting on it is selling-partner-stockout-prevention's job. Never fabricate a value or a trend the data does not show (Rule 5), and include the informational-not-advice note (Rule 11). Validate: A plain-language answer tied to the question is produced, with the window and delay stated where relevant. If fails: If any value is missing, say so and offer the closest available metric rather than inventing one.

</Workflow - Report Seller Analytics>

Reference files:

  • references/metrics-catalog.md: the intent-to-metric shortcut map, the three analytics domains, and the key metrics per domain, with the reminder that live metadata is the source of truth for availability.
  • references/request-reference.md: exact request and response shapes for the metadata and data operations, the mandatory marketplace filter, multi-metric and ASIN filtering, pagination, and the known gotchas.

同梱ファイル

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

よくある質問

AIスキル「Selling Partner Seller Analytics」では何ができますか?

Answers a Fulfillment by Amazon (FBA) seller's business-performance questions (inventory health, traffic, and sales) by querying the Selling Partner API (SP-API) analytics operations. Discovers the real metric IDs first (never guesses metric names), retrieves the data with the correct filters, grouping, and time range, and explains the result in plain language. Read-only: it reports numbers, it never changes anything. Use when asked how are my sales or sessions or traffic, am I at risk of a stockout, how much inventory do I have, what is my days of supply, show me page views by ASIN, when s...

TypingMindでSelling Partner Seller Analyticsを使うメリットは何ですか?

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

TypingMindにSelling Partner Seller Analyticsをインストールするにはどうすればよいですか?

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

Selling Partner Seller Analyticsを使えるAIモデルはどれですか?

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

Selling Partner Seller Analyticsで使えるAIモデルの数に制限はありますか?

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

AIスキル「Selling Partner Seller Analytics」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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