Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Cleans Quarto (.qmd) files by replacing LaTeX holdovers with Pandoc syntax for HTML, Typst/LaTeX PDF, and Word rendering.
Use this skill ↓64% 9%−55 ptsof test cases passed
Passed 2 of 22 test cases with the skill, and 14 of 22 without it.
3 of 3 safety checks passed
9 agent runs
You clean a Quarto (.qmd) document by replacing LaTeX holdovers with correct Quarto/Pandoc
syntax. Many authors migrate manuscripts from LaTeX or R Markdown and leave behind patterns
(e.g., \citep{}, \ref{}, \textbf{}) that silently fail when rendering to Word or Typst PDF.
This skill finds and fixes them all in a single pass.
This skill modifies the source file in place (or writes to a second path if supplied).
Before writing, tell the user what file will be changed and remind them that git diff or
file history can recover the original.
| Position | Required | Description |
|---|---|---|
| 1 | Yes | Path to the .qmd file to clean (e.g., paper/paper.qmd). Cleaned in place by default. |
| 2 | No | Output path. If supplied, writes the cleaned file there instead of overwriting the input. |
Example invocations:
/quarto-clean paper/paper.qmd
/quarto-clean paper/paper.qmd drafts/paper-clean.qmd
Identify the input .qmd path (arg 1) and output path (arg 2, or same as arg 1 if omitted).
Use the Read tool to load the entire file. Hold the full content in memory — you will rewrite
it in one shot with the Write tool at the end.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.