Retail Analysis Toolkit — Data skill for Claude Code
通用零售数据分析工具箱:从 14 个实战 skill 提炼的 9 类分析方法 + 诊断阈值体系.
How to install Retail Analysis Toolkit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Cynthia10086/retail-analysis-toolkit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Retail Analysis Toolkit does
通用零售数据分析工具箱:从 14 个实战 skill 提炼的 9 类分析方法 + 诊断阈值体系。零依赖 Python 库 / CLI / AI Agent Skill 三合一。General-purpose retail analytics: 9 analysis methods distilled from 14 production skills, as a Python lib, CLI, and AI Agent Skill.
Alternatives in Data
- File Deletion — Secure file deletion and data sanitization methods 475 ★
- Vibepod CLI — Unified CLI for running AI coding agents in isolated containers 138 ★
- Crawl4ai Skill — Scrape JavaScript-heavy sites and extract structured data via reusable CSS schemas 46 ★
README
Retail Analysis Toolkit · 零售分析方法论工具箱
**[English](./README.en.md)** | 简体中文
[](../../actions/workflows/ci.yml) [](./LICENSE) [](./.github/workflows/ci.yml) [](#)
一套从 **14 个实战零售分析 Skill** 中提炼出的通用分析方法论: 任何数据源(CSV / JSON / 自有 BI),9 类分析,带诊断结论与行动建议的 Markdown 报告。 既是一个 **Python 工具库 + CLI**,也是一个开箱即用的 **AI Agent Skill**。
目录
它解决什么问题
零售运营中的分析问题高度重复:**目标达成了吗、为什么下滑、和同行比怎么样、 客流转化哪个环节出了问题、谁拖累了团队业绩、商品结构变了没有**……
这些问题背后其实是有限的几类分析方法。本项目把门店运营分析师日常使用的 14 个专项分析工具(各自绑定私有 BI、彼此割裂)做了完整梳理, 提炼出 **9 类通用分析方法 + 1 套集中管理的诊断阈值体系**, 重新实现为一个不依赖任何特定环境的开源工具箱:
- 对数据分析师:一个零依赖(纯 Python 标准库)的分析库和 CLI, 喂 CSV/JSON 就能出带结论的报告。
- 对 AI Agent(Claude Code / ZCode / 任意支持 Agent Skills 的客户端):
一个即装即用的 Skill——Agent 读
SKILL.md就知道该用哪个分析方法、 怎么准备数据、怎么解读结论。
核心特性
- 9 类分析方法全覆盖:目标追踪、环比归因、历史基线、横评 Benchmark、 矩阵象限、能力雷达、客户漏斗、帕累托结构、商品画像、综合评价。
- 诊断即结论:不是只给数字,每份报告自带阈值判定的 「诊断发现(🔴🟡🟢 分级)+ 行动建议」。
- 数据源无关:CSV / JSON 开箱即用;对接自有 BI 只需实现
一个
fetch()函数(DataSource 协议)。 - 零第三方依赖:纯 Python 标准库(3.9+),克隆即用,无需 pip install。
- 阈值全部可调:所有诊断阈值集中在
scripts/thresholds.py, 按业务线一行覆盖。 - 人机两用:CLI 给人用,
SKILL.md给 AI Agent 用,同一套引擎。
快速开始
方式一:CLI 一分钟体验
git clone https://github.com/Cynthia10086/retail-analysis-toolkit.git
cd retail-analysis-toolkit
# 用内置示例数据一键跑通全部 9 类分析
python3
Related Skills
Agent Governance Skills
Five general-purpose governance skills for AI agents, bilingual (English / 中文). Covers data models, write surf
Automated Data Analyst
Data analysis skill and python package for Claude Code and Codex: every number computed in code with its calcu
Evidence Skill
Evidence BI Core 2026 knowledge, distilled from a real production cutover — 21 chapters: Chinese-schema SQL, n
Edsonstock Data
EdsonStock A股结构数据 Skill · 15 类盘后自动更新数据一键查询 · 三档口径标注 · 零依赖 · 任何 Agent 通用(WorkBuddy / Claude Code / Cursor / CLI
Aiola
Everything your coding agents need, in one app. Run Claude Code, Codex, Cursor, Grok CLI, OpenCode and Antigra
Phoebe Data Skills
Data skills you can install, not just read. Claude skills that run a full analysis on your own schema - 233,83
Related Agents
Grok Worker
General-purpose cross-model task worker. Hands an arbitrary task to the xAI Grok Build CLI (default grok-4.5,
Routed Impl
Implementation-class dispatch target — production code, multi-file integration, refactors. Functionally equiva
Claudio
General-purpose catch-all agent running on Sonnet. Use when no specialized agent fits the task — writing, anal