Skill Detail
Query and rewrite Markdown structure with mdq
Use mdq when an agent needs to target headings, lists, links, or other Markdown structure without falling back to brittle regex edits.
Data Extraction & TransformationMulti-Framework
Data Extraction & Transformation
Multi-Framework
Security Reviewed
β 1.7k GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill query-and-rewrite-markdown-structure-with-mdq
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
mdq and Markdown files to inspect or rewrite.
Install & setup
Install mdq from the project release or package instructions, then run its query and rewrite commands against Markdown files during docs cleanup, migration, or audit work.
Author
yshavit
Publisher
Individual
Last updated
Apr 15, 2026
Quick brief
mdq gives an agent a precise docs-maintenance workflow: query Markdown by structure, inspect the matching nodes, and rewrite targeted sections safely. Invoke it when the actual job is structural Markdown cleanup or migration, not when you simply want a text editor or a generic Markdown parser. The boundary is strong and specific: structure-aware Markdown querying and rewriting for documentation operations, not a broad content platform listing.