kb

Scan, ingest, validate, and index new materials in knowledge bases.

13|1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/debug-zhuweijian/ai-research-toolkit --skill kb-debug-zhuweijian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kb
Source: https://github.com/debug-zhuweijian/ai-research-toolkit/tree/main/modules/05-knowledge/skills/knowledge-base
Command: npx skills add https://github.com/debug-zhuweijian/ai-research-toolkit --skill kb-debug-zhuweijian

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scripts, and includes scripts (resource) components.

What problem does it solve?

知识库维护负责在研究资料库中持续发现新资料、把它们入库、执行健康检查并产出统计信息,以保持知识库的完整性、可检索性和健康状态。

Core Features & Use Cases

  • 自动化扫描新资料并将其入库,确保研究资料及时可访问。
  • 执行健康检查、产出统计报告,帮助团队了解知识库的覆盖范围和质量。
  • 适用于研究笔记、文献集合和知识图谱的日常维护,支持批量更新、索引生成与 Wiki 同步。

Quick Start

请对知识库执行首次同步,先扫描新资料、再完成入库并生成索引。

Frequently Asked Questions about kb

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate scanning and ingesting new research materials into a knowledge base?

Automating knowledge-base maintenance involves running scheduled scans to detect new research materials, ingesting them into the repository, and generating indexes. This ensures documents remain accessible and up-to-date without manual file transfers.

What is a knowledge-base health check and how does it validate document collections?

A knowledge-base health check validates the integrity and coverage of your document collections by scanning for errors and producing statistical reports. It helps identify missing indexes, broken references, or uningested files within the repository.

How do I set up the environment to run knowledge-base indexing and linting scripts?

Running knowledge-base indexing and linting requires defining a script execution path (KB_SCRIPTS_PATH) and ensuring script dependencies are installed. The environment uses structured commands like scan, apply, lint, and index to manage repository operations.

Can I use this knowledge-base maintenance tool for research notes and knowledge graphs?

Yes, knowledge-base maintenance supports research libraries, document collections, and knowledge graphs. It handles regular scans, ingestion, validation, and indexing, making it suitable for maintaining research notes and graph structures.

What is the best way to perform a first-time sync on a newly created research library?

The best way to perform a first-time sync on a research library is to execute a scan for new materials, followed by the apply command to ingest them, and finally generate the index. This establishes the baseline repository structure.

Why is my knowledge-base ingestion not picking up newly added files?

Knowledge-base ingestion may fail to pick up files if the scan command does not cover the target directory, or if frontmatter-driven discovery requirements are not met. Run a health check to validate coverage and ensure files have the correct metadata.