Logo de Selling Partner Seller Analytics

Selling Partner Seller Analytics

Organização
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.

Visão geral

Publicado porAmazon-Quick
RepositórioAmazon-Quick-official-catalog
Nome da habilidadeselling-partner-seller-analytics
Estrelas
50
Forks
4
Arquivos incluídos
3
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 3

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por Amazon-Quick no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Selling Partner Seller Analytics no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/sales/selling-partner-seller-analytics
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Selling Partner Seller Analytics em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Selling Partner Seller Analytics automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Selling Partner Seller Analytics não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Selling Partner Seller Analytics faz?

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...

Por que usar Selling Partner Seller Analytics no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Selling Partner Seller Analytics é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Selling Partner Seller Analytics no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/sales/selling-partner-seller-analytics. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Selling Partner Seller Analytics?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Selling Partner Seller Analytics?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Selling Partner Seller Analytics com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Selling Partner Seller Analytics é gratuita?

Sim. A habilidade é publicada no GitHub por Amazon-Quick sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇