kb-guide

kb-guide is a skill for Claude Code, Codex from 0xranx/golembot. It costs 66 tokens per session (542 once invoked), scanned A, original, MIT.

A connection to a knowledge base, which is a collection of documentation, notes, or wiki pages. It lets the coding agent search, read, create, and update entries when knowledge-base tools are available.

In plain words
What is it for?
Finding existing documentation, checking whether a topic is covered, reading knowledge-base entries, and creating or updating articles and notes.
Why use it?
It avoids answering from memory when project documentation may already contain the answer. It also helps keep documentation in one place and up to date.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/0xranx/golembot/kb-guide
Any agent
npx skills add 0xranx/golembot --skill kb-guide
Clone the repo
git clone --depth 1 https://github.com/0xranx/golembot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kb-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xranx/golembot/kb-guide.svg)](https://agentmods.dev/skills/0xranx/golembot/kb-guide)
Your own site
<a href="https://agentmods.dev/skills/0xranx/golembot/kb-guide"><img src="https://agentmods.dev/badge/skills/0xranx/golembot/kb-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 542 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.00542
Opus 5 $0.00033 $0.00271
Sonnet 5 $0.00013 $0.00108
Haiku 4.5 $0.00007 $0.00054

Measured 6d ago against content hash 8d55557312e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

kb-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/kb-guide/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 59 lines · 66 tokens per session scan A 8d55557312e3

Subscribe to this mod's changes

kb-guide is a skill published in the GitHub repository 0xranx/golembot (320 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 542 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.