knowdb-local-search

Search Markdown chunks in a db/ directory using Bash and grep.

26|3|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/kirisame-wang/knowdb --skill knowdb-local-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowdb-local-search
Source: https://github.com/kirisame-wang/knowdb/tree/main
Command: npx skills add https://github.com/kirisame-wang/knowdb --skill knowdb-local-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a straightforward, CLI-driven way to locate and retrieve relevant knowledge-base chunks from a db/ knowledge store using Bash and grep.

Core Features & Use Cases

  • Browse the document map via db/_manifest.json and _index.md to understand the heading structure.
  • Search across documents with grep-based keywords and retrieve breadcrumb context.
  • Preview matching chunks and navigate to parents, siblings, and related chunks to explore content.

Quick Start

Ask a question and let the shell navigate the db/ knowledge base to fetch the most relevant chunk.

Frequently Asked Questions about knowdb-local-search

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

FAQPage Schema
How do I search a local knowledge base using bash and grep?

You can search a local knowledge base using bash and grep by running shell scripts that locate and extract relevant Markdown chunks stored under the db/ directory, retrieving breadcrumb context for matching documents.

What is the best way to navigate Markdown chunks in a CLI knowledge store?

The best way to navigate Markdown chunks in a CLI knowledge store is to browse the document map via _manifest.json and _index.md, then preview matching chunks and navigate to parent, sibling, and related chunks within the local filesystem.

Can I retrieve cross-document knowledge offline without a database server?

Yes, you can retrieve cross-document knowledge offline without a database server by using CLI-driven retrieval over structured Markdown knowledge bases stored locally in the filesystem.

How do I preview and enrich search results with breadcrumb context in a shell environment?

You preview and enrich search results with breadcrumb context in a shell environment by using grep-based keyword searches across documents, which return chunk-level previews and heading structure context from the local db/ store.

Does grep work for structured document discovery in a local filesystem knowledge base?

Yes, grep works for structured document discovery in a local filesystem knowledge base by matching keywords across Markdown files, enabling developers and analysts to perform offline, CLI-driven cross-document search.

When should I not use a shell-based approach for knowledge-base retrieval?

You should not use a shell-based approach for knowledge-base retrieval when you need complex semantic queries beyond keyword matching, or when your knowledge base is not structured as Markdown chunks stored in a local filesystem.