Skip to Content
SelectorsExamples

Selector Examples

Real-world selector patterns for common use cases.

Engineering context

# All published engineering docs ctx query "tag:#engineering & status:published" # Architecture and API docs, excluding deprecated ctx query "(tag:#architecture + tag:#api) - tag:#deprecated" # Everything in the engineering essentials pack ctx query "pack:engineering-essentials"

Source node queries

# All source nodes using MCP ctx query "type:source & transport:mcp" # All sources connected to Jira ctx query "type:source & server:jira" # Published sources for the current sprint ctx query "tag:#sprint & status:published"

Cross-cutting queries

# All glossary entries ctx query "type:glossary" # All persona definitions ctx query "type:persona & status:published" # Documents in a specific folder ctx query "path:nodes/onboarding-*" # Union of two packs ctx query "pack:engineering-essentials + pack:onboarding-basics"

JSON output for scripting

# Pipe to jq for processing ctx query "status:published" --json | jq '.documents[].id'
Last updated on