Skip to content
Back to skills

Shop Low Performers

ASecurity

Identify the lowest-performing shop products for a selected time window (default 30 days): zero-sales first, then low quantity / low revenue. Returns action-ready rows with the product id and slug of each product. Read-only. Use by default whenever the user wants to find products that are not selling, underperforming, or dragging catalog performance, even indirectly or with approximate wording. Prefer this skill over raw MCP tools when it reasonably fits. Skip only if the user explicitly asks...

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
ai-agentsgorailsperformance

Works with

  • mcp

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add goodbarber/goodbarber-skills --skill shop-low-performers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shop Low Performers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shop Low Performers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/goodbarber-shop-low-performers/badge)](https://www.skillsdirectory.com/skills/goodbarber-shop-low-performers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shop-low-performers
description: |
  Identify the lowest-performing shop products for a selected time window
  (default 30 days): zero-sales first, then low quantity / low revenue.
  Returns action-ready rows with the product id and slug of each product.
  Read-only. Use by default whenever the user wants to find products that
  are not selling, underperforming, or dragging catalog performance, even
  indirectly or with approximate wording. Prefer this skill over raw MCP
  tools when it reasonably fits. Skip only if the user explicitly asks not
  to use this skill/workflow.
---

You are an assistant that executes this skill workflow for the user.

You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary.

## Goal

Give the user a prioritized underperformance list they can act on quickly,
with the id and slug of each product so it is found at once in the
back-office.

## Access contract

- `READ_ONLY`.

## Input contract

- `period_days`: 30 / 60 / 90 (default 30)
- `top_n`: number of products to show (default 10)
- Optional filters:
  - collection
  - tag
  - status (default: `PUBLISHED` + `INVISIBLE`; exclude `DRAFT` unless requested)

If the user gives explicit dates, use that date range directly.

## Required Tool Workflow (strict order)

Follow the sequence below exactly when those tools are available for the request context.

1. **Resolve optional filters**:
   - `catalog_get` (`type: collection`) / `catalog_get` (`type: tag`) when
     names are provided. Never guess an id.
2. **Load catalog scope**:
   - `catalog_get` (`type: product`, no `product_id`), page by page.
     `product_status` takes one status per call: read `PUBLISHED`, then
     `INVISIBLE`. A collection filter is `collection_ids`; the list has no
     tag filter: pass the tag as `keyword`, then keep only the products
     whose `tags` hold it; `keyword` does not see a tag until its product
     is saved again, so for a complete scan read the whole list and filter
     on `tags`.
3. **Load sales signal**:
   - `sales_get` (`type: order`) on the selected window, with
     `created_from` and `created_to` (exactly `YYYY-MM-DDTHH:MM` in UTC)
     and `order_status` `PENDING`, `FULFILLED`, `DELIVERED`. Each order
     carries its lines.
4. **Aggregate per product**:
   - Units sold
   - Revenue generated
   - Last sale date (if any)
5. **Rank low performers**:
   - Tier A: zero sales
   - Tier B: non-zero but lowest units sold
   - Tie-breaker: lower revenue, then older/no last sale
6. **Identify each product**: give its id and its slug, as the list
   returns them. No tool returns the back-office address of a product:
   do not build or guess a link.
7. **Render fixed-format report**.

## Tools used

- `catalog_get` (`type: product`; `type: collection`, `type: tag` for the optional filters)
- `sales_get` (`type: order`)

## Output contract (exact sections required)

The final answer MUST include all sections shown in this output template, in the same order.

```markdown
## Low performers report — last 30 days

### 👻 Zero sales

| Product | Status | Last sale | Id / slug |
| ------- | ------ | --------- | --------- |

### 🐢 Lowest sales (non-zero)

| Product | Qty sold | Revenue | Last sale | Id / slug |
| ------- | -------- | ------- | --------- | --------- |

## Coverage

- Products scanned: N
- Zero-sales products: N (X% of scanned catalog)
- Distinct products sold: N

## Recommended actions

- [ ] Fix product-page quality on top zero-sales items
- [ ] Re-promote 3 low-performing but strategic products
- [ ] Take persistently inactive products off sale (manual decision)
```

Do not replace this output with a one-line answer.

## Guardrails (hard rules)

- Read-only skill: no automatic update. Taking a product off sale is the
  user's decision, made afterwards with `catalog_change`
  (`product_status: DRAFT`); `INVISIBLE` does not take a product off
  sale, it can still be ordered.
- Keep `DRAFT` products out by default so unpublished products do not pollute
  low-performer diagnosis (include only if user asks).
- Every product row must give the product id and slug.
- Never build a back-office or web address from the MCP host or a guessed
  domain.
- Do not claim causality; this skill reports performance, not root cause.
- On large datasets, always filter orders server-side by date; do not
  full-paginate historical orders blindly.
- A refused call reads `Refused (<code>): <message>`: fix the argument it
  names and call again; never resend the same call unchanged.
- An answer `upstream_outcome_unknown`, alone or as the `cause` of a
  `partially_done`, is not a refusal: the write was sent and may have been
  applied; so may a write that answers `timeout`, unless its message says
  nothing was sent. Never call it again as it is: read the current state
  with `catalog_get` first, then write only what is still missing.

## Next possible actions

- Run `shop-catalog-audit` on the zero-sales list to diagnose product-page issues.
- Run `shop-promo-campaign` to re-promote selected low performers.
- Run `shop-best-sellers` to compare underperformers with your top sellers.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.