build-kb

build-kb is a skill for Claude Code from Datus-ai/Datus-agent. It costs 158 tokens per session (5,987 once invoked), scanned A, original, no licence file.

A workflow for building a vector-indexed knowledge base from files and database metadata. It can limit the scan to selected files, tables, data sources, or domains, then organize the material by business domain.

In plain words
What is it for?
Use it to scan in-scope files and database metadata, classify business domains, and explore related tables and documentation.
Why use it?
It provides a repeatable way to turn project documents and database information into searchable reference material.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to scan in-scope files and database metadata, classify business domains, and explore related tables and documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/datus-ai/datus-agent/build-kb
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 Datus-ai/Datus-agent --skill build-kb
Clone the repo
git clone --depth 1 https://github.com/Datus-ai/Datus-agent

Made for: Claude Code.

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 build-kb

README.md
[![agentmods](https://agentmods.dev/badge/skills/datus-ai/datus-agent/build-kb/github.svg)](https://agentmods.dev/skills/datus-ai/datus-agent/build-kb)
Your own site
<a href="https://agentmods.dev/skills/datus-ai/datus-agent/build-kb"><img src="https://agentmods.dev/badge/skills/datus-ai/datus-agent/build-kb/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 build-kb

Your own site · 80×15
<a href="https://agentmods.dev/skills/datus-ai/datus-agent/build-kb"><img src="https://agentmods.dev/badge/skills/datus-ai/datus-agent/build-kb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,987 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 183
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 34
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin unknown 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.00158 $0.05987
Opus 5 $0.00079 $0.02993
Sonnet 5 $0.00032 $0.01197
Haiku 4.5 $0.00016 $0.00599

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

Security

Grade A, and why

build-kb 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 10d 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.

datus/resources/skills/build-kb/SKILL.md · 184 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 10d ago First seen · 184 lines · 158 tokens per session scan A 10bc020479e3

Subscribe to this mod's changes

build-kb is a skill published in the GitHub repository Datus-ai/Datus-agent (1,737 stars, last pushed today), with no licence file. It adds 158 tokens to every session and 5,987 once invoked, about $0.0008 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

wegent-knowledge

Knowledge base management and search tools for Wegent. Provides capabilities to list, create, update, and search knowledge bases and documents using RAG retrieval. Use this skill when the user wants to manage knowledge bases, documents, or search for information programmatically.

wecode-ai/Wegent · 51 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

qi-cli

Guide for using qi, a local knowledge search CLI for macOS and Linux. Use this skill when the user wants to index documents into a searchable knowledge base, search or retrieve from one, configure qi's collections or embedding providers (Ollama, OpenAI-compatible), choose between its search modes (BM25, hybrid…

itsmostafa/qi · 88 tokens

retrieval-workflow

Retrieve ranked evidence bundles from the published DocMason knowledge base.

JetXu-LLM/DocMason · 18 tokens

ingest

Populate the gnosis-mcp knowledge base — from local files, git history, or a crawled website. Handles the full matrix of flags (--force, --prune, --wipe, --embed, --include-crawled) in one place.

nicholasglazer/gnosis-mcp · 54 tokens

setup

First-time setup wizard for Gnosis MCP. Install, init the database, ingest a docs folder, wire your editor — in that order.

nicholasglazer/gnosis-mcp · 30 tokens