Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

客户清单分析

v1.0.0

客户清单分析工具。基于Shop API客户清单数据,快速查询不同类型客户的数量、试用情况汇总、导购匹配情况。 核心能力: 1. 客户类型分布统计(普通/潜在/意向/成交客户数量及占比) 2. 客户试用情况汇总(感兴趣商品数、试用商品数、试用后成交转化) 3. 导购匹配分析(各导购关联客户数、匹配失败数量及原因)...

0· 99·1 current·1 all-time
byXtechmerge.AI@gwyang7

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for gwyang7/retail-customer-list-analysis.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "客户清单分析" (gwyang7/retail-customer-list-analysis) from ClawHub.
Skill page: https://clawhub.ai/gwyang7/retail-customer-list-analysis
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install retail-customer-list-analysis

ClawHub CLI

Package manager switcher

npx clawhub@latest install retail-customer-list-analysis
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The skill implements customer-list analysis functions that align with the description (type distribution, trial summary, clerk matching). However the code depends on an external api_client.get_shop_data and a local workspace path (~/.openclaw/workspace-front-door). Requiring a local API client is plausible for this purpose, but the bundled SKILL.md and code reference a specific absolute user path (/Users/yangguangwei/.openclaw/workspace-front-door) which is unusual and brittle for a reusable skill.
!
Instruction Scope
SKILL.md instructs calls to POST /api/v1/customer/list via api_client.get_shop_data only (expected). The implementation inserts an absolute filesystem path into sys.path and imports api_client from a user-specific directory; that causes the skill to load code from the host filesystem (outside the skill bundle). This expands scope beyond the documented API call because it will execute whatever api_client is present at that path.
Install Mechanism
No install spec or external downloads; the skill is packaged with Python code only. This avoids remote code fetch during install, but the runtime import of a local module still causes execution of external code at runtime.
!
Credentials
The skill declares no required env vars or credentials, yet it relies on an external api_client whose authentication behavior is unspecified. That client (loaded from a local path) may read credentials or config from the host (files, environment), so the skill's declared requirements understate its potential access to secrets/configuration.
Persistence & Privilege
always is false and the skill does not request persistent system-level privileges or modify other skills. It prints and returns analysis results only.
What to consider before installing
This skill largely does what its description says, but it imports a Shop API client from a local path (sys.path.insert('/Users/yangguangwei/.openclaw/workspace-front-door')). Before installing or running it: 1) Inspect the api_client implementation in that local workspace to confirm how it authenticates and whether it will read any local secrets or config files. 2) Note the code uses an absolute user-specific path that may not exist or may point to another user's files—this is brittle and could cause unexpected imports. 3) Run the skill in an isolated/test environment (or replace the import with a controlled client) if you cannot verify the api_client. 4) If you expect this skill to be portable, request the author remove hard-coded user paths and document how API credentials are provided. Because the skill can execute code from your filesystem that isn't included in the package, proceed with caution.

Like a lobster shell, security has layers — review code before you run it.

latestvk976wkpa3x1gxvwx6mpd5kqcs583najz
99downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

客户清单分析 Skill

技能名称

customer-list-analysis

版本

v1.0

功能描述

基于 Shop API 客户清单数据,快速查询不同类型客户的数量、试用情况汇总、导购匹配情况。

数据源

API 端点

POST /api/v1/customer/list

请求参数

参数类型必填说明
storeIdstring门店ID
fromDatestring开始时间 (YYYY-MM-DD HH:mm:ss)
toDatestring结束时间 (YYYY-MM-DD HH:mm:ss)
customerTypearray客户类型 [1,2,3,4],空数组=全部
badgeNamestring导购姓名,为空查询全部
pageNoint页码,默认1
pageSizeint每页数量,默认20

客户类型

类型值名称说明
1普通客户进店浏览但未产生试用行为
2潜在客户有普通试用行为
3意向客户有深度试用但未成交
4成交客户已完成购买

返回字段

字段说明
customerId客户ID
visitId访问ID
customerType客户类型 (1-4)
fromTime进店时间
toTime离店时间
duration停留时长(秒)
interestedItems感兴趣商品数
trialItems试用商品数
trialTransTotal试用后成交件数
transMoney成交金额
transTotal成交件数
badgeName关联导购姓名(为空表示匹配失败)

核心能力

1. 客户类型分布统计

总客户数: XXX人
├── 普通客户: XX人 (XX%) - 进店未试用
├── 潜在客户: XX人 (XX%) - 有普通试用
├── 意向客户: XX人 (XX%) - 深度试用未成交
└── 成交客户: XX人 (XX%) - 已完成购买

2. 客户试用情况汇总

按客户类型汇总:

  • 平均感兴趣商品数
  • 平均试用商品数
  • 试用后成交转化率
  • 平均成交金额

3. 导购匹配分析

总客户数: XXX人
├── 已匹配导购: XX人 (XX%)
│   ├── 导购A: XX人
│   ├── 导购B: XX人
│   └── ...
└── 匹配失败: XX人 (XX%) - 需处理

4. 客户明细列表

支持分页查询,可导出客户明细。

使用示例

from analyze import analyze_customer_list

# 查询今日客户清单
result = analyze_customer_list(
    store_id="416759_1714379448487",
    from_date="2026-03-25 00:00:00",
    to_date="2026-03-25 23:59:59",
    customer_type=[],  # 全部客户
    badge_name=None    # 全部导购
)

# 查询特定导购的客户
result = analyze_customer_list(
    store_id="416759_1714379448487",
    from_date="2026-03-25 00:00:00",
    to_date="2026-03-25 23:59:59",
    customer_type=[3, 4],  # 意向+成交
    badge_name="杨丽"
)

输出格式

{
  "status": "ok",
  "store_id": "416759_1714379448487",
  "query_period": {
    "from": "2026-03-25 00:00:00",
    "to": "2026-03-25 23:59:59"
  },
  "summary": {
    "total_customers": 50,
    "by_type": {
      "普通客户": {"count": 10, "percentage": 20.0},
      "潜在客户": {"count": 15, "percentage": 30.0},
      "意向客户": {"count": 15, "percentage": 30.0},
      "成交客户": {"count": 10, "percentage": 20.0}
    },
    "by_badge": {
      "matched": {"count": 45, "percentage": 90.0},
      "unmatched": {"count": 5, "percentage": 10.0},
      "clerks": {
        "杨丽": {"count": 20, "types": {"意向": 10, "成交": 10}},
        "李翠": {"count": 15, "types": {"潜在": 8, "意向": 7}},
        "未匹配": {"count": 5, "types": {"普通": 3, "潜在": 2}}
      }
    }
  },
  "trial_summary": {
    "平均感兴趣商品数": 3.5,
    "平均试用商品数": 2.1,
    "试用后成交转化率": 35.0
  },
  "customer_list": [...],
  "page": {
    "total": 50,
    "size": 20,
    "pages": 3,
    "current": 1
  }
}

依赖

  • api_client.get_shop_data() - Shop API 调用
  • ~/.openclaw/workspace-front-door/ - API 客户端路径

版本

v1.0.0 - 客户清单查询、类型分布、试用汇总、导购匹配

Comments

Loading comments...