shop-analytics

shop-analytics is a skill for Claude Code, Codex from gmomakeshop/agent-skills. It costs 285 tokens per session (4,338 once invoked), scanned A, original, MIT.

A shop-analysis workflow that uses available order and member data to examine sales, detect problems, create reports, and suggest actions. It is documented in Japanese.

In plain words
What is it for?
Use it to study sales trends, repeat purchases, customer lifetime value, falling sales, or other shop performance questions.
Why use it?
It helps turn a vague business question into specific measures, time periods, and an agreed report format before analysis begins.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to study sales trends, repeat purchases, customer lifetime value, falling sales, or other shop performance questions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gmomakeshop/agent-skills/shop-analytics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gmomakeshop/agent-skills --skill shop-analytics
Clone the repo
git clone --depth 1 https://github.com/gmomakeshop/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shop-analytics

README.md
[![agentmods](https://agentmods.dev/badge/skills/gmomakeshop/agent-skills/shop-analytics/github.svg)](https://agentmods.dev/skills/gmomakeshop/agent-skills/shop-analytics)
Your own site
<a href="https://agentmods.dev/skills/gmomakeshop/agent-skills/shop-analytics"><img src="https://agentmods.dev/badge/skills/gmomakeshop/agent-skills/shop-analytics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shop-analytics

Your own site · 80×15
<a href="https://agentmods.dev/skills/gmomakeshop/agent-skills/shop-analytics"><img src="https://agentmods.dev/badge/skills/gmomakeshop/agent-skills/shop-analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 285 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,338 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00285 $0.04338
Opus 5 $0.00143 $0.02169
Sonnet 5 $0.00057 $0.00868
Haiku 4.5 $0.00028 $0.00434

Measured 11d ago against content hash dd2fa5101e7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

shop-analytics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/shop-analytics/SKILL.md · 222 lines

How it starts

The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ショップ分析スキル

利用可能な注文・会員データ取得ツールを通じてデータを取得し、売上分析・問題検知・レポート作成・施策提案を行う。

ワークフロー

1. ヒアリング

以下の項目をすべて明確にしてから次工程に進む。ユーザーの発話から推測できる項目は確認なしで進めてよいが、曖昧な場合は必ず聞き返す。

項目 確認内容
分析テーマ 何を知りたいか・何を解決したいか(例: 「売上推移」「売上低下の原因」「リピート施策の提案」)
分析対象指標 テーマに対して具体的にどの指標を出すか(例: 「平均LTV」「LTV上位会員数」)
対象期間 いつからいつまでのデータを対象とするか
出力形式 テキスト or HTML
1-1. 分析テーマの聞き取り

ユーザーから「何を知りたいか・何を解決したいか」を聞く。曖昧な表現の場合は意図を確認する。

1-2. 分析対象指標の具体化

テーマだけでは何を算出すべきかが定まらないため、指標レベルまで具体化してユーザーと合意を取る

スキップ条件: ユーザー発話の中で具体的な指標が明示されている場合(例: 「今月の売上推移と客単価を見せて」「平均LTVだけ知りたい」)は、提案による確認を省略して 1-3 に進む。曖昧な指標が1つでも残っていれば実施する。

該当リファレンスの特定(決定木):

  1. 依頼が 日次/週次/月次/ダッシュボード等の複合レポート → 「複合レポートのレシピ」を起点に、構成要素のリファレンスを順に特定
  2. 依頼が 単一テーマ(売上、リピート、LTV など) → 「ユーザーリクエスト → 参照リファレンス」表で該当行を引く
  3. 上記いずれにも当てはまらない曖昧な依頼 → 「キーワード索引」で発話に含まれる単語から候補を絞り、候補が複数あれば「ユーザーリクエスト → 参照リファレンス」表で文脈に合うものを選ぶ

手順:

  1. 上記決定木で該当する分析リファレンスを特定する
  2. 特定したリファレンスを読み込み、定義されている指標を把握する
  3. テーマに合った指標を2〜4個に絞ってユーザーに提案し、確認を取る

提案例:

ユーザー: 「LTVを分析したい」 Claude: references/analysis-reference-ltv.md を確認 → 「平均LTVとLTV上位会員数を分析対象にしますが、いかがでしょうか?」

ユーザーが指標の追加・削除を求めた場合は調整する。指標が増減すれば後段の取得項目も変わる。

1-3. 対象期間
ユーザーの表現 対象期間 比較対象
「今月の売上」「今月はどう」 当月1日〜本日 前月同期間
「先月の売上」 前月1日〜前月末日 前々月
「最近の売上」「売上はどう」 直近1ヶ月 その前の1ヶ月
「今年の売上」 当年1月1日〜本日 前年同期間
明示的な期間指定 指定期間 同じ長さの直前期間
1-4. 出力形式

「グラフで見たい」「ダッシュボード」→ HTML、「簡潔に教えて」「会話で報告」→ テキスト。

2. 取得項目の確認

必要なフィールドだけを取得して実行時間を短縮する。ツールを複数回実行する場合は、ユーザーに許可をとってから実行する。

手順:

  1. 1-2 で特定した分析リファレンスの「計算方法」を読み、算出に必要なデータ要素を洗い出す(例: 会員ID、注文金額、注文日時、商品名、商品単価、数量)
  2. 出力形式が HTML の場合は、この時点で references/report-reference-html.md も読み込み、ダッシュボード描画に必要なラベル系フィールド(商品名、システム商品コード、都道府県など)を洗い出しに加える。テキスト出力でも、表に乗せたい属性があれば同様に追加する
  3. データ取得ツールが必要なフィールドへの絞り込みに対応している場合は、絞り込みを行う

3. データ取得

  1. 注文取得ツールで 対象期間 の全注文データを取得する。2 で絞り込んだ条件・フィールド指定を使う
  2. 比較対象期間がある場合(1-3 の表で定義された前月・前年同期間など)は、同じ条件で 比較期間 の全注文データも取得する。前期比・前年比の算出に必須
  3. 会員属性が必要な場合、会員取得ツールで会員データを取得する。

4. 分析・出力

Read the full file on GitHub · 222 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 222 lines · 285 tokens per session scan A dd2fa5101e7f

Subscribe to this mod's changes

shop-analytics is a skill published in the GitHub repository gmomakeshop/agent-skills (2 stars, last pushed yesterday), licensed MIT. It adds 285 tokens to every session and 4,338 once invoked, about $0.0014 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

play-billing-library-version-upgrade

Use this skill when upgrading or migrating an Android project from any legacy Google Play Billing Library (PBL) version to the latest stable version of PBL.

android/skills · 39 tokens

product-page-seo

Optimize AEM Edge Delivery Services commerce product pages for search engine crawling and indexing. Audits client-side rendered product content for crawlability, validates meta tags, Product schema.org structured data, canonical URLs, and image optimization. Addresses the core challenge that EDS product pages render…

adobe/skills · 90 tokens

muapi-amazon-product-listing

Generate a complete Amazon product listing image set — hero image, lifestyle shot, infographic with features, and comparison/detail closeups optimized for Amazon standards.

SamurAIGPT/Generative-Media-Skills · 37 tokens

muapi-multi-angle-shots

Generate a complete set of multi-angle product shots — front, side, back, top-down, and 45-degree perspective — for comprehensive product visualization.

SamurAIGPT/Generative-Media-Skills · 38 tokens

commerce-app-business-config

Manage custom business configuration in an Adobe Commerce app. Use when the user wants to add, modify, or remove merchant-configurable settings (config fields, admin config, store configuration) exposed through Commerce Admin. Creates typed config fields (text, password, email, url, tel, boolean, list) in…

adobe/skills · 80 tokens

menu-engineer

Optimize menu pricing, placement, and item mix to maximize profitability. Uses menu engineering frameworks to analyze item performance by popularity and margin, then recommends pricing tweaks, repositioning, and removals.

cosmicstack-labs/mercury-agent-skills · 42 tokens