# Send AI Customer Service KB Builder to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ai-customer-service",
    "name": "AI Customer Service KB Builder",
    "source": "tencent",
    "type": "skill",
    "category": "其他",
    "sourceUrl": "https://clawhub.ai/dagangtj/ai-customer-service",
    "canonicalUrl": "https://clawhub.ai/dagangtj/ai-customer-service",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ai-customer-service",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-customer-service",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "config.json",
      "example-faq.txt",
      "kb-builder.js",
      "test-kb.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "ai-customer-service",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-24T06:07:48.949Z",
      "expiresAt": "2026-05-01T06:07:48.949Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-customer-service",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-customer-service",
        "contentDisposition": "attachment; filename=\"ai-customer-service-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ai-customer-service"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ai-customer-service"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ai-customer-service",
    "downloadUrl": "https://openagent3.xyz/downloads/ai-customer-service",
    "agentUrl": "https://openagent3.xyz/skills/ai-customer-service/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-customer-service/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-customer-service/agent.md"
  }
}
```
## Documentation

### 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)

### 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": "抱歉，我没有找到相关答案。请联系人工客服。"
}

### 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, 客服, 知识库
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: dagangtj
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-24T06:07:48.949Z
- Expires at: 2026-05-01T06:07:48.949Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ai-customer-service)
- [Send to Agent page](https://openagent3.xyz/skills/ai-customer-service/agent)
- [JSON manifest](https://openagent3.xyz/skills/ai-customer-service/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ai-customer-service/agent.md)
- [Download page](https://openagent3.xyz/downloads/ai-customer-service)