AGENT SKILL

qmd

Search personal markdown knowledge bases, notes, meeting transcripts, and documentation using QMD - a local hybrid search engine. Combines BM25 keyword search, vector semantic search, and LLM re-ranking. Use when users ask to search notes, find documents, look up information in their knowledge base, retrieve meeting notes, or search documentation. Triggers on "search markdown files", "search my notes", "find in docs", "look up", "what did I write about", "meeting notes about".

License 许可
MIT
最近更新
2026-10-20
Stars
★ 0
Forks
0

01 前言 Front Matter

name
qmd
license
MIT
metadata
{ "author": "tobi", "version": "1.1.1" }
description
Search personal markdown knowledge bases, notes, meeting transcripts, and documentation using QMD - a local hybrid search engine. Combines BM25 keyword search, vector semantic search, and LLM re-ranking. Use when users ask to search notes, find documents, look up information in their knowledge base, retrieve meeting notes, or search documentation. Triggers on "search markdown files", "search my notes", "find in docs", "look up", "what did I write about", "meeting notes about".
allowed-tools
Bash(qmd:*), mcp__qmd__*
compatibility
Requires qmd CLI or MCP server. Install via `bun install -g https://github.com/tobi/qmd`.

02 资源文件 1

03 SKILL.md 正文

QMD - Quick Markdown Search

QMD is a local, on-device search engine for markdown content. It indexes your notes, meeting transcripts, documentation, and knowledge bases for fast retrieval.

QMD Status

!qmd status 2>/dev/null || echo "Not installed. Run: bun install -g https://github.com/tobi/qmd"

When to Use This Skill

  • User asks to search their notes, documents, or knowledge base
  • User needs to find information in their markdown files
  • User wants to retrieve specific documents or search across collections
  • User asks "what did I write about X" or "find my notes on Y"
  • User needs semantic search (conceptual similarity) not just keyword matching
  • User mentions meeting notes, transcripts, or documentation lookup
  • Search or load other skills: When skills directories (e.g. ~/.cursor/skills/, ~/.agents/skills/) are indexed as a qmd collection, use qmd query or qmd vsearch to find skills by topic and qmd get to read SKILL.md content. Works with the skill-loader and load-skills command.

Search Commands

Choose the right search mode for the task:

Command Use When Speed
qmd search Exact keyword matches needed Fast
qmd vsearch Keywords aren't working, need conceptual matches Medium
qmd query Best results needed, speed not critical Slower
# Fast keyword search (BM25)
qmd search "your query"

# Semantic vector search (finds conceptually similar content)
qmd vsearch "your query"

# Hybrid search with re-ranking (best quality)
qmd query "your query"

Common Options

-n <num>                 # Number of results (default: 5)
-c, --collection <name>  # Restrict to specific collection
--all                    # Return all matches
--min-score <num>        # Minimum score threshold (0.0-1.0)
--full                   # Show full document content
--json                   # JSON output for processing
--files                  # List files with scores
--line-numbers           # Add line numbers to output

Document Retrieval

# Get document by path
qmd get "collection/path/to/doc.md"

# Get document by docid (shown in search results as #abc123)
qmd get "#abc123"

# Get with line numbers for code review
qmd get "docs/api.md" --line-numbers

# Get multiple documents by glob pattern
qmd multi-get "docs/*.md"

# Get multiple documents by list
qmd multi-get "doc1.md, doc2.md, #abc123"

Index Management

# Check index status and available collections
qmd status

# List all collections
qmd collection list

# List files in a collection
qmd ls <collection-name>

# Update index (re-scan files for changes)
qmd update

Score Interpretation

Score Meaning Action
0.8 - 1.0 Highly relevant Show to user
0.5 - 0.8 Moderately relevant Include if few results
0.2 - 0.5 Somewhat relevant Only if user wants more
0.0 - 0.2 Low relevance Usually skip

Recommended Workflow

  1. Check what's available: qmd status
  2. Start with keyword search: qmd search "topic" -n 10
  3. Try semantic if needed: qmd vsearch "describe the concept"
  4. Use hybrid for best results: qmd query "question" --min-score 0.4
  5. Retrieve full documents: qmd get "#docid" --full

Example: Finding Meeting Notes

# Search for meetings about a topic
qmd search "quarterly review" -c meetings -n 5

# Get semantic matches
qmd vsearch "performance discussion" -c meetings

# Retrieve the full meeting notes
qmd get "#abc123" --full

Example: Research Across All Notes

# Hybrid search for best results
qmd query "authentication implementation" --min-score 0.3 --json

# Get all relevant files for deeper analysis
qmd query "auth flow" --all --files --min-score 0.4

MCP Server Integration

This plugin configures the qmd MCP server automatically. When available, prefer MCP tools over Bash for tighter integration:

MCP Tool Equivalent CLI Purpose
qmd_search qmd search Fast BM25 keyword search
qmd_vsearch qmd vsearch Semantic vector search
qmd_query qmd query Hybrid search with reranking
qmd_get qmd get Retrieve document by path or docid
qmd_multi_get qmd multi-get Retrieve multiple documents
qmd_status qmd status Index health and collection info

For manual MCP setup without the plugin, see references/mcp-setup.md.

04 同仓库更多 Skills

irfanfaraaz
irfanfaraaz/claude-kit

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 0
irfanfaraaz
irfanfaraaz/claude-kit

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

★ 0
irfanfaraaz
irfanfaraaz/claude-kit

video-use

Edit any video by conversation. Transcribe, cut, color grade, generate overlay animations, burn subtitles — for talking heads, montages, tutorials, travel, interviews. No presets, no menus. Ask questions, confirm the plan, execute, iterate, persist. Production-correctness rules are hard; everything else is artistic freedom.

★ 0
irfanfaraaz
irfanfaraaz/claude-kit

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

★ 0
irfanfaraaz
irfanfaraaz/claude-kit

threejs

Build 3D web apps with Three.js (WebGL/WebGPU). Use for 3D scenes, animations, custom shaders, PBR materials, VR/XR experiences, games, data visualizations, product configurators.

★ 0
irfanfaraaz
irfanfaraaz/claude-kit

threads-carousel

Convert text posts into visual carousel images or presentations for Threads, Instagram, LinkedIn, TikTok, YouTube. 12 slide types (incl. image/emoji/number), 6 format presets (incl. 1920×1080 wide), 8 background styles (incl. ruled paper), 3-axis style system (font × color × purpose), highlighted keywords with optional italic-box style. Generates PNG or single-file PDF via Next.js preview + browser export. RU/EN toolbar. Triggers: threads carousel, instagram carousel, linkedin carousel, tiktok carousel, карусель, slides, carousel images, presentation deck, presentation pdf.

★ 0