技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 12 · 0当前安装次数· 0历史安装次数
⭐ 0
安装量(当前) 0
🛡 VirusTotal :可疑 · OpenClaw :可疑
Package:cjboy007/ssa-after-sales
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :可疑
OpenClaw 评估
The skill mostly implements the advertised after‑sales and OKKI sync functionality, but there are inconsistencies (missing declared runtime requirements, package.json present with no install spec, writing/executing temporary Python scripts) that warrant review before use.
目的
Name/description (售后管理、OKKI CRM 同步、分析报表) match the code: CLI, analytics model, and OKKI sync controller are present. However the registry metadata lists no required binaries or env vars while the code and SKILL.md clearly expect Node.js and python3 as runtime dependencies and optional OKKI_* environment variables. This mismatch is an incoherence to flag (the binaries/envs are reasonable for the stated purpose, but they should be declared).
说明范围
SKILL.md instructs running the CLI or a shell wrapper and to copy .env.example to .env; the code follows those flows. The OKKI sync controller executes external Python scripts (okki_cli.py / okki_client.py) and also writes temporary Python files to /tmp and executes them. Those behaviors are consistent with performing OKKI client integration, but they expand the runtime surface (file writes, child process execution). Also .env.example referenc…
安装机制
There is no install spec (instruction-only) which is low risk, but package.json and package-lock.json are included without an install step declared. The code expects Node.js and uses external Python scripts; lack of an explicit install entry or declared runtime in registry metadata is inconsistent. No remote downloads or obscure URLs are present in the provided files.
证书
The skill does not request secrets or unrelated cloud credentials. It uses environment variables OKKI_WORKSPACE_PATH, OKKI_CLI_PATH, OKKI_CLIENT_PATH to locate OKKI client code — these are proportional to the OKKI sync feature. However the registry's requires.env is empty while the SKILL.md and code rely on these optional env vars; this should be documented before install. No other unrelated secrets are requested.
持久
always:false and user-invocable:true. The skill writes runtime data to a local data/ directory and creates temporary files under /tmp for Python fallbacks; it does not request permanent platform privileges or modify other skills. These file writes are within scope but should be considered when running on shared hosts.
api/controllers/okki_sync_controller.js:42
检测到Shell命令执行( child_process )。
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「After-sales Service」。简介:售后管理技能,提供客户投诉管理、返单报价、满意度调查、分析报表和 OKKI CRM 同步功能。。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/cjboy007/ssa-after-sales/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: after-sales
description: 售后管理技能,提供客户投诉管理、返单报价、满意度调查、分析报表和 OKKI CRM 同步功能。
---
# After-Sales Skill - 售后管理
## 功能
- ⚠️ 客户投诉管理(创建/跟踪/解决)
- 🔄 返单报价管理
- 📊 满意度调查
- 📈 分析报表(投诉统计/客户风险分析)
- 🔄 OKKI CRM 同步(自动创建售后跟进记录)
## 使用方式
### CLI 命令
```bash
# 使用 after_sales.sh 快捷脚本
./after_sales.sh <module> <command> [options]
# 或直接用 Node.js CLI
node cli/after_sales_cli.js <module> <command> [options]
```
### 常用命令
```bash
# 投诉管理
./after_sales.sh complaint list
./after_sales.sh complaint create -n '客户名' -t quality -d '问题描述'
./after_sales.sh complaint get CMP-xxx
# 返单报价
./after_sales.sh repeat-order list
./after_sales.sh repeat-order create -n '客户名' -R 50000
# 满意度调查
./after_sales.sh satisfaction list
./after_sales.sh satisfaction stats
# 分析报表
./after_sales.sh analytics summary
./after_sales.sh analytics risk
# OKKI 同步
./after_sales.sh okki sync-complaint CMP-xxx
./after_sales.sh okki logs
```
## 环境变量
复制 `.env.example` 到 `.env` 并配置:
```bash
# OKKI 路径配置(可选,默认使用相对路径)
OKKI_WORKSPACE_PATH=/path/to/xiaoman-okki
OKKI_CLI_PATH=/path/to/okki_cli.py
OKKI_CLIENT_PATH=/path/to/okki_client.py
```
## 目录结构
```
after-sales/
├── api/ # API 服务
├── cli/ # 命令行工具
├── scripts/ # 脚本工具
├── models/ # 数据模型
├── data/ # 数据文件(运行时生成)
└── test/ # 测试文件
```
## OKKI 集成
- 自动将投诉/返单记录同步到 OKKI CRM
- 使用 `trail_type=107`(售后跟进)
- 支持客户 ID/名称匹配
- 同步日志持久化到 `data/okki_sync_logs/`
## 注意事项
- ⚠️ `data/` 目录为运行时数据,已加入 .gitignore
- ⚠️ 敏感信息请通过环境变量配置
- ⚠️ OKKI 路径支持环境变量覆盖,默认使用相对路径