Manage collections — indexed folders containing markdown files or other documents.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/tobi/qmd/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Subcommands
add
Create and index a new collection.Directory to index (use
. for current directory)Collection name (defaults to directory basename)
Glob pattern for files to index
list
List all indexed collections with stats.remove
Remove a collection and all its indexed documents.Collection name to remove
rename
Rename a collection (updates virtual paths).Current collection name
New collection name
show
Display detailed information about a collection.Collection name
update-cmd
Set a shell command to run before indexing (e.g.,git pull).
Collection name
Shell command to run before indexing. Omit to clear the command.
include
Include collection in default queries (when no-c filter specified).
Collection name
exclude
Exclude collection from default queries. Requires explicit-c <name> to search.
Collection name
Virtual Paths
Collections use virtual path format:qmd://<collection>/<path>
Examples:
qmd://notes/readme.mdqmd://journals/2025/may.md
Related Commands
qmd update
Re-index all collections
qmd ls
List files in a collection
qmd context
Add context to collections
qmd status
View collection health