shopify-admin-checkout-abandonment-report

Aggregate abandoned checkout data by time period, grouped by cart amount ranges and hour of day (UTC).

Last repository push
GitHub Stars
205
Forks
23
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "shopify-admin-checkout-abandonment-report" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9446a767edd211af897c9b3f12748da3a8d29cdbddc025c555a23afa72792e7a. Verify the upstream source and version against https://github.com/40RTY-ai/shopify-admin-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Aggregate abandoned checkout data by time period, grouped by cart amount ranges and hour of day (UTC).

0 Downloads

Introduction source: third_party · 40RTY-ai · 0.0.1 Reference

SkillPi interpretation

Tasks
Aggregate abandoned checkout data for a time range, broken down by cart value bucket and hour of day (UTC).
Inputs and outputs
Two tables displayed inline (no CSV): Table 1: Abandonment by Cart Value Bucket** | Cart Value Range | Abandoned Checkouts | % of Total | |-----------------|---------------------|------------| | $0 – $25 | ... | ... | | $25 – $50 | ... | ... | | $50 – $100 | ... | ... | | $100 – $250 | ... | ... | | $250+ | ... | ... | Table 2: Abandonment by Hour of Day (UTC)** | Hour (UTC) | Abandoned Checkouts | % of Total | |-----------|---------------------|------------| | 00:00 | ... | ... | | 01:00 | ... | ... | | 02:00 | ... | ... | | ... | | | For `format: json`, `by_cart_value` is an array of `{range, count, pct}` objects; `by_hour_utc` is an array of `{hour, count, pct}` objects. Note: Device type
Software, accounts and paid services
Authenticated Shopify CLI session: `shopify auth login --store <domain>` API scopes: `read_checkouts`
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: shopify-admin-checkout-abandonment-report
role: conversion-optimization
description: "Aggregate abandoned checkout data for a time range, broken down by cart value bucket and hour of day (UTC)."
toolkit: shopify-admin, shopify-admin-execution
api_version: "2025-01"
graphql_operations:
  - abandonedCheckouts:query
status: stable
compatibility: Claude Code, Cursor, Codex, Gemini CLI

Purpose

Aggregates abandoned checkout data broken down by cart value bucket and hour of day (UTC). Helps identify when and at what price point customers are most likely to abandon checkout. Scoped to what the abandonedCheckouts API provides — device type and geographic location are not available in this API and are not reported.

Prerequisites

  • Authenticated Shopify CLI session: shopify auth login --store <domain>
  • API scopes: read_checkouts

Parameters

Parameter Type Required Default Description
store string yes — Store domain (e.g., mystore.myshopify.com)
format string no human Output format: human or json
dry_run bool no false Preview operations without executing mutations
date_range_start string yes — Start date in ISO 8601 (e.g., 2025-01-01)
date_range_end string yes — End date in ISO 8601 (e.g., 2025-01-31)
cart_value_buckets array no [0, 25, 50, 100, 250] Array of thresholds defining cart value bands (e.g., [0,25,50,100,250] creates bands: $0–25, $25–50, $50–100, $100–250, $250+)

Workflow Steps

  1. OPERATION: abandonedCheckouts — query Inputs: first: 250, query: "created_at:>='<date_range_start>' created_at:<='<date_range_end>'", pagination cursor Expected output: All abandoned checkouts in range with totalPrice and createdAt; paginate until hasNextPage: false; then aggregate in-memory: (1) count by cart value bucket, (2) count by hour of day (UTC, 0–23)

GraphQL Operations

# abandonedCheckouts:query — validated against api_version 2025-04
query AbandonedCheckoutsReport($first: Int!, $after: String, $query: String) {
  abandonedCheckouts(first: $first, after: $after, query: $query) {
    edges {
      node {
        id
        createdAt
        totalPriceSet {
          shopMoney {
            amount
            currencyCode
          }
        }
        customer {
          defaultEmailAddress {
            emailAddress
          }
        }
        lineItems {
          edges {
            node {
              title
              quantity
              variant {
                price
              }
            }
          }
        }
      }
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}

Session Tracking

Claude MUST emit the following output at each stage. This is mandatory.

On start, emit:

╔══════════════════════════════════════════════╗
║  SKILL: checkout-abandonment-report          ║
║  Store: <store domain>                       ║
║  Started: <YYYY-MM-DD HH:MM UTC>             ║
╚══════════════════════════════════════════════╝

After each step, emit:

[N/TOTAL] <QUERY|MUTATION>  <OperationName>
          → Params: <brief summary of key inputs>
          → Result: <count or outcome>

On completion, emit:

For format: human (default):

══════════════════════════════════════════════
OUTCOME SUMMARY
  Total abandoned:   <n>
  Date range:        <start> to <end>
  Errors:            0
  Output:            none
══════════════════════════════════════════════

For format: json, emit:

{
  "skill": "checkout-abandonment-report",
  "store": "<domain>",
  "started_at": "<ISO8601>",
  "completed_at": "<ISO8601>",
  "dry_run": false,
  "steps": [
    { "step": 1, "operation": "AbandonedCheckoutsReport", "type": "query", "params_summary": "<date_range_start> to <date_range_end>", "result_summary": "<n> checkouts", "skipped": false }
  ],
  "outcome": {
    "total_abandoned": 0,
    "date_range_start": "<date_range_start>",
    "date_range_end": "<date_range_end>",
    "by_cart_value": [
      { "range": "$0 – $25", "count": 0, "pct": 0.0 }
    ],
    "by_hour_utc": [
      { "hour": "00:00", "count": 0, "pct": 0.0 }
    ],
    "errors": 0,
    "output_file": null
  }
}

Output Format

Two tables displayed inline (no CSV):

Table 1: Abandonment by Cart Value Bucket

Cart Value Range Abandoned Checkouts % of Total
$0 – $25 ... ...
$25 – $50 ... ...
$50 – $100 ... ...
$100 – $250 ... ...
$250+ ... ...

Table 2: Abandonment by Hour of Day (UTC)

Hour (UTC) Abandoned Checkouts % of Total
00:00 ... ...
01:00 ... ...
02:00 ... ...
...

For format: json, by_cart_value is an array of {range, count, pct} objects; by_hour_utc is an array of {hour, count, pct} objects.

Note: Device type and geographic location are not available in the abandonedCheckouts API and are not reported by this skill.

Error Handling

Error Cause Recovery
No checkouts returned No abandoned checkouts in date range Widen date range or verify read_checkouts scope
Invalid date format Date not in ISO 8601 Use format YYYY-MM-DD
Rate limit (429) Too many paginated requests Narrow date range or reduce first to 100

Best Practices

  1. For high-traffic stores, narrow the date range to 7–14 days for faster results; paginating 90 days of data can produce many API calls.
  2. The default cart_value_buckets of [0,25,50,100,250] works for most stores — adjust thresholds to match your AOV distribution.
  3. Hours are reported in UTC — convert to your store's local timezone before drawing conclusions about peak abandonment times.
  4. Run this report weekly and compare the by-hour pattern to your promotional send times to find timing opportunities.
  5. email is included in the query result — combine with the abandoned-cart-recovery skill to act on the customers most likely to convert based on their cart value tier.

Version history

  1. v1.1.0 GitHub ↗
    Original release notes

    ## 🤖 New category: Agentic Commerce Readiness The fix-it side of the [**agentiq.report**](https://agentiq.report) audit. The audit tells operators *where* AI shopping agents (ChatGPT, Gemini, Perplexity, agentic checkout) can't find, read, or recommend their store. This release adds **10 skills that remediate those findings** via the native Shopify Admin GraphQL toolkit — closing the loop: **audit finds the gap → run the matching skill → re-audit confirms.** Every skill declares the audit **signals** it fixes (`audit_signals` frontmatter), so a finding in the report maps directly to the skill that resolves it. ### Skills - **`agentic-readiness-audit`** — flagship, read-only store-side scorecard that routes each gap to its fix skill - **`agentic-product-jsonld-backfill`** — barcode/GTIN, vendor, product type for complete Product JSON-LD - **`agentic-image-alt-text`** — descriptive alt text on product media - **`agentic-description-enrichment`** — fact-rich descriptions for AI quoting - **`agentic-metafields-setup`** — define + populate agentic metafields for filtering - **`agentic-product-taxonomy`** — Shopify Standard Product Taxonomy categories - **`agentic-crawler-access`** — allow GPTBot/ClaudeBot/PerplexityBot… in `robots.txt.liquid` - **`agentic-llms-txt`** — publish a curated `/llms.txt` for AI assistants - **`agentic-organization-schema`** — Organization JSON-LD (sameAs, contactPoint) into the theme - **`agentic-policy-readability`** — machine-readable shipping/returns policies Plus a weekly **`agentic-readiness-monitor`** routine that re-audits and alerts on regressions. ### Stats **116 skills across 11 categories** (was 106/10), **21 routines** (was 20). All GraphQL validated against the live Admin 2025-01 schema; `pnpm validate:index` passes (116 skills, 64 operations). ### Notes Theme-editing and policy skills default to `dry_run`/`audit` mode, write inside managed `# BEGIN/END` blocks, and recommend duplicating the theme first.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 针对电商运营中的废弃购物车分析,具有明确的商业优化价值
  • 支持自定义金额区间和时间范围,适应不同业务场景
Trigger Precision90/100

Highlights

  • description 清晰描述功能边界和输出维度
  • frontmatter 中 description 完整且位置正确
Structure and Standards95/100

Highlights

  • Workflow Steps 清晰划分执行阶段
  • 包含完整的 GraphQL query 示例和 Session Tracking 规范
  • Output Format 详细说明两种输出模式
Execution Reliability90/100

Highlights

  • API scopes 和认证要求明确
  • Error Handling 覆盖主要异常场景
  • Best Practices 提供实际使用建议
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Authenticated Shopify CLI session: `shopify auth login --store <domain>` API scopes: `read_checkouts`

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.