Swipe: mq
Why CEREBRO kept it
Context/prompt optimization for long files.
The text below is an automated extraction of the article at https://swipe.md/tools/mq, stored verbatim in the public cerebro-vault repository. Copyright remains with the original publisher (swipe.md).
jq for Markdown mq gives Markdown a query language similar to jq. It can select a named section, filter headings, extract links or code blocks, and work with MDX components without making an AI model read the whole document first. The most useful agent workflow is simple: extract the smallest complete section that contains the rules or evidence for the current task, inspect it, then put that result into the prompt. This reduces context without replacing the source with an AI-written summary. On Swipeâs real AGENTS.md, the command for selecting the âIssue flowâ section reduced 7,165 bytes to 60
Backlinks
Appeared in 1 briefing