markdown-knowledge-base-search
Search markdown knowledge bases efficiently using qmd. Use this when searching Obsidian vaults or markdown collections to find relevant content with minimal…
от rondoflow★ 37 звёзд на GitHub
Установить markdown-knowledge-base-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
QMD Search Skill
Search markdown knowledge bases efficiently using qmd, a local indexing tool that uses BM25 + vector embeddings to return only relevant snippets instead of full files.
Why Use This
- 96% token reduction - Returns relevant snippets instead of reading entire files
- Instant results - Pre-indexed content means fast searches
- Local & private - All indexing and search happens locally
- Hybrid search - BM25 for keyword matching, vector search for semantic similarity
Commands
Search (BM25 keyword matching)
qmd search "your query" --collection <name>
Fast, accurate keyword-based search. Best for specific terms or phrases.
Vector Search (semantic)
qmd vsearch "your query" --collection <name>
Semantic similarity search. Best for conceptual queries where exact words may vary.
Hybrid Search (both + reranking)
qmd hybrid "your query" --collection <name>
Combines both approaches with LLM reranking. Most thorough but often overkill.
How to Use
Check if collection exists:
qmd collection listSearch the collection:
# For specific terms qmd search "api authentication" --collection notes # For conceptual queries qmd vsearch "how to handle errors gracefully" --collection notesRead results: qmd returns relevant snippets with file paths and context
Setup (if qmd not installed)
# Install qmd
bun install -g https://github.com/tobi/qmd
# Add a collection (e.g., Obsidian vault)
qmd collection add ~/path/to/vault --name notes
# Generate embeddings for vector search
qmd embed --collection notes
Invocation Examples
/qmd api authentication # BM25 search for "api authentication"
/qmd how to handle errors --semantic # Vector search for conceptual query
/qmd --setup # Guide through initial setup
Best Practices
- Use BM25 search (
qmd search) for specific terms, names, or technical keywords - Use vector search (
qmd vsearch) when looking for concepts where wording may vary - Avoid hybrid search unless you need maximum recall - it's slower
- Re-run
qmd embedafter adding significant new content to keep vectors current
Handling Arguments
$ARGUMENTScontains the full search query- If
--semanticflag is present, useqmd vsearchinstead ofqmd search - If
--setupflag is present, guide user through installation and collection setup - If
--collection <name>is specified, use that collection; otherwise default to checking available collections
Workflow
- Parse arguments from
$ARGUMENTS - Check if qmd is installed (
which qmd) - If not installed, offer to guide setup
- If searching:
- List collections if none specified
- Run appropriate search command
- Present results to user with file paths
- If user wants to read a specific result, use the Read tool on the file path
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл markdown-knowledge-base-search?
Search markdown knowledge bases efficiently using qmd. Use this when searching Obsidian vaults or markdown collections to find relevant content with minimal token usage.
Как установить скилл markdown-knowledge-base-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл markdown-knowledge-base-search запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…