auto-customer-support

自动化客服(基于 FAQ 的轻量检索回复 + 简单转人工/工单接口;支持 Webhook 接入、邮件/企业微信/工单系统集成与可选升级到 LLM 混合模式)。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "auto-customer-support" with this command: npx skills add xianji520/auto-customer-support

自动化客服 Skill

本 Skill 提供一个可运行的客服自动化 scaffold,适合快速搭建轻量客服机器人并接入外部渠道。默认实现是基于 FAQ 的检索+模板回复,并提供转人工/工单的接口。

适用触发语(示例)

  • “帮我自动回复客服消息”
  • “把这个接入到微信/邮箱,遇不到答案就转人工”
  • “给我一份客服 FAQ 的示例和测试对话”

快速功能概览

  • 加载 CSV 格式的 FAQ(intent, question_variants, answer)
  • 基于简单关键词/模糊匹配选择最佳答案并渲染模板
  • 可配置信心阈值,低信心时自动标记为需人工或创建工单
  • 提供 /webhook 接口用于接收消息并返回回复(JSON),以及 /escalate 用于转人工

目录结构(已创建)

  • scripts/server.py — Flask webhook 服务(主运行脚本)
  • data/faq.csv — 示例问答对
  • assets/templates/auto-reply.txt — 回复模板示例(变量支持)
  • references/integration-guides.md — 渠道/集成与凭证说明
  • examples/sample_conversation.md — 示例对话与测试用例

运行(快速上手)

  1. 安装依赖:uv pip install flask
  2. 启动服务(开发): uv run python skills/auto-customer-support/scripts/server.py --port 5005
  3. 测试请求: curl -X POST http://localhost:5005/webhook -H "Content-Type: application/json" -d '{"message":"如何退款","sender":"user-123"}'

输出(示例)

  • 成功匹配时返回:{ "reply": "...", "confidence": 0.95, "escalate": false }
  • 未匹配或低置信时返回:{ "reply": "抱歉,我不确定……我们将转人工处理。", "confidence": 0.35, "escalate": true }

扩展与升级点

  • 将检索层替换成向量搜索(FAISS/Chroma)并接入 LLM 以生成更自然的回答
  • 增加对话上下文管理与会话状态
  • 集成渠道(企业微信/微信客服/邮箱/Zendesk)并实现双向消息同步

隐私与安全

  • 不要把生产 API Key、密码粘贴到对话中;在部署时使用环境变量或受限凭证文件
  • 自动回复前在测试环境做 100% 验证,避免误发敏感信息

下一步

  • 我可以立刻在 workspace 中创建并启动服务供你本地测试;或根据你要接入的渠道(微信/邮箱/Zendesk)帮你生成对接示例。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated