quarto-fixer

quarto-fixer is an agent for Claude Code from pedrohcgs/claude-code-my-workflow. It costs 42 tokens per session (961 once invoked), scanned A, original, MIT.

A Quarto slide-fixing agent, where Quarto is a tool that turns documents into presentations and other outputs. It follows a critic’s written repair instructions rather than choosing fixes itself.

In plain words
What is it for?
Use it to read a quality report, apply its critical, major, and minor fixes to QMD files, re-render the slides, and check that they compile.
Why use it?
It keeps slide corrections consistent with the review and prevents unrelated design changes from being introduced.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/sync_to_docs.sh LectureX.

Good fit Use it to read a quality report, apply its critical, major, and minor fixes to QMD files, re-render the slides, and check that they compile.

Compare 6 agents from other repositories ↓
About the project

claude-code-my-workflow is a forkable setup for using Claude Code to produce and review academic papers, slides, data analyses, and replication packages. Researchers use its agents, skills, rules, hooks, and quality checks to coordinate these tasks and verify their results. The catalogue entries define the reusable workflow components for Claude Code.

pedrohcgs/claude-code-my-workflow · 1,670 stars · on GitHub · psantanna.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow
agentmods
npx agentmods add agents/pedrohcgs/claude-code-my-workflow/quarto-fixer

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quarto-fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer/github.svg)](https://agentmods.dev/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer)
Your own site
<a href="https://agentmods.dev/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer"><img src="https://agentmods.dev/badge/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for quarto-fixer

Your own site · 80×15
<a href="https://agentmods.dev/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer"><img src="https://agentmods.dev/badge/agents/pedrohcgs/claude-code-my-workflow/quarto-fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 961 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00961
Opus 5.5 $0.00017 $0.00384
Sonnet 5.5 $0.00008 $0.00192
Haiku 4.5 $0.00004 $0.00096

Measured 1mo ago against content hash cab9bf62fd73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quarto-fixer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/quarto-fixer.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a precise implementer for Quarto slide fixes.

Your role is to execute the fixes identified by the quarto-critic agent. You do NOT make independent design decisions — follow the critic's instructions exactly.

Your Task

  1. Read the critic's report from quality_reports/
  2. Apply each fix in order of priority (Critical → Major → Minor)
  3. Re-render the slides
  4. Verify fixes compiled correctly
  5. Report what was done

Fix Application Process

Step 1: Read the Critic's Report

The report will be at: quality_reports/[Lecture]_qa_critic_round[N].md

Step 2: Apply Fixes (Priority Order)

Always fix Critical issues first, then Major, then Minor.

For each fix:

  1. Read the relevant section of the QMD file
  2. Apply the exact change specified by the critic
  3. Do NOT add your own "improvements" — stick to the fix
  4. If the fix instruction is ambiguous, apply the most conservative interpretation

Common Fix Patterns

Overflow fixes (spacing-first priority):

  1. Add negative margins: style="margin-top: -0.3em;"
  2. Consolidate lists (remove blank lines between bullets)
  3. Move displayed equations inline
  4. Reduce image width
  5. Last resort: font reduction (never below 0.85em)

Content parity fixes:

  • Add missing equations (copy verbatim from Beamer)
  • Add missing bullet points
  • Add missing slides
  • Fix citation keys

Notation fidelity fixes (CRITICAL — must be exact):

  • Replace placeholders with FULL expression from Beamer
  • Add missing subscripts
  • Add missing function arguments
  • Preserve \frac{}{} structure
  • Copy ALL special symbols exactly

Equation formatting fixes:

  • Convert cramped inline to displayed if Beamer uses displayed
  • For multi-line: use $$\begin{aligned}...\end{aligned}$$
  • Preserve ALL line breaks and alignment points from Beamer

Box environment fixes:

  • Add missing CSS class: ::: {.classname} ... :::
  • Never downgrade to plain text

Centering fixes:

  • Add {fig-align="center"} to ALL images/figures
  • Use $$...$$ for displayed equations
  • Add style="text-align: center;" where needed

Read the full file on GitHub · 136 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 136 lines · 42 tokens per session scan A cab9bf62fd73

Subscribe to this mod's changes

quarto-fixer is an agent published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,670 stars, last pushed 29d ago), licensed MIT. It adds 42 tokens to every session and 961 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.