agentleFS
superuser-palsuperuser-pal/awesome-second-brain/.claude/skills/qmd/SKILL.md

qmd

Skill14 starsChanged 7 months agoMITView on GitHub

Search the vault using QMD semantic search. Use PROACTIVELY before reading files directly — whenever the user asks about past decisions, incidents, people, meetings, architecture, patterns, or any vault content. Always prefer QMD over Grep/Glob for vault queries. Also use after creating/editing notes to check for duplicates and related content.

25 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use agent-browser, vercel-react-best-practices and 1 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.
  • VercelSkill

    agent-browser

    Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

    Also in 4 projects that use this

  • VercelSkill

    vercel-react-best-practices

    React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

    Also in 3 projects that use this

  • GoogleSkill

    grill-me

    A relentless interview to sharpen a plan or design.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before reading vault files directly, search with QMD first.

    line 8
  2. Very specific:

    Before creating a new note → qmd vsearch "<topic>" to check for existing content

    line 38
  3. Very specific:

    After creating a note → qmd vsearch "<note title>" to find notes that should link to it

    line 39
  4. Very specific:

    Run qmd update && qmd embed to keep the index fresh.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 23 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 — Vault Semantic Search

Before reading vault files directly, search with QMD first. It returns relevant snippets without burning context on full file reads.

Workflow Routing

WorkflowTriggerFile
askWhen user runs /ask or asks a complex question needing direct answers../commands/qmd/ask.md
searchWhen user runs /search or asks for a list of results../commands/qmd/search.md
contextWhen user runs /context or asks for all context on a topic../commands/qmd/context.md
reindexWhen user runs /reindex or needs to refresh the QMD index manually../commands/qmd/reindex.md

Commands

Search (pick one per query)

  • qmd query "..." --json -n 10 — Best quality. Hybrid BM25 + vector + LLM reranking. Use for complex or conceptual queries.
  • qmd search "..." --json -n 10 — Fast BM25 keyword. Use for exact terms, names, ticket numbers, dates.
  • qmd vsearch "..." --json -n 5 — Semantic only. Use for exploratory queries where you don't know the exact words.

Retrieve

  • qmd get "path/to/file.md" — Full document by path.
  • qmd get "#docid" — Full document by ID (from search results).
  • qmd multi-get "work/06_ORG/PEOPLE.md" --json — Batch retrieve people context.

Index Management

  • qmd update — Re-index after file changes (fast, ~1-2s incremental).
  • qmd embed — Regenerate vector embeddings (slower, run after bulk changes).

When to Search

  • User mentions a past decision, incident, person, project → qmd query
  • User asks "what did we decide about X" → qmd query
  • User mentions a person by name → qmd search "<name>"
  • Before creating a new note → qmd vsearch "<topic>" to check for existing content
  • After creating a note → qmd vsearch "<note title>" to find notes that should link to it
  • Loading context for review prep → qmd get "work/05_REVIEW/EVIDENCE.md"
  • Loading 1-on-1 context → qmd search "<person name> 1-1"

After Bulk Changes

Run qmd update && qmd embed to keep the index fresh. The SessionStart hook does qmd update automatically, but qmd embed should be run explicitly after sessions that create many notes.

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.