bo-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 entries, search FAQs, or answer common questions from a knowledge base. Perfect for Fieshu business bots.

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 "bo-faq-bot" with this command: npx skills add imbing/bo-faq-bot

Feishu FAQ Bot

Build a searchable knowledge base from markdown files. Match incoming questions to the best FAQ answer using fuzzy text matching.

Quick Start

# Initialize a new FAQ knowledge base
python scripts/faqbot.py init

# Add a FAQ entry interactively
python scripts/faqbot.py add -q "What are your business hours?" -a "We are open Monday to Friday, 9 AM to 6 PM CET."

# Import FAQs from a markdown file
python scripts/faqbot.py import faq-source.md

# Search for the best matching answer
python scripts/faqbot.py search "when are you open"

# List all FAQ entries
python scripts/faqbot.py list

# Export all FAQs to markdown
python scripts/faqbot.py export --format md -o faqs-export.md

# Export as JSON
python scripts/faqbot.py export --format json -o faqs.json

# Remove a FAQ entry by ID
python scripts/faqbot.py remove 3

# Get stats about the knowledge base
python scripts/faqbot.py stats

Commands

CommandArgsDescription
initCreate a new empty knowledge base
add-q QUESTION -a ANSWER [-t TAGS]Add a single FAQ entry
import<file.md>Import FAQs from markdown (H2 = question, body = answer)
search<query> [--top N] [--threshold T]Find best matching answer(s)
list[--tag TAG]List all FAQ entries
remove<id>Remove a FAQ entry
export[--format md|json] [-o FILE]Export knowledge base
statsShow knowledge base statistics

Markdown Import Format

## What are your business hours?
We are open Monday to Friday, 9 AM to 6 PM CET.
Weekend support is available via email only.

## How do I reset my password?
Go to Settings > Account > Reset Password.
You will receive an email with a reset link.

## What payment methods do you accept?
We accept:
- Credit/debit cards (Visa, Mastercard)
- PayPal
- Bank transfer (EU only)

Each H2 heading becomes a question, the body below becomes the answer.

Search Scoring

  • Uses TF-IDF-like fuzzy matching on question text
  • Returns confidence score (0.0 to 1.0)
  • Default threshold: 0.3 (adjustable with --threshold)
  • Returns top 3 matches by default (adjustable with --top)

Integration with OpenClaw

This skill is designed to work as a Feishu FAQ bot. When a user asks a question, the agent can use the search command to find the best match and respond automatically. Configure it in your cron or agent system prompt.

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

Deep Research (Surf)

Conducts deep, multi-angle research using Surf MCP tools and parallel subagents. Use for deep research, competitive landscape analysis, strategic intelligenc...

Registry SourceRecently Updated
Research

Commonpaper

Common Paper integration. Manage data, records, and automate workflows. Use when the user wants to interact with Common Paper data.

Registry SourceRecently Updated
1110Profile unavailable
Research

Stock Entry Analyzer

多指标股票入场分析工具。基于乖离率 (BIAS) 为核心,结合均线/MACD/RSI/成交量/资金流/估值等 7 大类指标,综合判断股票或基金是否适合买入。使用 stock-price-query、stock-market-pro、eastmoney-tools 获取数据,输出检查清单和综合评分。当用户询问"XX...

Registry SourceRecently Updated
1610Profile unavailable
Research

Agent Travel

Research unresolved agent problems during heartbeat, scheduled, task-end, failure-recovery, or idle windows; search official docs plus community sources; and...

Registry SourceRecently Updated
1900Profile unavailable