Query Context
Context Nest provides two ways to query your vault: ctx resolve for metadata lookups and ctx query for full context retrieval.
Resolve (metadata)
ctx resolve "tag:#engineering" # Documents with a tag
ctx resolve "type:document & status:published" # Combined filtersReturns a list of matching documents with their titles, types, and status.
Query (full context)
ctx query "tag:#engineering" # All docs with a tag
ctx query "type:document" # All docs of a type
ctx query "pack:engineering-essentials" # All docs in a pack
ctx query "tag:#api & status:published" # Intersection
ctx query "tag:#api + tag:#v2" # UnionReturns the full document content, source nodes in hydration order, and trace entries.
Cloud packs (coming soon)
Cloud packs will allow querying context from hosted packs without downloading source files:
ctx query @promptowl/executive-ai-strategySee Cloud Packs for the planned design.
JSON output
All query commands support --json for programmatic consumption:
ctx query "pack:engineering-essentials" --jsonSearch
Full-text search across all vault documents:
ctx search "rate limiting"Last updated on