shopify-admin-average-order-value-trends
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-average-order-value-trends" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c32b823243818a28edfed13b4637560c02029e9fef931d2cbc0500e76e2f8b23. 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
Read-only: Track average order value (AOV) trends over time by period and segments (e.g., new vs. returning customers).
Introduction source: third_party · 40RTY-ai · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Read-only: tracks AOV over time buckets and segments by new vs. returning customers.
- Inputs and outputs
- CSV file `aov_trends_<YYYY-MM-DD>.csv` with columns: `period`, `order_count`, `aov`, `new_customer_orders`, `new_customer_aov`, `returning_orders`, `returning_aov`, `currency`
- Software, accounts and paid services
- Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_orders,read_customers` API scopes: `read_orders`, `read_customers`
- Testing
- Not tested
Browse files
Frontmatter
name: shopify-admin-average-order-value-trends
role: finance
description: "Read-only: tracks AOV over time buckets and segments by new vs. returning customers."
toolkit: shopify-admin, shopify-admin-execution
api_version: "2025-01"
graphql_operations:
- orders:query
- customers:query
status: stable
compatibility: Claude Code, Cursor, Codex, Gemini CLIPurpose
Calculates Average Order Value (AOV) over configurable time buckets (daily, weekly, monthly) and segments results by new vs. returning customers. Tracks AOV trends to measure the impact of upsell programs, bundle offers, or free shipping thresholds. Read-only — no mutations.
Prerequisites
- Authenticated Shopify CLI session:
shopify store auth --store <domain> --scopes read_orders,read_customers - API scopes:
read_orders,read_customers
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| store | string | yes | — | Store domain (e.g., mystore.myshopify.com) |
| days_back | integer | no | 90 | Total lookback window |
| bucket | string | no | week | Time bucket: day, week, or month |
| format | string | no | human | Output format: human or json |
Safety
ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
Workflow Steps
-
OPERATION:
orders— query Inputs:query: "created_at:>='<NOW - days_back days>'",first: 250, selecttotalPriceSet,customer { id, numberOfOrders },createdAt, pagination cursor Expected output: All orders in window; paginate untilhasNextPage: false -
Classify each order: if
customer.numberOfOrders == 1→ new customer order; else → returning -
OPERATION:
customers— query (optional enrichment for cohort context) Inputs: Recent customers for new vs. repeat segmentation validation -
Group orders by time bucket; calculate AOV per bucket and per customer segment
GraphQL Operations
# orders:query — validated against api_version 2025-01
query AOVData($query: String!, $after: String) {
orders(first: 250, after: $after, query: $query) {
edges {
node {
id
name
createdAt
totalPriceSet {
shopMoney {
amount
currencyCode
}
}
customer {
id
numberOfOrders
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
# customers:query — validated against api_version 2025-01
query NewVsReturningCustomers($query: String!, $after: String) {
customers(first: 250, after: $after, query: $query) {
edges {
node {
id
numberOfOrders
createdAt
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
Session Tracking
Claude MUST emit the following output at each stage. This is mandatory.
On start, emit:
╔══════════════════════════════════════════════╗
║ SKILL: Average Order Value Trends ║
║ 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):
══════════════════════════════════════════════
AOV TRENDS (<days_back> days, bucket: <bucket>)
Orders analyzed: <n>
Overall AOV: $<amount>
New customer AOV: $<amount>
Returning AOV: $<amount>
Period Orders AOV New AOV Returning AOV
────────────────────────────────────────────────────
2026-W14 <n> $<n> $<n> $<n>
Output: aov_trends_<date>.csv
══════════════════════════════════════════════
For format: json, emit:
{
"skill": "average-order-value-trends",
"store": "<domain>",
"period_days": 90,
"overall_aov": 0,
"new_customer_aov": 0,
"returning_customer_aov": 0,
"by_period": [],
"output_file": "aov_trends_<date>.csv"
}
Output Format
CSV file aov_trends_<YYYY-MM-DD>.csv with columns:
period, order_count, aov, new_customer_orders, new_customer_aov, returning_orders, returning_aov, currency
Error Handling
| Error | Cause | Recovery |
|---|---|---|
THROTTLED |
API rate limit exceeded | Wait 2 seconds, retry up to 3 times |
| Guest checkout orders | No customer record | Count in totals but exclude from new/returning segmentation |
| No orders in window | New store or quiet period | Exit with 0 AOV |
Best Practices
- A free shipping threshold increase or bundle introduction should show up as an AOV lift in the week/month it launched — use this report to measure the impact.
- Returning customer AOV is typically higher than new — a shrinking gap may indicate loyalty erosion.
bucket: weekis best for campaign measurement;bucket: monthfor long-term trend tracking.- Guest checkout orders cannot be segmented as new vs. returning — for stores with high guest checkout rates, the segmentation will under-count new customers.
Version history
-
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
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决电商运营高频刚需:AOV趋势分析
- 细分维度实用:新客vs回头客对比
- 时间粒度灵活:支持日/周/月聚合
Areas to improve
-
currency切换场景未详细说明 Reported severity: Minor
多币种店铺环境下汇率处理逻辑缺失
Recommendation: 补充currency_code一致性校验或汇率转换说明
Highlights
- description边界清晰:明确read-only和细分维度
- 参数定义完整:含默认值和类型约束
Areas to improve
-
缺少When to Use章节 Reported severity: Minor
未显式列出典型使用场景示例
Recommendation: 在Purpose后增加When to Use章节列举3-5个典型用例
Highlights
- Phase划分清晰:Workflow Steps分步可执行
- 端到端示例完整:三阶段输出模板齐全
- frontmatter规范:所有元数据字段齐全
Areas to improve
-
API认证失败处理未细化 Reported severity: Minor
auth失败时缺乏具体错误码映射和恢复步骤
Recommendation: 补充常见auth错误码对照表和重试指引
Highlights
- 异常覆盖全面:THROTTLED/guest checkout/空结果均有处理
- 分页机制健壮:hasNextPage循环终止条件明确
- 安全声明清晰:read-only无需确认机制
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.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_orders,read_customers` API scopes: `read_orders`, `read_customers`
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.