agentleFS
0xranx0xranx/golembot/skills/kb-guide/SKILL.md

kb-guide

Skill326 starsChanged 9 months agoMITView on GitHub

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.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 8
  2. Distinctive:

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

    line 31
  3. Distinctive:

    Before answering domain questions: Search the KB first -- it may contain authoritative answers

    line 42
  4. Distinctive:

    When the user asks "do we have docs on...": Search the KB and return results

    line 43
  5. Distinctive:

    For onboarding/FAQ questions: Check if there's an existing KB article

    line 45
  6. Distinctive:

    Call the appropriate MCP tool by name

    line 50
  7. Distinctive:

    If a tool is not available, inform the user that no KB server is configured

    line 51
  8. Distinctive:

    Always prefer searching the KB before generating answers from your own training data

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.