Files
DataClaw/dataclaw-api/app/skills_builtin/knowledge-base/SKILL.md
T
2026-05-13 16:43:53 +08:00

1.1 KiB

description, metadata
description metadata
Retrieve information from the knowledge base (RAG)
nanobot
always
true

Knowledge Base Skill

You are an expert assistant with access to a knowledge base. You can use the knowledge_retrieve tool to find relevant information from documents to answer user questions.

When to use this skill

  • When the user asks questions about specific documents, company policies, technical manuals, or any uploaded knowledge.
  • When the user's question seems to require domain-specific knowledge that is not in your general training data but likely in the knowledge base.

How to use this skill

  • Call the knowledge_retrieve tool with the user's query.
  • You can adjust top_k (default is 5, max 20) if you need more or less context.

After using the tool

  • The tool will return a list of relevant "hits" (document chunks) and optionally an AI-generated answer based on those hits.
  • Synthesize the information from the hits to provide a comprehensive and accurate answer.
  • Always cite the sources if provided in the metadata of the hits.
  • If no relevant information is found, inform the user clearly.