kb-search

kb-search is a skill for Claude Code, Codex from eli-labz/Cognitive-Core-Skills. It costs 20 tokens per session (174 once invoked), scanned A, original, MIT.

A skill for listing, searching, and reading documents in a local knowledge base.

In plain words
What is it for?
It is for answering questions about tables and other content kept in local Markdown files.
Why use it?
It helps find relevant information in stored documents without browsing them one by one.

Skill for Claude CodeCodex

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

Good fit It is for answering questions about tables and other content kept in local Markdown files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eli-labz/cognitive-core-skills/kb-search
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.

Any agent
npx skills add eli-labz/Cognitive-Core-Skills --skill kb-search
Clone the repo
git clone --depth 1 https://github.com/eli-labz/Cognitive-Core-Skills

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-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/eli-labz/cognitive-core-skills/kb-search/github.svg)](https://agentmods.dev/skills/eli-labz/cognitive-core-skills/kb-search)
Your own site
<a href="https://agentmods.dev/skills/eli-labz/cognitive-core-skills/kb-search"><img src="https://agentmods.dev/badge/skills/eli-labz/cognitive-core-skills/kb-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kb-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/eli-labz/cognitive-core-skills/kb-search"><img src="https://agentmods.dev/badge/skills/eli-labz/cognitive-core-skills/kb-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 174 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00020 $0.00174
Opus 5 $0.00010 $0.00087
Sonnet 5 $0.00004 $0.00035
Haiku 4.5 $0.00002 $0.00017

Measured 12d ago against content hash 007430fe4f73, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

kb-search 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 12d 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.

third-party/knowledge-catalog-main/samples/enrichment/sample/config/skills/kb-search/SKILL.md · 21 lines

What it actually says

The fileskb mcp server provides the following tools to extract relevant information from a directory hierarchy of markdown files:

  • list_contents - browse and navigate the directory tree to list the contents of the specified path. The items may be files or sub-directories.

  • read_file - read the contents of a file in the knowledge base. The entire contents are provided. Extract and summarise the relevant information based on the documentation being generated..

  • search_content - searches the knowledge base and returns the matching files, along with matching line numbers and line snippets. This can be used to quickly find matches without having to list and read all files.

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. 12d ago First seen · 21 lines · 20 tokens per session scan A 007430fe4f73

Subscribe to this mod's changes

kb-search is a skill published in the GitHub repository eli-labz/Cognitive-Core-Skills (165 stars, last pushed 2mo ago), licensed MIT. It adds 20 tokens to every session and 174 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

h5i

Browse or automate web pages, perform authorized web security testing on captured HTTP traffic, or run untrusted development work inside disposable confined boxes with auditable evidence and reviewed export.

h5i-dev/h5i · 38 tokens

memory-audit

An entry point for reviewing and maintaining an AI agent's stored memories. It describes how to remove repetition, preserve useful reasoning, and update memories when old conclusions no longer fit.

Dataojitori/nocturne_memory · 31 tokens

memory-audit-belief-duel

A guided review process for conflicting beliefs or memories. It examines cases where two conclusions cannot both be true, including conflicts between a general rule and a more specific memory.

Dataojitori/nocturne_memory · 38 tokens

memory-audit-discoverability

A review guide for checking whether stored memories can be found at the right time. It focuses on where memories are attached, when they are triggered, whether aliases are missing, and whether a parent has too many children.

Dataojitori/nocturne_memory · 35 tokens

memory-audit-pattern-extraction

A method for investigating repeated mistakes by comparing related memories and checking whether an earlier reminder failed. It looks at where the reminder was stored, when it was created, and whether it was strong enough to prevent the mistake.

Dataojitori/nocturne_memory · 48 tokens

memory-audit-node-decomposition

A method for splitting an oversized knowledge note into smaller notes, each focused on one independent idea. It also explains how to keep useful core information in the original note.

Dataojitori/nocturne_memory · 34 tokens