Agent Skills0xranx/golembot › kb-guide

kb-guide

GitHub

通过 MCP 工具搜索、读取、创建和更新知识库条目。在回答领域问题前优先查询知识库,支持文档检索与内容管理,确保答案基于权威知识源。

skills/kb-guide/SKILL.md 0xranx/golembot

Trigger Scenarios

用户询问是否有相关文档 需要查找现有文章 检查某主题是否存在文档 创建新的知识库条目 更新现有文档 回答领域问题时优先从知识库获取信息

Install

npx skills add 0xranx/golembot --skill kb-guide -g -y
More Options

Use without installing

npx skills use 0xranx/golembot@kb-guide

指定 Agent (Claude Code)

npx skills add 0xranx/golembot --skill kb-guide -a claude-code -g -y

安装 repo 全部 skill

npx skills add 0xranx/golembot --all -g -y

预览 repo 内 skill

npx skills add 0xranx/golembot --list

SKILL.md

Frontmatter
{
    "name": "kb-guide",
    "description": "Search, read, create, and update knowledge base entries via MCP-connected KB tools. Use when the user asks to look up documentation, find existing articles, check if docs exist on a topic, create a new KB entry, update an existing document, or when domain questions should be answered from the knowledge base first."
}

Knowledge Base Integration Guide

When MCP knowledge base servers are configured, you can use their tools to search, read, create, and update knowledge entries.

Common MCP Knowledge Base Tools

MCP KB servers typically expose tools with these patterns:

Search / Query

  • search_documents(query, limit?) -- full-text search across the knowledge base
  • search_notes(query) -- search personal notes or wiki entries
  • query_knowledge(query, filters?) -- filtered search with metadata constraints

Read

  • get_document(id) -- retrieve a document by ID
  • read_page(path) -- read a wiki page by path
  • list_documents(folder?, tag?) -- list documents in a folder or by tag

Create / Update

  • create_document(title, content, metadata?) -- create a new entry
  • update_document(id, content) -- update an existing document
  • create_note(title, body) -- create a quick note

Example Tool Call

When a user asks "do we have docs on deployment?", search the KB first:

Tool: search_documents
Arguments: { "query": "deployment", "limit": 5 }

Present matching results with titles and snippets. If no results are found, offer to create a new entry.

When to Use Knowledge Base

  • Before answering domain questions: Search the KB first -- it may contain authoritative answers
  • When the user asks "do we have docs on...": Search the KB and return results
  • After resolving an issue: Suggest creating a KB entry to capture the solution
  • For onboarding/FAQ questions: Check if there's an existing KB article

Usage Pattern

  1. Identify the user's intent (search, read, write)
  2. Call the appropriate MCP tool by name
  3. If a tool is not available, inform the user that no KB server is configured
  4. Present results clearly -- include titles, snippets, and links when available

Notes

  • MCP server configuration is defined in golem.yaml under the mcp key
  • Available MCP tools depend on which servers are configured -- use tool discovery to check
  • Always prefer searching the KB before generating answers from your own training data

Version History

  • 04635ad Current 2026-07-25 08:59

Same Skill Collection

examples/multi-bot-group/bot-a/skills/researcher/SKILL.md
examples/multi-bot-group/bot-b/skills/coder/SKILL.md
skills/escalation/SKILL.md
skills/general/SKILL.md
skills/im-adapter/SKILL.md
skills/message-push/SKILL.md
skills/multi-bot/SKILL.md
skills/task-manager/SKILL.md
templates/code-reviewer/skills/code-review/SKILL.md
templates/customer-support/skills/faq-support/SKILL.md
templates/data-analyst/skills/data-analysis/SKILL.md
templates/meeting-notes/skills/meeting/SKILL.md
templates/ops-assistant/skills/ops/SKILL.md
templates/research/skills/research/SKILL.md

Metadata

Files
0
Version
ce48b37
Hash
8d555573
Indexed
2026-07-25 08:59

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 07:37
浙ICP备14020137号-1 $mapa de visitantes$