Search

PythonReactSEOPDF
OpenClaw

Ai Customer Service

AI Customer Service Knowledge Base Builder

dagangtj0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install dagangtj/ai-customer-service

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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": "如何退货?",...

Source information

Source
github
Repository
openclaw/skills
Path
skills/dagangtj/ai-customer-service
Version
—
Commit
0ec6453254051ca264b7982b3a71e79e8c72b862
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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
```bash
# 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`:
```json
{
  "language": "zh-CN",
  "minConfidence": 0.7,
  "maxResults": 3,
  "fallbackMessage": "抱歉,我没有找到相关答案。请联系人工客服。"
}
```

## Examples

### Example 1: Build from PDF
```bash
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
```bash
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
```bash
node kb-builder.js interactive --kb ./kb.json
# Then type questions to test responses
```

## Output Format
Knowledge base JSON structure:
```json
{
  "version": "1.0",
  "language": "zh-CN",
  "entries": [
    {
      "id": "q001",
      "question": "如何退货?",...

Related skills

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance