station-operations-analysis
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 "station-operations-analysis" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1100b4904bdd345953dce6a9c90fa621f4d53b1fddb000bd972d4a8700fe2c13. Verify the upstream source and version against https://skillhub.cn/skills/user_9203a591/station-operations-analysis before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Station operations analysis: Provides operational analytics including daily reports, site-wide summaries, weekly reports, anomaly alerts, goal tracking, and monthly reports. Supports two data source modes: direct MySQL connection and API interface.
Introduction source: third_party · user_9203a591 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: station-operations-analysis
description: "站点运营分析:日报分析、全站汇总、周报、异常预警、目标追踪、月报。支持 MySQL 直连和 API 接口两种数据源模式"
allowed-tools:
- exec
metadata:
openclaw:
emoji: "📊"
requires:
bins: ["python3"]
install:
- id: pip
kind: pip
packages: ["pymysql", "requests"]
label: "Install Python dependencies (required for data source connection)"📊 站点运营分析
一款通用的站点运营数据分析技能包,支持对多站点每日运营数据进行自动化分析和可视化报告生成。适用于连锁门店、配送站、仓储中心等多站点运营场景。
核心功能
| 模块 | 脚本 | 说明 |
|---|---|---|
| 📊 单站日报分析 | daily_analysis.py |
分析单站当日数据、红绿灯判定、历史对比、自动建议 |
| 📈 全站日报汇总 | station_summary.py |
多站点横向对比、排名、合计统计 |
| 📉 周报分析 | 开发中 | 每周运营回顾与趋势分析 |
| ⚠️ 异常预警 | 开发中 | 自动检测指标异常并预警 |
| 🎯 目标追踪 | 开发中 | 关键目标完成进度追踪 |
| 💰 月度经营简报 | 开发中 | 月度经营状况总结 |
快速开始
1️⃣ 配置数据源
方式A:MySQL 直连
编辑 config/settings.json:
{
"data_source": {
"mode": "mysql",
"options": {
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"user": "root",
"password": "your_password",
"database": "station_ops",
"charset": "utf8mb4"
}
}
},
"stations": {
"list": ["门店A", "门店B", "门店C"]
}
}
也可以通过环境变量配置(无需编辑配置文件):
| 环境变量 | 说明 |
|---|---|
MYSQL_HOST |
数据库主机,默认 127.0.0.1 |
MYSQL_PORT |
数据库端口,默认 3306 |
MYSQL_USER |
数据库用户,默认 root |
MYSQL_PASSWORD |
数据库密码 |
MYSQL_DATABASE |
数据库名,默认 station_ops |
方式B:API 接口
{
"data_source": {
"mode": "api",
"options": {
"api": {
"base_url": "https://your-system.com/api/v1",
"api_key": "your-api-key",
"timeout": 30
}
}
},
"stations": {
"list": ["门店A", "门店B"]
}
}
2️⃣ 建表(MySQL 模式)
参考 references/table_schema.md 创建 daily_reports 表。
3️⃣ 运行分析
# 单站日报分析
python3 scripts/daily_analysis.py "门店A" 2026-06-10
# 全站日报汇总
python3 scripts/station_summary.py 2026-06-10
触发词(Agent 模式)
将本技能加载到 OpenClaw Agent 后,Agent 可通过以下触发词自动调用对应模块:
| 触发词 | 模块 |
|---|---|
分析 X站 / X站 运营 / X站 怎么样 |
📊 单站日报分析 |
全站汇总 / 今日汇总 / 各站日报 |
📈 全站日报汇总 |
上周分析 / 周报 |
📉 周报分析(开发中) |
检查异常 / 异常预警 |
⚠️ 异常预警(开发中) |
目标进度 / 任务追踪 |
🎯 目标任务追踪(开发中) |
月报 / 本月分析 / X月经营 |
💰 月度经营简报(开发中) |
输出格式
单站日报分析
📊 【站点A】2026-06-10 运营分析
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 核心指标
订单:440单 | 营业额:30404.0元 | 均单价:69.1元
在岗:16人 | 人均送单:27.5单
吸粉:26个 | 转化:15个
⚠️ 服务质效
超时:7单(1.6%) ✅ 优秀
取消:5单(1.1%) ✅ 优秀
投诉:0单 ✅ 无投诉
15分钟率:70.0% ✅ 达标
📈 关键对比
订单 440 → 近7日均值385.2 ↑14.2% → 近30日均值372.8 ↑18.0%
营业额 30404 → 近7日均值28520.5 ↑6.6% → 近30日均值28014.3 ↑8.5%
超时率 1.6% → 近7日均值2.8% ↓42.9% → 近30日均值3.1% ↓48.4%
15分钟率 70.0% → 近7日均值65.2% ↑7.4% → 近30日均值62.8% ↑11.5%
吸粉 26个 → 近7日均值18.3个 ↑42.1% → 近30日均值15.2个 ↑71.1%
💡 建议
1. 各项指标表现良好,继续保持 👍
全站日报汇总
📊 全站日报汇总 — 2026-06-10
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
站点 订单 营业额 均单价 人均 超时率 15分钟率 吸粉
------------------------------------------------------------
门店A 440 30404 69.1 27.5 1.6% 70.0% 26
门店B 251 22349 89.0 16.7 4.4% 58.3% 2
门店C 189 18334 97.0 15.8 1.1% 68.6% 24
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏆 今日订单王:门店A(440单)
📌 合计:880单 | 营业额71087元 | 均单价80.8元
数据表结构
MySQL 模式需要 daily_reports 表,详见 references/table_schema.md。API 模式需要对接 3 个接口,详见 references/api_spec.md。
开发计划
| 版本 | 内容 | 状态 |
|---|---|---|
| v1.0.0 | 单站日报分析 + 全站汇总 | ✅ 当前版本 |
| v1.1.0 | 周报分析 + 异常预警 | 📝 开发中 |
| v1.2.0 | 目标追踪 + 月报 | 📝 规划中 |
| v2.0.0 | 自定义字段映射、多数据源切换配置化 | 🗓 规划中 |
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决多站点运营数据分析的实际业务痛点
- 支持 MySQL 直连和 API 接口两种数据源模式,适配性强
- 提供日报分析、全站汇总等高频刚需功能
Highlights
- 触发词覆盖全面,包含多种变体
- 边界清晰,不易误触
Highlights
- Phase/步骤清晰(配置数据源→建表→运行分析)
- 有出口条件(明确的命令示例)
- 含端到端示例
- frontmatter 完整
Highlights
- 工具来源明确(pymysql, requests)
- 参数正确
- 覆盖主要异常(环境变量配置、配置文件编辑)
- 不可逆操作有确认机制(通过配置文件或环境变量)
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.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 81
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- your-system.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
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.