bheemreddy181

qmd Local Search

知識管理v1.0.0
作者:bheemreddy181更新於 2026-05-11qmd-local-search@clawhub_bheemreddy181/qmd-local-search
知識庫問答資料整理資訊檢索#Documentation#Docs

據 AlphaMoat 統計,截至 2026-09,qmd Local Search 累計下載 3,805 次、獲 2 個星標,在全部 5,078 個 AI 技能中排名第 2,767 位,在「知識管理」分類(442 個)中排名第 255 位。

累計安裝
199
累計下載
3805
星標
2
全站排名
#2,767
全站前 55% · 「知識管理」前 58%
平台累計安裝累計下載星標評論
ClawHub ↗11935022-
SkillHub ↗19938052—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文說明可使用關鍵詞、語義檢索和重排序查詢檔案、程式碼與索引內容,並強調面向本地執行。

資料釋出於 2026-10-27

可以用來做什麼

  • 查詢本地筆記、文件或程式碼片段

什麼時候用

  • 需要從已索引的 Markdown 內容中定位相關材料時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

在本地筆記中查詢有關 API 錯誤處理的內容

月度資料趨勢

累計下載3805
2534321738992026-03 · 累計下載 26282026-05 · 累計下載 30652026-06 · 累計下載 31772026-07 · 累計下載 34062026-08 · 累計下載 35212026-09 · 累計下載 380526-0326-09
星標2
1232026-03 · 星標 22026-05 · 星標 22026-06 · 星標 22026-07 · 星標 22026-08 · 星標 22026-09 · 星標 226-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093805—2
2026-083521+3.4%2
2026-073406+7.2%2
2026-063177+3.7%2
2026-053065—2
2026-032628—2

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.1 KB · ClawHub v1.0.0
---
name: qmd
description: Fast local search for markdown files, notes, and docs using qmd CLI. Use instead of `find` for file discovery. Combines BM25 full-text search, vector semantic search, and LLM reranking—all running locally. Use when searching for files, finding code, locating documentation, or discovering content in indexed collections.
---

# qmd — Fast Local Markdown Search

## When to Use

- **Finding files** — use instead of `find` across large directories (avoids hangs)
展開全部(共 83 行)
- **Searching notes/docs** — semantic or keyword search in indexed collections
- **Code discovery** — find implementations, configs, or patterns
- **Context gathering** — pull relevant snippets before answering questions

## Quick Reference

### Search (most common)

```bash
# Keyword search (BM25)
qmd search "alpaca API" -c projects

# Semantic search (understands meaning)
qmd vsearch "how to implement stop loss"

# Combined search with reranking (best quality)
qmd query "trading rules for breakouts"

# File paths only (fast discovery)
qmd search "config" --files -c kell

# Full document content
qmd search "pattern detection" --full --line-numbers
```

### Collections

```bash
# List collections
qmd collection list

# Add new collection
qmd collection add /path/to/folder --name myproject --mask "*.md,*.py"

# Re-index after changes
qmd update
```

### Get Files

```bash
# Get full file
qmd get myproject/README.md

# Get specific lines
qmd get myproject/config.py:50 -l 30

# Get multiple files by glob
qmd multi-get "*.yaml" -l 50 --max-bytes 10240
```

### Output Formats

- `--files` — paths + scores (for file discovery)
- `--json` — structured with snippets
- `--md` — markdown formatted
- `-n 10` — limit results

## Tips

1. **Always use collections** (`-c name`) to scope searches
2. **Run `qmd update`** after adding new files
3. **Use `qmd embed`** to enable vector search (one-time, takes a few minutes)
4. **Prefer `qmd search --files`** over `find` for large directories

## Models (auto-downloaded)

- Embedding: embeddinggemma-300M
- Reranking: qwen3-reranker-0.6b
- Generation: Qwen3-0.6B

All run locally — no API keys needed.

「知識管理」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。