agentleFS
iagocavalcanteiagocavalcante/claude-turbo-search/skills/qmd/SKILL.md

qmd

Skill15 starsChanged 9 months agoMITView on GitHub

Local hybrid search for markdown notes and docs. Use BEFORE reading files to save tokens - search first, read only what's relevant. Provides 90% token savings on exploration tasks.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use defuddle, obsidian-bases and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • joeseesunSkill

    defuddle

    Extract clean article content from web pages or local HTML files. Removes clutter (ads, sidebars, nav) and returns readable content with metadata.

    Also in 5 projects that use this

  • KKodiacSkill

    obsidian-bases

    Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

    Also in 5 projects that use this

  • jykimSkill

    obsidian-cli

    Interact with Obsidian using the official CLI to read, search, create, and manage notes, daily notes, tasks, properties, and more. Use when the user wants to query or manipulate vault content via the obsidian command.

    Also in 5 projects that use this

  • KKodiacSkill

    json-canvas

    Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.

    Also in 4 projects that use this

  • ZanderRussSkill

    obsidian-markdown

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Token savings: Instead of reading 5 files (5000+ tokens), search first (50 tokens) and read only the relevant sections (200 tokens).

    line 18
  2. Distinctive:

    Search before reading: Always try qmd search first

    line 80
  3. Very specific:

    Check collections: Use qmd status to see indexed collections

    line 83

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

qmd - Quick Markdown Search

Local search engine for Markdown notes, docs, and knowledge bases. Use this to find relevant files BEFORE reading them to dramatically reduce token usage.

When to Use (IMPORTANT)

ALWAYS prefer qmd search over reading files directly when:

  • Exploring a codebase or documentation
  • Looking for specific functionality or concepts
  • Finding related files to a topic
  • Answering questions about the codebase

Token savings: Instead of reading 5 files (5000+ tokens), search first (50 tokens) and read only the relevant sections (200 tokens).

Search Priority (follow this order)

  1. qmd search "query" - Fast BM25 keyword search. Use this first, it's instant.
  2. qmd vsearch "query" - Semantic similarity. Use only if keyword search fails.
  3. qmd query "query" - Hybrid + reranking. Avoid unless user explicitly requests highest quality.

Common Commands

# Fast keyword search (DEFAULT - use this first)
qmd search "authentication" -n 10

# Search specific collection
qmd search "api routes" -c my-project

# Get file paths only (for deciding what to read)
qmd search "database schema" --files

# JSON output for parsing
qmd search "error handling" --json

# Semantic search (slower, use as fallback)
qmd vsearch "how does the login flow work"

Retrieve Documents

# Get specific file
qmd get "path/to/file.md"

# Get by document ID from search results
qmd get "#docid"

# Get multiple files
qmd multi-get "docs/*.md" --json

Workflow Example

Bad (token expensive):

1. Read src/auth/login.ts (800 tokens)
2. Read src/auth/session.ts (600 tokens)
3. Read src/auth/middleware.ts (500 tokens)
4. Read src/auth/types.ts (400 tokens)
→ Found answer in middleware.ts
Total: 2300 tokens

Good (token efficient):

1. qmd search "authentication middleware" --files (response: 50 tokens)
   → Returns: src/auth/middleware.ts:45-62
2. Read only the relevant section (150 tokens)
Total: 200 tokens (90% savings!)

Tips for Claude

  • Search before reading: Always try qmd search first
  • Use --files flag: Get paths without content to decide what to read
  • Be specific: More specific queries = better results
  • Check collections: Use qmd status to see indexed collections
  • Combine with cartographer: CODEBASE_MAP.md gives structure, qmd gives content

Maintenance

qmd status          # Check index health and collections
qmd update          # Re-index changed files (fast)
qmd embed           # Update vector embeddings (slower)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.