AI Customer Service KB Builder

# AI Customer Service Knowledge Base Builder

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 "AI Customer Service KB Builder" with this command: npx skills add dagangtj/ai-customer-service

AI Customer Service Knowledge Base Builder

Description

Help SMBs quickly build AI-powered customer service systems. Input FAQ documents or website URLs to automatically generate a knowledge base and configure auto-reply capabilities.

帮助中小企业快速搭建AI客服系统。输入FAQ文档或网站URL,自动生成知识库并配置自动回复功能。

Use When

  • Setting up customer service automation
  • Building FAQ knowledge bases
  • Configuring auto-reply systems
  • Migrating customer service to AI

Capabilities

  • Extract FAQ from documents (PDF, TXT, MD, DOCX)
  • Scrape FAQ from website URLs
  • Generate structured knowledge base (JSON)
  • Test Q&A matching
  • Export to common formats (JSON, CSV, Markdown)

Usage

Basic Commands

# Extract from document
node kb-builder.js extract --file ./faq.pdf --output ./kb.json

# Extract from website
node kb-builder.js scrape --url https://example.com/faq --output ./kb.json

# Test knowledge base
node kb-builder.js test --kb ./kb.json --query "退货政策是什么?"

# Export to different formats
node kb-builder.js export --kb ./kb.json --format csv --output ./kb.csv

Configuration

Create config.json:

{
  "language": "zh-CN",
  "minConfidence": 0.7,
  "maxResults": 3,
  "fallbackMessage": "抱歉,我没有找到相关答案。请联系人工客服。"
}

Examples

Example 1: Build from PDF

node kb-builder.js extract --file ./company-faq.pdf --output ./kb.json
node kb-builder.js test --kb ./kb.json --query "如何退货?"

Example 2: Build from Website

node kb-builder.js scrape --url https://shop.example.com/help --output ./kb.json
node kb-builder.js export --kb ./kb.json --format markdown --output ./faq.md

Example 3: Interactive Mode

node kb-builder.js interactive --kb ./kb.json
# Then type questions to test responses

Output Format

Knowledge base JSON structure:

{
  "version": "1.0",
  "language": "zh-CN",
  "entries": [
    {
      "id": "q001",
      "question": "如何退货?",
      "answer": "您可以在收到商品后7天内申请退货...",
      "keywords": ["退货", "退款", "return"],
      "category": "售后服务"
    }
  ]
}

Requirements

  • Node.js 18+
  • No external API keys needed for basic features
  • Optional: OpenAI API key for enhanced matching

Security

  • All processing is local
  • No data sent to external services (unless using OpenAI enhancement)
  • Safe for sensitive business information

Limitations

  • PDF extraction requires readable text (not scanned images)
  • Website scraping respects robots.txt
  • Best results with structured FAQ pages

Author

Created for OpenClaw by Claude

License

MIT

Tags

customer-service, ai, knowledge-base, faq, automation, chatbot, 客服, 知识库

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.

Research

WhatsApp FAQ Bot

Build and query a FAQ knowledge base from markdown files. Use when asked to create a FAQ bot, set up automatic answers, build a knowledge base, add FAQ entri...

Registry SourceRecently Updated
5010Profile unavailable
Research

流式AI检索问答技能

通用流式AI检索问答技能 — 为任意行业应用提供四步流式分析交互界面。 触发场景:用户输入关键词 → AI自动执行:理解意图 → 检索知识库 → 流式生成 → 来源标记 → 完整回答。 当需要实现以下任意场景时激活: (1) AI搜索框 / 智能咨询组件重构 (2) 知识库问答(医疗/法律/金融/教育等垂直领域)...

Registry SourceRecently Updated
640Profile unavailable
Research

Claude-Obsidian 知识引擎

Claude-Obsidian 风格个人知识库构建与自动整理。当用户提到以下任何场景时激活: 知识库、笔记整理、自动双向链接、Obsidian、第二大脑、卡片笔记、原子化笔记、 个人知识管理、PKM、Zettelkasten、卢曼笔记法、笔记原子化、笔记链接、 知识图谱笔记、raw/wiki/output三层、知...

Registry SourceRecently Updated
800Profile unavailable
Research

AI Learning Tutor

AI学习私教 - 搭知识库、规划路径、出题练习、批改讲解、总结输出。学练查写闭环,从零学成高手。支持任意学科:专业、考证、编程、论文等。

Registry SourceRecently Updated
1020Profile unavailable